Tag Archives: Kafka delete topic error

Kafka reported error shutdown broker because all log dirs in… Have failed

When using the Kafka tool, if there is one more topic to view topics, it will be deleted. Then the problem came, and Kafka service began to report an error:

ERROR Shutdown broker because all log dirs in E:\kafka\kafka_2.11-2.4.0\log have failed (kafka.log.LogManager)

Delete the topic log in the log in the directory where the error is reported, and restart Kafka to report an error. The original deletion of Kafka’s log directory can’t solve this problem, so we have to delete zookeeper zoo.cfg The dataDir directory configured in.

 

Note: if it is important data, be sure to back up!!!