./bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 5 --topic carEnter启动Kafka
./bin/kafka-server-start.sh -daemon config/server.properties查看主题列表
./bin/kafka-topics.sh --list --zookeeper localhost:2181查看某个主题
./bin/kafka-topics.sh --describe --zookeeper localhost:2181 --topic carEnter删除主题
./bin/kafka-topics --delete --topic carEnter --zookeeper localhost:2181
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)