Skip to content

taarh/sring-boot-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot avec Kafka Producer

Démarrage de Zookeeper

  • zookeeper-server-start.bat config/zookeeper.properties

Démarrage de Kafka Server

  • kafka-server-start.bat config/server.properties

Création de Kafka Topic

  • bin/kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic Kafka_Example

Consommation des données depuis le Kafka Topic via le Console

  • bin/kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic Kafka_Example --from-beginning

Publier le message via WebService

  • http://localhost:8081/kafka/publish/Sam
  • http://localhost:8081/kafka/publish/Peter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages