Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kadm: fix occasionally empty topic/partitions in Lag #571

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

twmb
Copy link
Owner

@twmb twmb commented Sep 21, 2023

If listing end offsets errored, then the lag would have no topic/partition. We now add Topic and Partition to the Lag itself so that we can always ensure we set these fields to be non-empty (and this makes it easier to reason about what field to use if you use groupLags.Sorted()).

If listing end offsets errored, then the lag would have no
topic/partition. We now add Topic and Partition to the Lag itself so
that we can always ensure we set these fields to be non-empty (and this
makes it easier to reason about what field to use if you use
groupLags.Sorted()).
@twmb twmb merged commit 036f599 into master Sep 21, 2023
6 checks passed
@twmb twmb deleted the kadm-lag branch September 21, 2023 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant