Skip to content
Sharp

Microservice Architecture · interview question

How does Kafka handle message delivery when a consumer is temporarily offline?

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

Correct answer

A. Messages are retained in the topic until consumed

Why

Kafka retains messages in the topic until they are consumed, or until they expire based on the retention policy. This ensures that consumers can retrieve messages even if they were offline when the messages were produced.

Test yourself on Microservice Architecture

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

Start free test
All Microservice Architecture questions →