Exam CCDAK Topic 3 Question 15 Discussion
Actual exam question for Confluent's CCDAK exam
Question #: 15
Topic #: 3
Question #: 15
Topic #: 3
A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?
Suggested Answer: A Vote an answer
Message with no keys will be stored with round-robin strategy among partitions.
by iamkpr at Jul 26, 2024, 09:10 AM
0
0
0
10
Comments
iamkpr
2024-07-26 09:10:51This means that the records with a null key can end up in any of the six partitions, depending on the round-robin distribution at the time the messages are sent. This behavior ensures a balanced load across all partitions when keys are not specified.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).