View all questions & answers for the CCDAK exam
What is a consequence of increasing the number of partitions in an existing Kafka topic?
Existing data will be redistributed across the new number of partitions temporarily increasing cluster load.
Records with the same key could be located in different partitions.
Consumers will need to process data from more partitions which will significantly increase consumer lag.
The acknowledgment process will increase latency for producers using acks=all.
Increasing partitions increasesparallelism, but also means:
Consumers in a group may have to handlemore partitions, especially if the number of consumers is lower than the number of partitions.
This can result inincreased lag, especially under high load.
FromKafka Topic Management Docs:
“Increasing the number of partitions increases consumer work, and if consumers can’t keep up, lag can accumulate.”
A is false:existing data is not redistributed.
B is false:records with the same key always map to the same partitionbased on hash.
D is not directly impacted by the partition count.
Submit