What I ended up doing, after having similar issues your having, was: - stop all the brokers - rm -rf all the topic data across the brokers - delete the topic node in ZK - set auto.create.topics.enable=false in the server.properties - start the brokers up again
The topic stayed deleted this way. In my case the topic was misconfigured so I created it again and then did a rolling restart after setting auto.create.topics.enable back to true. I'm wondering if I have a rogue service in my environment publishing to the topic in question. On Wed, Feb 3, 2016 at 12:30 PM Tech Bolek <[email protected]> wrote: > Try as I might I've found it impossible to delete a topic in kafka 0.9.0. > I set delete.topic.enable in config.properties. > I tried kafka-topics.sh with the delete command .I responds with: "topic > marked for deletetion" but after a 30 minute wait the topic was till there. > Then I stopped kafka and wiped out the kafka-logs/<the-topic>*. I logged > on to zookeepr and did "rmr /brokers/topics/<the-topic>. The zookeeper > reported the topis as gone. But when I bring kafka back up, out of nowhere > the topics pop up again. > > >
