-
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.
New event to handle Metadata update (#332)
With this PR #328 the client can handle multi-producers and consumers per connection. This PR removes MetadataHandler and introduces OnMetadataUpdate event. The event can handle multiple Metadata updates coming from the server. Metadata update is raised when a stream is deleted, or a replica is removed. The server automatically removes the producers and consumers linked to the connection, here we need to remove these entities from the internal pool to be consistent. - Refactor RawConsumer and RawProducer. Remove duplication code. Move the common code to the AbstractEntity Class --------- Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
- Loading branch information
1 parent
4cefb84
commit d5cdce4
Showing
14 changed files
with
463 additions
and
242 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
Oops, something went wrong.