Package zipkin2.collector.scribe
Class ScribeCollector
- java.lang.Object
- 
- zipkin2.Component
- 
- zipkin2.collector.CollectorComponent
- 
- zipkin2.collector.scribe.ScribeCollector
 
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public final class ScribeCollector extends CollectorComponent This collector accepts Scribe logs in a specified category. Each log entry is expected to contain a single span, which is TBinaryProtocol big-endian, then base64 encoded. These spans are chained to anasynchronous span consumer.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classScribeCollector.BuilderConfiguration including defaults needed to receive spans from a Scribe category.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckResultcheck()voidclose()static ScribeCollector.BuildernewBuilder()intport()Returns zero untilstart()was called.ScribeCollectorstart()Will throw an exception if theportis already in use.StringtoString()
 
- 
- 
- 
Method Detail- 
newBuilderpublic static ScribeCollector.Builder newBuilder() 
 - 
startpublic ScribeCollector start() Will throw an exception if theportis already in use.- Specified by:
- startin class- CollectorComponent
 
 - 
checkpublic CheckResult check() 
 - 
portpublic int port() Returns zero untilstart()was called.
 
- 
 
-