nerdexam
Confluent

CCDAK · Question #184

Which two producer exceptions are examples of the class RetriableException? (Choose two.)

The correct answer is A. LeaderNotAvailableException D. NotEnoughReplicasException. LeaderNotAvailableException and NotEnoughReplicasException are both subclasses of RetriableException, meaning the producer can automatically retry these errors.

Developing Kafka Producers

Question

Which two producer exceptions are examples of the class RetriableException? (Choose two.)

Options

  • ALeaderNotAvailableException
  • BRecordTooLargeException
  • CAuthorizationException
  • DNotEnoughReplicasException

How the community answered

(65 responses)
  • A
    91% (59)
  • B
    6% (4)
  • C
    3% (2)

Explanation

LeaderNotAvailableException and NotEnoughReplicasException are both subclasses of RetriableException, meaning the producer can automatically retry these errors.

Topics

#RetriableException#LeaderNotAvailableException#NotEnoughReplicasException#producer error handling

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice