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
Constructors -
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:
storagein classCollectorComponent.Builder
-
sampler
- Specified by:
samplerin classCollectorComponent.Builder
-
metrics
- Specified by:
metricsin 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:
buildin classCollectorComponent.Builder
-