kafka delete topic,marked for deletion

kafka 删除topic 提示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

并没有真正删除,如果要真正删除

配置delete.topic.enable=true

配置文件在kafka\config目录

[root@logSer config]# vi server.properties 
delete.topic.enable=true
"server.properties" 122L, 5585C written


相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页