NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
Middle1 view

What limitations apply to a Consumer Group in Kafka?

Practice

Asked at

AI answer

The main limitation is that, within a single consumer group, a partition is read by no more than one active consumer at a time. Therefore, the number of consumers reading partitions concurrently cannot exceed the number of partitions in the subscribed topics; any additional consumers will remain idle. A single consumer can read multiple partitions.

Also:

  • message ordering is guaranteed only within a single partition, not across partitions;
  • changes to the group membership or the number of partitions can trigger a rebalance and a temporary pause in processing;
  • the same record can be read independently by different groups, but within a group it is distributed among consumers.

When subscribing to multiple topics, the distribution depends on the overall set of partitions and the selected assignor.