Running course of Kafka in Windows Environment

Start ZooKeeper, run CMD and type
zkserver

E:\kafka\kafka_2.12-2.3.0
en run
.\> \ Windows \kafka-server-start.bat.\config\server.properties

CMD
: \kafka\kafka_2.12-2.3.0
<>> kafka-t>s. Bat –create –zookeeper localhost:2181 –replication-factor 1 –partitions 1-topic test
Producer
run CMD, enter kafka bin\ Windows folder
: \kafka\kafka_2.12-2.3.0\bin\ Windows
t>run
kafka-c>le-producer.bat — broke-list localhost:9092 –topic test

E:\kafka\kafka_2.12-2.3.0\bin\ Windows
en run
k>-console-consumer.bat –bootstrap-server localhost:9092 –topic test –from — beginning

Read More: