forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Event Hubs Client] Track Two: Second Preview (Retry/Timeout)
General - Ran formatting over the project, which now impacts the track one code, since it is embedded an no longer an external reference. - Fixed parallel scope for unit tests, allowing the fixture and tests to be recognized as parallelizable. - Increased timeout for some tests dealing with larger payloads to counter the difference between nightly test runs and local test runs with respect to stability. - Misc formatting and minor cleanup. Retries - Removed the exposed retry policies in favor of a set of retry options for use with client options. These were based on the shape of the similar options found in Azure.Core in order to keep the API familiar. - A new abstract EventHubsRetryPolicy class has been created to serve as the contract for custom retry policy implementations. - An internal default retry policy based on the new retry options has been created to handle the non-custom needs. - A wrapper shim for retry policies was created to allow the track two retry policies to be used directly with the track one code, rather than being mapped to the RetryExponential class. - An option for fixed retry has been added to accompany the exponential retry that was in place previously. Timeouts - Operation timeouts have been moved from the associated client options and incorporated into the retry options and retry policies.
- Loading branch information
Showing
73 changed files
with
2,946 additions
and
949 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.