Bird
0
0

If you increase the partition count of an existing Kafka topic, what is a likely effect?

easy📝 Conceptual Q2 of 15
Kafka - Performance Tuning
If you increase the partition count of an existing Kafka topic, what is a likely effect?
AMessages will be evenly redistributed across all partitions automatically
BNew partitions will be added but existing messages remain in original partitions
CAll consumers must be restarted to read from new partitions
DThe topic will be deleted and recreated with new partition count
Step-by-Step Solution
Solution:
  1. Step 1: Understand partition increase behavior

    Kafka adds new partitions but does not move existing messages.
  2. Step 2: Effect on existing data and consumers

    Existing messages stay in old partitions; new messages can go to new partitions.
  3. Final Answer:

    New partitions will be added but existing messages remain in original partitions -> Option B
  4. Quick Check:

    Partition increase = Add partitions only [OK]
Quick Trick: Increasing partitions adds new ones, old data stays put [OK]
Common Mistakes:
  • Assuming messages redistribute automatically
  • Believing consumers must restart
  • Thinking topic is recreated

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes