I am trying to create topics in Kafka by following the guide on Apache Kafka website through command line. While running the command:
bin/kafka-topics.sh --c
The same scenario I faced after deleting the only topic I had created.
The way to solve it was put Kafka and Zookeeper down, updated Kafka settings (server.properties file) where I add the following setting
delete.topic.enable=true
saved file, turn Zookeeper and Kafka up and everything run as usual.