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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods 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)
 
- 
- 
- 
Method Detail- 
storagepublic RabbitMQCollector.Builder storage(StorageComponent storage) - Specified by:
- storagein class- CollectorComponent.Builder
 
 - 
samplerpublic RabbitMQCollector.Builder sampler(CollectorSampler sampler) - Specified by:
- samplerin class- CollectorComponent.Builder
 
 - 
metricspublic RabbitMQCollector.Builder metrics(CollectorMetrics metrics) - Specified by:
- metricsin class- CollectorComponent.Builder
 
 - 
addressespublic RabbitMQCollector.Builder addresses(List<String> addresses) 
 - 
concurrencypublic RabbitMQCollector.Builder concurrency(int concurrency) 
 - 
connectionFactorypublic RabbitMQCollector.Builder connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory) 
 - 
queuepublic RabbitMQCollector.Builder queue(String queue) Queue zipkin spans will be consumed from. Defaults to "zipkin-spans".
 - 
buildpublic RabbitMQCollector build() - Specified by:
- buildin class- CollectorComponent.Builder
 
 
- 
 
-