nerdexam
Confluent

CCAAK · Question #78

You are managing a Kafka cluster and notice that a producer is encountering a 'NotEnoughReplicas' exception. What is the reason for the 'NotEnoughReplicas' exception?

The correct answer is A. The topic has insufficient in-sync replicas to satisfy the producer's acknowledgment requirements. The exception occurs when the number of in-sync replicas available for a partition is lower than the producer's required acknowledgment level. The producer cannot receive the required confirmations, so Kafka returns this error.

Troubleshooting

Question

You are managing a Kafka cluster and notice that a producer is encountering a 'NotEnoughReplicas' exception. What is the reason for the 'NotEnoughReplicas' exception?

Options

  • AThe topic has insufficient in-sync replicas to satisfy the producer's acknowledgment requirements.
  • BThe topic contains partitions that are currently under-replicated.
  • CThe topic's observer replicas are not properly synchronized.
  • DThe topic's log retention period is configured too low.

How the community answered

(20 responses)
  • A
    70% (14)
  • B
    10% (2)
  • C
    15% (3)
  • D
    5% (1)

Explanation

The exception occurs when the number of in-sync replicas available for a partition is lower than the producer's required acknowledgment level. The producer cannot receive the required confirmations, so Kafka returns this error.

Topics

#NotEnoughReplicas#ISR#producer acks#replication

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice