kafka delete topic prompt marked for deletion
- [root@logSer config]# kafka-topics.sh --delete --zookeeper localhost:2181 --topic test-group
- Topic test-group is marked for deletion.
- Note: This will have no impact if delete.topic.enable is not set to true.
- [root@logSer config]# kafka-topics.sh --list --zookeeper localhost:2181
- test-group - marked for deletion
- test-topic
- test-user-001
does not really delete, if you want to really delete
配置delete.topic.enable=true
The configuration file is in the kafka\config directory
- [root@logSer config]# vi server.properties
- delete.topic.enable=true
- "server.properties" 122L, 5585C written