- 启停
./zookeeper-server-start.sh ../config/zookeeper.properties
./kafka-server-start.sh ../config/server.properties
- 查询所有topic
kafka-topics --list --zookeeper 10.168.4.76:2182
- 查看对应topic的描述信息
kafka-topics --describe --zookeeper 10.168.4.76:2182 --topic topic_gong
- 删除指定topic
kafka-topics --delete --zookeeper 10.168.4.76:2182 --topic topic_gong