Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Confluent CCDAK Exam - Topic 3 Question 95 Discussion

A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?
A) Partition 5
B) Any of the topic partitions
C) The partition for the null key
D) Partition 0

Confluent CCDAK Exam - Topic 3 Question 95 Discussion

Actual exam question for Confluent's CCDAK exam
Question #: 95
Topic #: 3
[All CCDAK Questions]

A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?

Show Suggested Answer Hide Answer
Suggested Answer: A

Message with no keys will be stored with round-robin strategy among partitions.


Contribute your Thoughts:

0/2000 characters
Jeannetta
3 days ago
I agree with Emile. Null keys go to random partitions.
upvoted 0 times
...
Bev
8 days ago
I feel like it could be D. Partition 0.
upvoted 0 times
...
Emile
14 days ago
I think it's B. Any of the topic partitions.
upvoted 0 times
...
Hildred
19 days ago
Null key means random partition, right?
upvoted 0 times
...
Alva
24 days ago
I thought it would go to a specific one.
upvoted 0 times
...
Glenna
29 days ago
Wait, are you sure it’s not always Partition 0?
upvoted 0 times
...
Denny
1 month ago
Definitely B, that's how DefaultPartitioner works!
upvoted 0 times
...
Clemencia
1 month ago
Messages go to any partition.
upvoted 0 times
...
Lavina
1 month ago
I thought the DefaultPartitioner would send null keys to a specific partition, but now I'm confused about whether it's actually random or not.
upvoted 0 times
...
Lajuana
2 months ago
I practiced a similar question, and I feel like it might default to Partition 0, but I can't recall the exact reasoning behind it.
upvoted 0 times
...
Justine
2 months ago
I think when the key is null, it might just go to one of the partitions randomly, like any of the topic partitions?
upvoted 0 times
...
Clorinda
2 months ago
I remember something about how the DefaultPartitioner handles null keys, but I'm not entirely sure if it always goes to a specific partition.
upvoted 0 times
...

Save Cancel