Figure 4-5 Chapter 4
Adding a second consumer group
Consumer Group 1 reads topic T1 with one consumer per partition when Consumer Group 2 subscribes to the same topic. Group 2 splits the four partitions between its own two consumers, and from then on every message reaches both groups.
What to notice
See that every group gets every message in the topic, independent of the other groups, while within a group each message still goes to one consumer.
From Chapter 4: Kafka Consumers: Reading Data from Kafka in Kafka: The Definitive Guide.
Open SVG
Space pauses, R restarts, arrows move between animations