Sample application with Spring Boot, Spring-kafka and Spring-web
- Creating a kafka producer and consumer
- Creating an endpoint that produces a message
cd docker/
docker-compose up -d
Run KafkaRestApplication.java
or
mvn spring-boot:run
curl -X POST -F 'message=test' http://localhost:9000/kafka/publish