kafka删除topic
手动:
- 删除kafka存储目录(server.properties文件log.dirs配置,默认为"/tmp/kafka-logs")相关topic目录
- 删除zookeeper "/brokers/topics/"目录下相关topic节点
命令+手动:
bin/kafka-run-class.sh kafka.admin.DeleteTopicCommand --topic mrtopic --zookeeper cmcc1:2181,cmcc2:2181,cmcc3:2181
- 删除kafka存储目录(server.properties文件log.dirs配置,默认为"/tmp/kafka-logs")相关topic目录
文章来自:http://www.cnblogs.com/admln/p/kafka-delete-topic.html