Bird
0
0

In a Kafka cluster with 4 brokers and a topic having 8 partitions, what is the effect of doubling partitions to 16 without adding brokers?

medium📝 Predict Output Q4 of 15
Kafka - Kubernetes and Cloud Deployment
In a Kafka cluster with 4 brokers and a topic having 8 partitions, what is the effect of doubling partitions to 16 without adding brokers?
AKafka automatically adds brokers to balance partitions
BPartitions will be unevenly distributed, increasing load on some brokers
CPartitions remain 8 because doubling is not allowed
DAll brokers will have equal load without any impact
Step-by-Step Solution
Solution:
  1. Step 1: Understand partition distribution

    Partitions are distributed across brokers, but increasing partitions without adding brokers means more partitions per broker.
  2. Step 2: Impact on load

    Some brokers may get more partitions than others, causing uneven load and potential bottlenecks.
  3. Final Answer:

    Partitions will be unevenly distributed, increasing load on some brokers -> Option B
  4. Quick Check:

    More partitions without brokers cause uneven load [OK]
Quick Trick: More partitions without brokers increase uneven load [OK]
Common Mistakes:
MISTAKES
  • Assuming Kafka adds brokers automatically
  • Believing partitions cannot be increased
  • Thinking load remains equal without broker changes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes