Skip to content

This is a complete end to end producer / consumer microservices practice along with Email Notification

Notifications You must be signed in to change notification settings

imran-ishaq/Kafka-producer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-publisher

Apache Kafka Publisher Example using SpringBoot

Download kafka windows Go to your windows directorey where you have downloaded the kafka for me i.e E:\Software\kafka_2.13-2.6.0 then run following commands

start zookeeper.start bat file like below

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

start kafka server

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

Create Topic:

.\bin\windows\kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic practice2

Produce a message

kafka-console-producer.bat --broker-list localhost:9092 --topic practice2

Consume a message

kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic practice2

About

This is a complete end to end producer / consumer microservices practice along with Email Notification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages