Skip to content

final-demos/Kafka-springboot-demo

Repository files navigation

1. Download Kafka from https://drive.google.com/file/d/1cf1ijv981Xx5_I8XvVvRPznGi-gwsyP_/view?usp=sharing
2. unzip it under C:/kafka-demo
finish the steps
To start zookeeper

zookeeper-server-start.bat *path to your zookeeper.properties file* 
To start kafka server 
kafka-server-start.bat path to your server.properties file* 

To create kafka topic
kafka-topics.bat --create --topic spring-kafka --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

To consume kafka message 
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic spring-kafka

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages