Medium-EasyUnderstandMessage QueuesMultiple Choice

In Kafka, what determines which partition a message is sent to when using a key?

Understand Tests comprehension and ability to explain concepts.

Answer Options

ARandom assignment
BHash of the key modulo number of partitions
CLeast-loaded partition
DRound-robin across partitions

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more Message Queues questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Message Queues topic (System Design).

More Message Queues Questions