I have several Kafka topics I used as tests. Now I want to get rid of them all by cleaning up my kafka topic list.
I set the variable delete.topic.enable=true
, I stopped and restarted the zookeeper and kafka servers. But nothing helped me. The topics are still there, 'marked for deletion'.
I read this question, but didn't find any answer.
Otherwise, here it is suggested to remove manually any topic. But how do I do that?
At the end of the story, manually or by command line, how do I remove Kafka topics for good?
答案 0 :(得分:4)
Solved it: it is enough to manually delete the folders which contains all the logs from Zookeeper and Kafka servers.