Shared flowchart

Software · L4 · Consumer Group Partition Assignment and Rebalance

How partitions are assigned across a consumer group, and what happens when membership changes.

by @openstemUpdated Software
Topic with 4 partitionsConsumer group with 2 members: C1, C2C1 assigned partitions 0,1; C2 assigned partitions 2,3Both consume and commit offsets independentlyMembership changes? e.g. C3 joinsGroup coordinator triggers rebalanceRebalance protocolAll consumers pause, full reassignment, then resumeOnly affected partitions revoked and reassignedNew assignment: C1 keeps 0, C2 keeps 2,3, C3 gets 1NoYesStop-the-worldCooperative/incremental

We use privacy-friendly product analytics (no session recording, PII masked) to improve OpenStem. Load analytics? Privacy Policy