nerdexam
Confluent

CCDAK · Question #204

An application is consuming messages from Kafka. The application logs show that partitions are frequently being reassigned within the consumer group. Which two factors may be contributing to this?

The correct answer is A. There is a slow consumer processing application. D. An instance of the application is crashing and being restarted. A slow consumer can cause the consumer group coordinator to consider it dead, triggering partition reassignment. Frequent crashes and restarts of application instances can also cause partitions to be frequently

Developing Kafka Consumers

Question

An application is consuming messages from Kafka. The application logs show that partitions are frequently being reassigned within the consumer group. Which two factors may be contributing to this?

Options

  • AThere is a slow consumer processing application.
  • BThe number of partitions does not match the number of application instances.
  • CThere is a storage issue on the broker.
  • DAn instance of the application is crashing and being restarted.

How the community answered

(58 responses)
  • A
    55% (32)
  • B
    26% (15)
  • C
    19% (11)

Explanation

A slow consumer can cause the consumer group coordinator to consider it dead, triggering partition reassignment. Frequent crashes and restarts of application instances can also cause partitions to be frequently

Topics

#consumer rebalance#partition reassignment#slow consumer#consumer failure

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice