What is the unit of parallelism for a Kafka topic?
- A.The partition
- B.The consumer group — the groups run in parallel with each other
- C.The topic — each topic is handled by its own consumer
- D.The broker — adding brokers increases the parallelism
Answer: A
Partition. Within a consumer group, each partition is read by only one consumer. So a topic with 6 partitions supports at most 6 working consumers; the 7th consumer sits idle.
References