raam86 and saintstack HTRACE-393 Changed binary annotations type from binary to string
Signed-off-by: Michael Stack <stack@apache.org>
Latest commit bf03c0b Jan 3, 2017

README.md

HTrace Zipkin Receiver

Use the HTrace Java library with Zipkin.

To use, set "span.receiver.classes", "org.apache.htrace.impl.ZipkinSpanReceiver" in the HTraceConfiguration.

Transports

The Zipkin receiver supports both the Zipkin Scribe (default) and Kafka transports, controlled through the zipkin.transport.class configuration.

Scribe (Thrift) Transport

Configuration

Configurations are prefixed with zipkin.scribe.

  • zipkin.scribe.hostname, localhost
  • zipkin.scribe.port, 9410

Deprecated (backwards compatibility):

  • zipkin.collector-hostname, localhost
  • zipkin.collector-port, 9410

Kafka Transport

To use the Kafka transport, add "zipkin.transport.class", "org.apache.htrace.impl.KafkaTransport" to the configuration.

Configuration

Configurations are prefixed with zipkin.kafka.

  • zipkin.kafka.topic, zipkin

Producer specific configurations

  • zipkin.kafka.metadata.broker.list, localhost:9092
  • zipkin.kafka.request.required.acks, 0
  • zipkin.kafka.producer.type, async
  • zipkin.kafka.serializer.class, kafka.serializer.DefaultEncoder
  • zipkin.kafka.compression.codec, 1