Reputation: 4352
I have setup Kafka cluster with 3 nodes. now their hard disk is full, and Kafka and Zookeeper are down.
What is the best solution to re-start Kafka and Zookeeper?
Can I delete the directory for Kafka logs (log.dirs
directory) and start Kafka again?
I using confluent version 4.0.0
Upvotes: 2
Views: 1502
Reputation: 2901
If you delete log.dirs you will loose all your data, which I guess should be your last option. If you are using amazon EC2 you better try to add more disk, and after starting the brokers play with the retention policy or with replication factor or remove topics. Take a look on: https://kafka.apache.org/documentation/#basic_ops_add_topic
Upvotes: 1
Reputation: 4352
I solved this problem with this method and I hope useful for you:
step 1 :
step 2 :
step 3 :
step 4 :
step 5 :
step 6 :
Upvotes: 0