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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RabbitMQCollector.Builder
builder()
CheckResult
check()
void
close()
RabbitMQCollector
start()
String
toString()
-
-
-
Method Detail
-
builder
public static RabbitMQCollector.Builder builder()
-
start
public RabbitMQCollector start()
- Specified by:
start
in classCollectorComponent
-
check
public CheckResult check()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classComponent
- Throws:
IOException
-
-