🎙 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 2 of 10

Why give all events of one order the same key?

Why give all events of one order the same key?

  1. A.Keys encrypt the message
  2. B.Events with the same key go to the same partition, so they stay in order
  3. C.Kafka rejects events without keys
  4. D.It makes the topic smaller
Answer & explanation

Correct answer: Events with the same key go to the same partition, so they stay in order

Ordering is guaranteed only within a partition.

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 →