-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recreating connections on transient failures (#7090)
* Adding EventHubConnectionProcessor. * Add tests for fetching new connection. * Add tests to ensure on error conditions. * Remove circuar dependency on EventHubConnection from EventHubConnectionProcessor * Update AmqpConnection interface to create send and receive links. * Fixing errors in ConnectionProcessor and update ReactorAmqpConnection to keep track of send links. * Removing EventHubConnection. * Update clients to use ConnectionProcessor. * Fixing EHubClientBuilder to repeat the mono, so we have a potentially infinite stream of connections. * Add test to verify that on non-transient errors, the connection is not revived. * Delay retrying EventHubConnection creation on a transient error. * Consolidate request from upstream for new connection. * Not requesting new connection unless needed.
- Loading branch information
Showing
19 changed files
with
1,237 additions
and
659 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
139 changes: 0 additions & 139 deletions
139
...e-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConnection.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.