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

前端 未结 11 1011
天命终不由人
天命终不由人 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:33

    We had this issue when deleting topics. The topics had been created when delete.topic.enable=true had not been set. We set that in config, restarted kafka to apply the new config. Deleted the topics and saw the "marked for deletion". We then restarted kafka again. After 40 minutes though all topics had been deleted (9 topics with total partitions in the thousands). The topics with higher numbers of partitions seemed to take longer, which initially made it look like nothing was happening.

提交回复
热议问题