A spring boot project that demonstrate Kafka Setup with distributed tracing and test container support.
See the full explanation at http://www.dreaminghk.com
- How I Built a Real-Time Event System with Spring Boot and Spring Kafka (and You Can Too!)
- Start a Spring boot project without setting configurations until next Spring!
This is a Spring Boot project that include all the above component. All the API endpoint, kafka producer and consumer are in the same file.
run TestRestaurantApplication.java # It works! and it will start the app with a kafka and zipkin using test-container. You will need docker installed and in running state.
run RestaurantApplication.java and the configuration are in application.properties
There are example API requests in test.http. You can open it with vscode RestClient plugin.