When attempting to delete a topic using the kafka-topics.sh script, I can see that the topics in the log.dir are marked for deletion, but not all partitions belonging to the topic have been marked.
Eventually, the partitions marked for deletion are in fact deleted, but the others remain and the topic remains in the topic list.
I have set delete.topic开发者_如何学Python.enable to true.
Is there a process to manually delete the topic when running in KRaft mode? I thought I could:
- Stop kafka
- Manually delete the folders from log.dir
- Restart kafka
However, I am wondering if I need to fire up kafka-metadata-shell.sh and run a rmr or rm command in there.
Any help or advice appreciated. Thanks.
精彩评论