Streaming · Multiple choice

A Kafka topic has 12 partitions, and a consumer group has 20 consumers. How many of them receive messages?

easy Queues

Options

Why

Within a (classic) consumer group, each partition is read by exactly one consumer, so the partition count caps a group's parallelism; the other 8 sit idle as spares. Choose the partition count with future consumers in mind. (Kafka 4.x share groups relax this rule, at the cost of per-partition ordering.)

Review this in your daily deck All cards in Streaming