-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kadm: ListOffsetsAfterMill(future) should return end offsets
Previously, ListOffsetsAfterMilli(future ts) would return -1 offsets for timestamps in the future / for when partitions do not have a record after the requested timestamp. After using this for a while, IMO this is not desirable behavior: if I don't have an offset after a given time, then I want the end offset. This changes the behavior to match that.
- Loading branch information
Showing
2 changed files
with
57 additions
and
18 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