-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpk: avoid listing offsets for no topics, fix group seek
For rpk group seek, if we seeked in a group that had no topics, we would list *all* topics (as is the api for list) and then commit a group to the beginning of *all* topics. We now only seek if there are topics to seek, otherwise we print the standard output that no offset was changed. We also fix this potential seek problem in rpk group describe, but realistically all groups have topics assigned.
- Loading branch information
Showing
3 changed files
with
30 additions
and
26 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