You are receiving orders from different customer in an "orders" topic with multiple partitions. Each message has the customer name as the key. There is a special customer named ABC that generates a lot of orders and you would like to reserve a partition exclusively for ABC. The rest of the message should be distributed among other partitions. How can this be achieved?
Suggested Answer: B
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
A Custom Partitioner allows you to easily customise how the partition number gets computed from a source message.
13 comments · newest first
CO
Corrina
11 months ago
Adding metadata won't solve the problem, B is the best choice.
DO
Domingo
12 months ago
C is misleading, we can reserve a partition for ABC.
DI
Dick
12 months ago
Wait, can we really reserve a partition like that?
NO
Novella
12 months ago
Definitely agree with that!
KA
Kayleigh
1 year ago
I think a custom partitioner is the way to go!
CH
Chi
1 year ago
I think we practiced a similar question where we had to manage partitions based on keys. Creating a custom partitioner sounds familiar, so I lean towards B as well.
AI
Aileen
1 year ago
I'm not entirely sure, but I feel like option C is saying that we can't really reserve a partition for ABC. That seems a bit limiting, though.
MA
Maurine
1 year ago
I remember we talked about custom partitioners in class. I think option B might be the right choice since it allows us to control how messages are distributed.
LA
Laurel
1 year ago
I vaguely recall something about metadata and producers, but I don't think that would help us reserve a partition. So, I guess that rules out option A for me.
ME
Melissia
1 year ago
Hmm, this looks like a tricky one. I'll need to carefully examine the table structure and the SQL statements to determine how the view and table changes might impact the final code block.
VA
Van
1 year ago
Okay, I've got this. The key is to identify the common characteristics of poorly functioning teams and then find the one that doesn't fit.
JA
Javier
1 year ago
Multi-Account Onboarding sounds familiar, but I don't see how that fits here. It seems like this problem is more about restricting access specifically.
CA
Carman
1 year ago
I think the key here is the concept of control versus significant influence. OP is a subsidiary since LM owns 55%, but QR and ST are more complicated.