Exam CCDAK Topic 3 Question 15 Discussion

Actual exam question for Confluent's CCDAK exam
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

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
iamkpr
2024-07-26 09:10:51
Selected Answer: B
B. Any of the topic partitions

This 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.
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10