What happens when a new consumer is added to a running consumer group?

Viewed 1490

Suppose a kafka topic with 3 partitions is getting consumed by a consumer group of 3 consumers. In a cloud environment if a new consumer scales up and now there are 4 consumers in that group. What happens in this situation?

  • Does Kafka create another partition so that the new consumer can access it

OR

  • Does the new consumer sit idle and does not consume anything ?
1 Answers
Related