🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Kafka: all 10 questions

Quiz: Kafka · Question 6 of 10

A consumer service was down for an hour. What happens to events published during that time?

A consumer service was down for an hour. What happens to events published during that time?

  1. A.They are lost
  2. B.Producers wait until it is back
  3. C.Kafka keeps them, and the consumer catches up from its last offset when it returns
  4. D.They go to another topic automatically
Answer & explanation

Correct answer: Kafka keeps them, and the consumer catches up from its last offset when it returns

Kafka stores events for a configured time, unlike a classic queue.

Can you get the rest right without peeking?

Take the timed Quiz: Kafka quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →