A group coordinator is the Kafka broker responsible for managing one consumer group's membership and coordination. Kafka distributes coordinator responsibility across brokers according to group ID, avoiding a single coordination bottleneck. section 9.4.1
A consumer contacts the coordinator through this sequence:
- Send FindCoordinator to any broker to discover the coordinator's host and port. section 9.4.1
- Send JoinGroup to join or rejoin and initiate synchronization; the request waits until potential members report. section 9.4.1
- Send Heartbeat signals to indicate that the consumer remains active, and use SyncGroup during group management. section 9.4.1
Figure 9.4 The Kafka Rebalance Protocol allows a group to distribute certain resources among its members, for example, consumer partitions. In this process, a broker acts as the group coordinator, and one of the consumers serves as the group leader.
Shows how the coordinator and a consumer acting as group leader participate in distributing partitions during a rebalance. section 9.4.1


