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 class
RabbitMQCollector.Builder
Configuration including defaults needed to consume spans from a RabbitMQ queue. -
Method Summary
Modifier and Type Method Description static RabbitMQCollector.Builder
builder()
CheckResult
check()
void
close()
RabbitMQCollector
start()
String
toString()
-
Method Details
-
builder
-
start
- Specified by:
start
in classCollectorComponent
-
check
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classComponent
- Throws:
IOException
-
toString
-