Skip to content
Sharp

Microservice Architecture · interview question

In a Kafka-based system, what is a common strategy for handling a consumer's failure to process a message?

Multiple choiceHardchapter-18-curatedpremiummicroservice-architecturemessage-brokers-kafka
Choose one answer
Answer and explanation

Correct answer

A. Implement a dead-letter queue to capture failed messages

Why

A dead-letter queue is used to capture messages that cannot be processed after a certain number of attempts, allowing for later inspection and troubleshooting without blocking the consumer.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →