Package zipkin2.collector.rabbitmq
Class RabbitMQCollector.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
zipkin2.collector.rabbitmq.RabbitMQCollector.Builder
- Enclosing class:
- RabbitMQCollector
public static final class RabbitMQCollector.Builder extends CollectorComponent.Builder
Configuration including defaults needed to consume spans from a RabbitMQ queue.
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RabbitMQCollector.Builderaddresses(List<String> addresses)RabbitMQCollectorbuild()RabbitMQCollector.Builderconcurrency(int concurrency)RabbitMQCollector.BuilderconnectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory)RabbitMQCollector.Buildermetrics(CollectorMetrics metrics)RabbitMQCollector.Builderqueue(String queue)Queue zipkin spans will be consumed from.RabbitMQCollector.Buildersampler(CollectorSampler sampler)RabbitMQCollector.Builderstorage(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
-