Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.13 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.13 KB

kafka-windows-installation

Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.

Download Kafka

Download the latest Kafka release and extract it: https://kafka.apache.org/downloads

cd kafka_*

Start the kafka environment

Kafka with ZooKeeper : Start all services

.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
.\bin\windows\kafka-server-start.bat .\config\server.properties

Create a topic to store your events

.\bin\windows\kafka-topics.bat --create --topic orders --bootstrap-server localhost:9092

Write events into the topic

.\bin\windows\kafka-console-producer.bat --topic orders --bootstrap-server localhost:9092
This is my first order

Read events into the topic

.\bin\windows\kafka-console-consumer.bat --topic orders --bootstrap-server localhost:9092
This is my first order