Spring Boot Project using Kafka and R2DBC (Part VI)

Gabriel Martins
1 min readApr 30, 2021

This is the end of the tutorial, and we are going to create the docker-compose.yml with all needed service to run and use the application.

Running and testing application

Go application folder and run the command

docker-compose up -d

After that run the application using local profile

./gradlew bootRun --args='--spring.profiles.active=local'

For Jaeger go to browser and navigate: http://localhost:16686/

For Kafka Control Center UI go to browser and navigate: http://localhost:9021/

For Postgres use PgAdmin4 with URL: http://localhost:5050 and configure Connection using host postgres

To create a person you can use CURL

curl --header "Content-Type: application/json" \
--request POST \
--data '{ "first_name" : "John", "last_name" : "Wick", "date_of_birthday": "1973-03-03", "gender": "M" }' \
http://localhost:8080/health-v1/persons

To register schema on Schema Registry go to Control Center using http://localhost:9021

To store a measurement you can use Conduktor Tool

Related Links

Previous Tutorial: Tutorial Part V

Project in GitHub: https://github.com/gabrielsmartins/health-service

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Gabriel Martins
Gabriel Martins

Written by Gabriel Martins

Just a brazilian guy who loves technology and wants to share the experiences he has learned

No responses yet

Write a response