If we are using Spring Framework, we can easily add tracing. Follow next steps:
- add sleught
- add zipkin properties
- run ELK + simple settings
Demo with technologies:
Java, Spring Boot, Web, WebFlux, Kafka, ELK, Tracer with spring sleuth, Zipkin, Jib.
version 0.0.5
-
Local with Docker Desktop:
use runner/docker-desktop/build_and_run.sh
-
Minikube (WIP)
use runner/minikube/build_and_run.sh
sh runner/create_equipment.sh and order_scenario.sh
- run services and all crucial images
- go to http://localhost:6001/v1/equipment/
- use zipkin: http://localhost:9411/zipkin/
- find your trace with ELK
useful material:
Main idea by: Source
- Spring sleuth
- Kafka compose
- Kafka compose cluster
- Zipkin
- Minikube port problem
- Minikube pods
- Special thanks for Hello minikube
- Minicube one more userful link
- Spring boot + k8s
- Docker + maven
- Logs with jaeger