liveBook · Manning

Group coordinator

As explained in Apache Kafka in Action

A group coordinator is the Kafka broker responsible for managing a specific consumer group's membership, liveness, and assignments.

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.
A screenshot of a computer screen

AI-generated content may be incorrect.

Shows how the coordinator and a consumer acting as group leader participate in distributing partitions during a rebalance. section 9.4.1

How Apache Kafka in Action covers it

How deep it goes
Explains coordinator discovery, joining, heartbeats, and synchronization, but does not detail assignment algorithms.
Examples
Uses FindCoordinator, JoinGroup, Heartbeat, and SyncGroup requests plus a rebalance diagram.
What you can do after
Understand how consumers locate their coordinator and communicate during membership and rebalance operations.
How it connects
Connects consumer groups, Kafka brokers, consumer-group rebalancing, partitions, and the group leader.

Also explained in

Compare how 3 books explain group coordinator →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Apache Kafka in Action. The section links point to the parts of the book it draws on.