Setting up Zipkin Distributed Tracing Server

We will use Spring Initializr (http://start.spring.io) to set up a new project. The following screenshot shows the GroupId, ArtifactId, and Dependencies to be selected:

Dependencies include the following:

  • Zipkin Stream: Multiple options exist to configure a Zipkin server. In this example, we will keep it simple by creating a standalone service listening on events and storing information in the memory.
  • Zipkin UI: Provides a dashboard with the search functionality.
  • Stream Rabbit: Used to bind the Zipkin stream with a RabbitMQ service.

In production, you would want to have a more robust infrastructure. ...

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.