Package zipkin2.collector.rabbitmq
Class RabbitMQCollector.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
zipkin2.collector.rabbitmq.RabbitMQCollector.Builder
- Enclosing class:
- RabbitMQCollector
Configuration including defaults needed to consume spans from a RabbitMQ queue.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
concurrency
(int concurrency) connectionFactory
(com.rabbitmq.client.ConnectionFactory connectionFactory) metrics
(CollectorMetrics metrics) Queue zipkin spans will be consumed from.sampler
(CollectorSampler sampler) storage
(StorageComponent storage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storage
- Specified by:
storage
in classCollectorComponent.Builder
-
sampler
- Specified by:
sampler
in classCollectorComponent.Builder
-
metrics
- Specified by:
metrics
in classCollectorComponent.Builder
-
addresses
-
concurrency
-
connectionFactory
public RabbitMQCollector.Builder connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory) -
queue
Queue zipkin spans will be consumed from. Defaults to "zipkin-spans". -
build
- Specified by:
build
in classCollectorComponent.Builder
-