标签:partition console war creat tor window code kafka host
安装详述: https://www.jianshu.com/p/596f107e901a
3.0:运行:cd 到: D:\Installed_software\Professional\kafka_2.10-0.10.0.1 而不是:D:\Installed_software\Professional\kafka_2.10-0.10.0.1\bin\windows .\bin\windows\kafka-server-start.bat .\config\server.properties \bin\windows\kafka-server-start.bat \config\server.properties 4. 创建一个topic: cd D:\Installed_software\Professional\kafka_2.10-0.10.0.1\bin\windows kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test 5. 打开一个Producer: cd D:\Installed_software\Professional\kafka_2.10-0.10.0.1\bin\windows kafka-console-producer.bat --broker-list localhost:9092 --topic test kafka-console-producer.bat --broker-list localhost:9092 --topic test 6. 打开一个Consumer: cd D:\Installed_software\Professional\kafka_2.10-0.10.0.1\bin\windows kafka-console-consumer.bat --zookeeper localhost:2181 --topic test kafka-console-consumer.bat --zookeeper localhost:2181 --topic test
标签:partition console war creat tor window code kafka host
原文地址:https://www.cnblogs.com/hahajava/p/11905934.html