开启zookeeper: .binwindowszookeeper-server-start.bat .configzookeeper.Properties 开启kafka服务: D:appkafka>.binwindowskafka-server-start.bat .configserver.properties 创建topic(sqltopic为我的topic名字) .binwindowskafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic sqltopic



