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)- A91% (59)
- B6% (4)
- C3% (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.