Skip to content

tuhingupta/akka-sample-tracing-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akka-sample-tracing-java

Building java project

Run mvn clean install to build the project. Once the maven install is complete you will find akka-sample-tracing-java-1.0-allinone.jar jar file in target folder.

Run the jar using command:

java -jar akka-sample-tracing-java-1.0-allinone.jar 

In the application.conf file in resources folder you will find that we have configured Zipkin server to run at localhost and port 9410 which is the default port for running Zipkin server.

Installing Zipkin and running its server

You can find details of downloading and installing Zipkin on [zipkin website] (http://zipkin.io/pages/quickstart.html).

Download the toolkit jar and save it in a folder. Run the Zipkin java: java -jar zipkin.jar

Now you will see in the java project logs that is connects to Zipkin server.

This code uses [akka-tracing] (https://github.com/levkhomich/akka-tracing) extensions for making Zipkin work with Akka toolkit.

Also read my blog on [Distributed Tracing for Microservices] (https://javaredhot.blogspot.com/2017/02/akka-with-zipkin-async-framework-with.html)

LICENSE

[Apache License Version 2.0] (https://github.com/tuhingupta/akka-sample-tracing-java/blob/master/LICENSE.txt)

About

Akka Zipkin distributed tracing using akka-tracing. Refer to blog - https://javaredhot.blogspot.com/2017/02/akka-with-zipkin-async-framework-with.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages