Bird
0
0

What does a Kafka partitioner do?partitioner decides:

easy📝 Conceptual Q11 of 15
Kafka - Producers

What does a Kafka partitioner do?

partitioner decides:

AWhich partition a message is sent to
BHow to compress messages
CThe message format
DThe topic name
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of a partitioner

    A partitioner decides the partition inside a Kafka topic where a message will be stored.
  2. Step 2: Match the function to the options

    Only Which partition a message is sent to correctly describes this role.
  3. Final Answer:

    Which partition a message is sent to -> Option A
  4. Quick Check:

    Partitioner = decides message partition [OK]
Quick Trick: Partitioner chooses partition for messages [OK]
Common Mistakes:
  • Confusing partitioner with compression
  • Thinking partitioner sets topic name
  • Assuming partitioner changes message format

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes