-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor replay providers implementation
- replace old buffer implementation with a circular queue - use the same circular queue implementation for both providers - fix replay bugs in the finite provider: incorrect replaying when the circular queue was in a certain state (head > tail), superfluous client Flush call on no replayed events - refactor automatic ID implementation - use constant time event lookup for both replay providers when auto ID is used - automatic ID generation now doesn't overwrite the message ID if it exists and panics instead - use ahead of time initialization through constructors and configuration validation for both providers
- Loading branch information
Showing
8 changed files
with
329 additions
and
339 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.