When/how does a topic “marked for deletion” get finally removed?

前端 未结 11 1016
天命终不由人
天命终不由人 2020-12-24 00:09

I have issued the command to delete a topic:

./bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic  vip_ips_alerts

It seemed to

11条回答
  •  春和景丽
    2020-12-24 00:39

    In my case where i am using Kafka 8.2.2, I had to delete entries from the following manually -

    1. Delete topic folder from Kafka broker machine.
    2. Login to zookeeper and -

      hbase zkcli
      rmr /brokers/topics/{topic_name}
      rmr /admin/delete_topics/{topic_name}
      

提交回复
热议问题