一:检查kafka是否成功:
创建topic,如能成功创建topic则表示集群安装完成,
也可以用jps命令查看kafka进程是否存在
bin/kafka-topics.sh \
--create \
--zookeeper 172.17.4.16:2181,172.17.4.17:2181,172.17.217.124:2181/kafka \
--replication-factor 3 \
--partitions 3 \
--topic test
bin/kafka-topics.sh \
--list \
--zookeeper 172.17.4.16:2181,172.17.4.17:2181,172.17.217.124:2181/kafka
二:topic 解析:
bin/kafka-topics.sh \
--describe \
--zookeeper 172.17.4.16:2181,172.17.4.17:2181,172.17.217.124:2181/kafka \
--topic kunming
三:删除topic
delete.topic.enable=ture
bin/kafka