Skip to content

Conversation

@lianetm
Copy link
Member

@lianetm lianetm commented Sep 12, 2025

Clarify rebalance callbacks behaviour (got some questions for
onPartitionsAssigned, docs where indeed confusing about the partitions
received in params). Reviewed all rebalance callbacks with it.

Reviewers: Bill Bejeckbbejeck@apache.org

Copy link
Member

@bbejeck bbejeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement @lianetm LGTM with a few minor comments.

@github-actions github-actions bot removed the small Small PRs label Sep 12, 2025
@lianetm
Copy link
Member Author

lianetm commented Sep 12, 2025

Thanks for the review @bbejeck ! All comments addressed.
Also added 3 integration tests to showcase the behaviour, and added so more clarifications around it. Please take another look if you have a chance. Thanks a lot!

Copy link
Member

@bbejeck bbejeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the follow-up @lianetm - LGTM modulo fixing the tests.

@lianetm
Copy link
Member Author

lianetm commented Sep 15, 2025

Thanks @bbejeck ! Fixed the flaky test. Now the 3 new tests pass consistently locally (tried up to ~50 and all ok, used to fail under 10 iterations before the fix). Will wait for the build and trigger a few to validate on CI too.

@lianetm lianetm merged commit 9f657ab into apache:trunk Sep 16, 2025
56 checks passed
jim0987795064 pushed a commit to jim0987795064/kafka that referenced this pull request Sep 25, 2025
Clarify rebalance callbacks behaviour (got some questions for
onPartitionsAssigned, docs where indeed confusing about the partitions
received in params).   Reviewed all rebalance callbacks with it.

Reviewers: Bill Bejeck<bbejeck@apache.org>
eduwercamacaro pushed a commit to littlehorse-enterprises/kafka that referenced this pull request Nov 12, 2025
Clarify rebalance callbacks behaviour (got some questions for
onPartitionsAssigned, docs where indeed confusing about the partitions
received in params).   Reviewed all rebalance callbacks with it.

Reviewers: Bill Bejeck<bbejeck@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants