Spring Boot Server-Sent-Events ( SSE ) service with reactive Kafka producer and consumers.
Spring Boot Server-Sent-Events ( SSE ) service with reactive Kafka producer and consumers.
mvn install
bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties
bin/kafka-topics.sh --bootstrap-server localhost:9092 --create --topic thl-events
bin/kafka-topics.sh --bootstrap-server localhost:9092 --describe
mvn exec:java -Dexec.mainClass="test.Application"
Open one or several browser tabs pointing to http://localhost:8080/
Use the HTML UI to send and see how messages are received in all of them,
as messages are multicasted.