elodina/go-zipkin-sample

Name: go-zipkin-sample

Owner: Elodina

Description: Sample app to showcase low-level Zipkin tracing with Kafka+Avro

Created: 2016-05-12 17:06:17.0

Updated: 2016-05-12 17:06:18.0

Pushed: 2016-04-25 14:23:51.0

Homepage: null

Size: 7

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

go-zipkin Sample

Overview

This repo contains example on low-level using of Zipkin-based traces in a distributed application. In this example Kafka is being used as a traces transport as well as the transport between distributed application components. Avro is being used for serialization. The application components are Kafka producer and consumer. Producer writes new messages to Kafka every second, Zipkin trace info is sent along this message encoded into the Avro serialized object. Every message in this message stream is traced.

Usage

In order to launch this example, clone this repo and launch from this directory:

p restore
nstall ./...

This will build the consumer and producer execution binaries. You may launch them like this:

GOPATH/bin
oducer <kafka_broker_address>
nsumer <kafka_broker_address>

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.