Skip to content

feat(consumer): support cooperative rebalancing - #3696

Open
dnwe wants to merge 1 commit into
mainfrom
dnwe/coop
Open

feat(consumer): support cooperative rebalancing#3696
dnwe wants to merge 1 commit into
mainfrom
dnwe/coop

Conversation

@dnwe

@dnwe dnwe commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Sarama can now take part in incremental cooperative rebalances as described in KIP-429. Instead of stopping every partition claim when membership changes, it stops only the claims the broker has revoked and continues consuming from the rest while it rejoins the group.

The consumer group session stays alive throughout that process. Offset commits and partition watches remain tied to the active generation.

KIP-429: https://cwiki.apache.org/confluence/display/KAFKA/KIP-429%3A%2BKafka%2BConsumer%2BIncremental%2BRebalance%2BProtocol

Fixes #1858

Sarama can now take part in incremental cooperative rebalances as described in KIP-429. Instead of stopping every partition claim when membership changes, it stops only the claims the broker has revoked and continues consuming from the rest while it rejoins the group.

The consumer group session stays alive throughout that process. Offset commits and partition watches remain tied to the active generation.

KIP-429: https://cwiki.apache.org/confluence/display/KAFKA/KIP-429%3A%2BKafka%2BConsumer%2BIncremental%2BRebalance%2BProtocol

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for KIP-429: Kafka Consumer Incremental Rebalance Protocol

1 participant