There are two consumers C1 and C2 belonging to the same group G subscribed to topics T1 and T2. Each of the topics has 3 partitions. How will the partitions be assigned to consumers with Partition Assigner being Round Robin Assigner?
Suggested Answer: A
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The correct option is the only one where the two consumers share an equal number of partitions amongst the two topics of three partitions. An interesting article to read ishttps://medium.com/@anyili0928/what-i-have-learned-from-kafka-partition-assignment-strategy-799fdf15d3ab
14 comments · newest first
TA
Tasia
10 months ago
Wait, how does Round Robin even work here?
MA
Marta
10 months ago
B is totally wrong, they can read from multiple topics.
JU
Junita
10 months ago
I think A is correct!
LA
Lashandra
10 months ago
D doesn't make sense, that's not how partitioning works.
VE
Velda
10 months ago
C1 and C2 can read from both topics.
QU
Queen
11 months ago
I thought consumers could read from multiple topics at once, so I'm not sure about option B being correct.
BO
Bong
11 months ago
Option A seems plausible since it mentions both consumers getting different partitions, but I feel like I might be mixing up the details.
MI
Micah
11 months ago
I remember a practice question where consumers were assigned partitions in a similar way, but I can't recall the exact distribution.
FR
France
11 months ago
I think the Round Robin Assigner distributes partitions evenly, but I'm not sure how it handles multiple topics.
KI
King
12 months ago
I'm feeling confident about this one. I believe the correct answer is option A.
EL
Elina
12 months ago
I'm a bit confused on the partition assignment. I'll need to review the details of the question again.
BL
Blossom
12 months ago
Ah, I see. The key is understanding how the Round Robin Assigner works. I think I've got a strategy for this.
SH
Shawnda
1 year ago
Okay, let me try to visualize this. We have two consumers, C1 and C2, and two topics, T1 and T2, each with 3 partitions.
LE
Lenna
1 year ago
Hmm, this looks like a tricky one. I'll need to think through the partition assignment carefully.