Package zipkin2.collector.rabbitmq
Class RabbitMQCollector
- java.lang.Object
-
- zipkin2.Component
-
- zipkin2.collector.CollectorComponent
-
- zipkin2.collector.rabbitmq.RabbitMQCollector
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class RabbitMQCollector extends CollectorComponent
This collector consumes encoded binary messages from a RabbitMQ queue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRabbitMQCollector.BuilderConfiguration including defaults needed to consume spans from a RabbitMQ queue.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RabbitMQCollector.Builderbuilder()CheckResultcheck()voidclose()RabbitMQCollectorstart()StringtoString()
-
-
-
Method Detail
-
builder
public static RabbitMQCollector.Builder builder()
-
start
public RabbitMQCollector start()
- Specified by:
startin classCollectorComponent
-
check
public CheckResult check()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classComponent- Throws:
IOException
-
-