-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 15df1b3 broke describe. Previously, if a group had no active members, describe would list offsets for *all* topics and partitions in the cluster. This was wasteful and would be slow on huge clusters. CalculateGroupLag would then filter for only topics that have commits, and then print only what was necessary. Describe was changed to only list offsets on groups that were consuming. Unfortunately, this broke empty groups. We now describe a union of all topics that have commits, and all topics that a group is consuming. This is the minimal amount of topics needed to satisfy the group lag calculation and does not waste extra resources. We bump kadm to take advantage of a new API to keep this code nice.
- Loading branch information
Showing
3 changed files
with
12 additions
and
13 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