-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consuming: handle exact offset consuming better
Previously, if an exact offset was before the start offset or after the end, the client would loop on OffsetOutOfRange errors. Now, we validate the bounds and reset either to the start offset or the end offset if the exact offsetis too low or too high, respectively. We also better document this behavior.
- Loading branch information
Showing
2 changed files
with
176 additions
and
21 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