Spring Boot | Spring Cloud Stream | Distributed Tracing

Configuring Distributed Tracing with Zipkin in a Kafka Producer and Consumer that uses Spring Cloud Stream

Step-by-step guide on how to configure Distributed Tracing with Zipkin in News Producer and Consumer apps

Ivan Franchin
Javarevisited
Published in
6 min readNov 1, 2023

--

Photo by Anne Nygård on Unsplash

In this article, we will explain how to configure distributed tracing with Zipkin in two Spring Boot Kafka applications: News Producer and News Consumer.

Distributed tracing is a method to monitor and understand how requests move through a distributed application, aiding in performance optimization.

Zipkin is a popular open-source tool for visualizing traces in microservices, providing insights for troubleshooting and enhancing system observability.

You can find the complete code and implementation in the article linked below. Feel free to follow the steps explained in the article and get started.

--

--

Ivan Franchin
Javarevisited

Lead Software Developer with BS and MS in Computer Science. Writing about Java, Spring, software development in general, and emerging technologies.