Package zipkin2.collector.rabbitmq
Class RabbitMQCollector
- java.lang.Object
-
- zipkin2.Component
-
- zipkin2.collector.CollectorComponent
-
- zipkin2.collector.rabbitmq.RabbitMQCollector
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.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()
java.lang.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 java.io.IOException
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-