All Questions
Kafka medium

You have a single Topic with 4 partitions. If you launch 6 identical consumers in the same Consumer Group, what is the resulting state of the cluster?

  1. A Kafka dynamically splits the 4 partitions into 6 smaller 'sub-shards' to utilize all consumers.
  2. B 4 consumers will each be assigned 1 partition, while the remaining 2 consumers will remain completely idle (standby).
  3. C The cluster will enter a 'Livelock' state where partitions are constantly stolen between members.
  4. D All 6 consumers will read all 4 partitions, leading to massive data duplication.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions