Skip to content

KAFKA-19608: Test consumer group rebootstrap - #23040

Open
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-19608-coordinator-rebootstrap
Open

KAFKA-19608: Test consumer group rebootstrap#23040
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-19608-coordinator-rebootstrap

Conversation

@lh0156

@lh0156 lh0156 commented Aug 2, 2026

Copy link
Copy Markdown

Summary

This PR adds regression coverage for KAFKA-19608.

The existing client rebootstrap tests cover manually assigned consumers, but they do not exercise a consumer that is an active member of a group. The new tests verify that both the classic and consumer group protocols continue consuming after the brokers swap client listener ports and the server requests a rebootstrap.

The test keeps the group-coordinator path isolated by disabling auto-commit, waits for the restarted brokers to become ready, and asserts that the subscribed consumer consumes data after rejoining.

Test plan

  • ./gradlew :clients:clients-integration-tests:test --tests org.apache.kafka.clients.ClientRebootstrapTest.testClassicConsumerGroupRebootstrap --tests org.apache.kafka.clients.ClientRebootstrapTest.testConsumerGroupRebootstrap --no-build-cache --console=plain
  • Re-ran both tests with --rerun-tasks
  • ./gradlew :clients:clients-integration-tests:spotlessCheck :clients:clients-integration-tests:checkstyleTest --no-build-cache --console=plain
  • git diff --check

Generated-by: OpenAI Codex (GPT-5)

Generated-by: OpenAI Codex (GPT-5)
@github-actions github-actions Bot added triage PRs from the community tests Test fixes (including flaky tests) clients small Small PRs labels Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clients small Small PRs tests Test fixes (including flaky tests) triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant