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 aspan consumer.This collector uses a Kafka 0.10+ consumer. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classKafkaCollector.BuilderConfiguration including defaults needed to consume spans from a Kafka topic.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KafkaCollector.Builderbuilder()CheckResultcheck()voidclose()KafkaCollectorstart()StringtoString()
 
- 
- 
- 
Method Detail- 
builderpublic static KafkaCollector.Builder builder() 
 - 
startpublic KafkaCollector start() - Specified by:
- startin class- CollectorComponent
 
 - 
checkpublic CheckResult check() 
 - 
closepublic void close() 
 
- 
 
-