Confluent
CCDAK · Question #96
Which of the following statements are true regarding the number of partitions of a topic?
The correct answer is C. We can add partitions in a topic using the kafka-topics.sh command. We can only add partitions to an existing topic, and it must be done using the kafka-topics.sh
Kafka Client Fundamentals
Question
Which of the following statements are true regarding the number of partitions of a topic?
Options
- AThe number of partitions in a topic cannot be altered
- BWe can add partitions in a topic by adding a broker to the cluster
- CWe can add partitions in a topic using the kafka-topics.sh command
- DWe can remove partitions in a topic by removing a broker
- EWe can remove partitions in a topic using the kafka-topics.sh command
How the community answered
(63 responses)- B3% (2)
- C95% (60)
- E2% (1)
Explanation
We can only add partitions to an existing topic, and it must be done using the kafka-topics.sh
Topics
#partition count#kafka-topics.sh#topic modification#partition management
Community Discussion
No community discussion yet for this question.