How should you proceed?

An ecommerce website maintains two topics – a high volume "purchase" topic with 5 partitions and low volume "customer" topic with 3 partitions. You would like to do a stream-table join of these topics .

How should you proceed?
A . Repartition the purchase topic to have 3 partitions
B . Repartition customer topic to have 5 partitions
C . Model customer as a GlobalKTable
D . Do a KStream / KTable join after a repartition step

Answer: C

Explanation:

In case of KStream-KStream join, both need to be co-partitioned. This restriction is not applicable in case of join with GlobalKTable, which is the most efficient here.

Latest CCDAK Dumps Valid Version with 150 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments