In the classic group protocol one of the consumers computes the partition assignment, and the others wait meanwhile. Kafka 4 has a new group protocol, KIP-848: the broker computes the assignment, only the partitions that change owner move, and the other members keep reading. In Kafka 4.4 the new protocol is turned on explicitly, and franz-go has a trap here.
In this lesson
- Assignment on the broker
- Turning the new protocol on
- Common mistake
- Key points