Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/barrycommins/zipkindemo

Demo of Zipkin with Spring Boot
https://github.com/barrycommins/zipkindemo

cassandra demo kafka spring-boot zipkin zipkin-server zipkin-sleuth

Last synced: 3 months ago
JSON representation

Demo of Zipkin with Spring Boot

Awesome Lists containing this project

README

        

# zipkindemo
Demo of Zipkin with Spring Boot

This Demo consists of two applications:

1. ```zipkindemoapp```, which is a simple Spring Boot App with a Rest endpoint at /demo that returns "hello". Zipkin and Sleuth dependencies are included to trace the requests.

2. ```zipkinserver```, which collects the traces from ```zipkindemoapp``` and displays them in the Zipkin UI


```Apache Kafka``` is used as the transport to send the traces from ```zipkindemoapp```to ```zipkinserver```

The ```docker-compose.yml``` file contains the two applications, Kafka and Zookeeper.

It can be run by first building the application containers with ```mvn clean install``` and then running everything with ```docker-compose up```

```$DOCKER_HOST_IP``` should be set to the ip of your docker machine if you are using Windows or Mac, or to the host ip on Linux.

```zikpkinserver``` is configured to use Cassandra (version 3) as a backend when using Docker