nerdexam
Confluent

CCDAK · Question #203

You need to correctly join data from two Kafka topics. Which two scenarios will allow for the co- partitioning? (Choose two.)

The correct answer is A. Both topics have the same number of partitions. B. Both topics have the same key and partitioning strategy. Co-partitioning requires both topics to have the same number of partitions. Both topics must use the same key and partitioning strategy to ensure corresponding keys go to the same partition.

Developing with Kafka Streams

Question

You need to correctly join data from two Kafka topics. Which two scenarios will allow for the co- partitioning? (Choose two.)

Options

  • ABoth topics have the same number of partitions.
  • BBoth topics have the same key and partitioning strategy.
  • CBoth topics have the same value schema.
  • DBoth topics have the same retention time.

How the community answered

(19 responses)
  • A
    74% (14)
  • C
    16% (3)
  • D
    11% (2)

Explanation

Co-partitioning requires both topics to have the same number of partitions. Both topics must use the same key and partitioning strategy to ensure corresponding keys go to the same partition.

Topics

#co-partitioning#KStream join#partition count#partitioning strategy

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice