Apache Kafka integration with spring boot | Apache Kafka Publisher & Consumer example | Java Expert

Опубликовано: 28 Август 2022
на канале: Java Expert
1,086
30

In this video, Apache Kafka installation and integration with spring boot is demonstrated practically

Apache Kafka download:
----------------------------------------
https://kafka.apache.org/downloads

Apache Kafka scripts:
------------------------------------
.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
.\bin\windows\kafka-server-start.bat .\config\server.properties
.\bin\windows\kafka-topics.bat --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic myfirsttopic
.\bin\windows\kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic myfirsttopic --from-beginning
.\bin\windows\kafka-console-producer.bat --broker-list localhost:9092 --topic myfirsttopic