In Apache Kafka, what is the smallest unit of parallelism for consumption within a topic?
- A. A partition✓ Correct
- B. A broker
- C. A consumer group
- D. A message key
Explanation
A partition is the unit of parallelism: within a consumer group, each partition is consumed by exactly one consumer, so the number of partitions bounds consumer parallelism. A broker (B) hosts partitions, a consumer group (C) is a set of cooperating consumers, and a key (D) determines which partition a message goes to.