linux:
先启动zookeeper
bin/zookeeper-server-start.sh config/zookeeper.properties
再启动kafka
bin/kafka-server-start.sh config/server.properties
查看是否启动成功
jps
windows:
zookeeper-server-start.bat ../../config/zookeeper.properties
kafka-server-start.bat ../../config/server.properties