Bird
0
0

A Kafka broker runs out of disk space. What is the best immediate fix?

medium📝 Debug Q7 of 15
Kafka - Kubernetes and Cloud Deployment
A Kafka broker runs out of disk space. What is the best immediate fix?
AIncrease the number of partitions on topics
BAdd more disk space or clean up old log segments
CRestart all consumers to free resources
DReduce the replication factor of topics
Step-by-Step Solution
Solution:
  1. Step 1: Identify cause of disk space issue

    Broker disk full means logs are consuming all space.
  2. Step 2: Choose appropriate fix

    Adding disk or deleting old logs frees space immediately.
  3. Final Answer:

    Add more disk space or clean up old log segments -> Option B
  4. Quick Check:

    Disk full = add disk or clean logs [OK]
Quick Trick: Free disk space by adding storage or deleting logs [OK]
Common Mistakes:
  • Increasing partitions uses more disk, worsening issue
  • Restarting consumers does not free broker disk
  • Reducing replication factor risks data loss, not immediate fix

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes