自己搭建个zookeeper和kafka记录一下错误.
新版本的kafka,已经不需要依赖zookeeper来创建topic,新版的kafka创建topic指令为下:
./kafka-topics.sh --create --bootstrap-server localhost:9097 --replication-factor 1 --partitions 1 --topic test
老版的kafka创建topic指令为下:
标签:option,--,创建,topics,zookeeper,recognized,kafka,topic From: https://www.cnblogs.com/dch-21/p/16993648.html./kafka-topics.sh--create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test