← 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?
- A.Keys encrypt the message
- B.Events with the same key go to the same partition, so they stay in order
- C.Kafka rejects events without keys
- 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 →