Skip to content

KAFKA-20684 [1/N]: Remove test SubscriptionState subscribe overload - #23102

Merged
chia7712 merged 4 commits into
apache:trunkfrom
adikou:akousik/KAFKA-20684-subscriptionstate
Aug 11, 2026
Merged

KAFKA-20684 [1/N]: Remove test SubscriptionState subscribe overload#23102
chia7712 merged 4 commits into
apache:trunkfrom
adikou:akousik/KAFKA-20684-subscriptionstate

Conversation

@adikou

@adikou adikou commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Drops the three subscribe(..., Optional)
overloads and the listener argument at all 52 call sites, all in
clients/src/test.

Reviewers: Chia-Ping Tsai chia7712@gmail.com

…oads

Drops the three subscribe(X, Optional<ConsumerRebalanceListener>) overloads and
the listener argument at all 52 call sites, all in clients/src/test.
@github-actions github-actions Bot added triage PRs from the community consumer clients labels Aug 6, 2026
@adikou

adikou commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

cc @chia7712 , @lianetm PRs #23102 - #23109 are final cleanup PRs. I split them up by module to keep them reviewable. PTAL when you can. Hopefully we can get them by 4.4 cut (if it hasn't happened already)

assertEquals(List.of("assigned-1arg", "revoked-1arg", "revoked-1arg"), calls);
}

private static class MockRebalanceListener implements ConsumerRebalanceListener {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Interesting. This mock listener isn't actually being used :)

@chia7712 chia7712 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@chia7712
chia7712 merged commit 934a0c1 into apache:trunk Aug 11, 2026
23 checks passed
chia7712 pushed a commit that referenced this pull request Aug 11, 2026
…23102)

Drops the three subscribe(..., Optional<ConsumerRebalanceListener>)
overloads and the listener argument at all 52 call sites, all in
clients/src/test.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
@github-actions github-actions Bot removed the triage PRs from the community label Aug 11, 2026
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