Package zipkin2.collector.kafka
Class KafkaCollector
java.lang.Object
zipkin2.Component
zipkin2.collector.CollectorComponent
zipkin2.collector.kafka.KafkaCollector
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class KafkaCollector extends CollectorComponent
This collector polls a Kafka topic for messages that contain TBinaryProtocol big-endian encoded
lists of spans. These spans are pushed to a
span consumer
.
This collector uses a Kafka 0.10+ consumer.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KafkaCollector.Builder
Configuration including defaults needed to consume spans from a Kafka topic. -
Method Summary
Modifier and Type Method Description static KafkaCollector.Builder
builder()
CheckResult
check()
void
close()
KafkaCollector
start()
String
toString()