-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Part of #336 * Improve the disconnection message. It is possible to understand if it is a normal disconnection or an unexpected. * Remove the Active Items from the connection pool and use the Publishers and Consumers client list directly to check the pool size * Refactor the Factory Classes. Remove code duplication in case of metadata update and connection closed. See ReliableBase.OnEntityClosed * Handle streamNotAvailable error. In this case the client will try to reconnect the entity * Fix the events attach to the RawConsumer and RawProducer. The events are attached only if the ResponseCode is OK * Detach the events once the entity receives the disconnection or metadata update. In that case, the entity is closed * Introduce ReliableEntityStatus like a state machine to understand the status of Producer and Consumer classes * Add ResourceAvailableReconnectStrategy interface to Handle the retry in case testing in a stream exists. See ReliableBase CheckIfStreamIsAvailable * Change the MetadataHandler to Func<MetaDataUpdate, Task> to be like the other methods * Producer and Consumer classes fail fast during the first initialization. The user is aware of what is happening. The reconnect part occurs only after the first boot. Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
- Loading branch information
1 parent
a7c9fd6
commit e1eaac3
Showing
29 changed files
with
901 additions
and
709 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
Oops, something went wrong.