Skip to content
Medium-Easy Understand Message Queues Multiple 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

A Random assignment
B Hash of the key modulo number of partitions
C Least-loaded partition
D Round-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