Skip to content

A spring boot project that demonstrate Kafka Setup with distributed tracing and test container support.

License

Notifications You must be signed in to change notification settings

dreaminghk/spring-boot-test-container-kafka-zipkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-test-container-kafka-zipkin

A spring boot project that demonstrate Kafka Setup with distributed tracing and test container support.

See the full explanation at http://www.dreaminghk.com

Overview

Overview of the projects

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 the project in dev mode

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 the project

run RestaurantApplication.java and the configuration are in application.properties

Example Request

There are example API requests in test.http. You can open it with vscode RestClient plugin.

About

A spring boot project that demonstrate Kafka Setup with distributed tracing and test container support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages