Class BraveKafkaProducerTracingInstrumentation
java.lang.Object
io.micronaut.configuration.kafka.tracing.brave.BraveKafkaProducerTracingInstrumentation
- All Implemented Interfaces:
io.micronaut.context.event.BeanCreatedEventListener<Producer<?,
,?>> EventListener
@Singleton
@Requires(beans=brave.kafka.clients.KafkaTracing.class)
public class BraveKafkaProducerTracingInstrumentation
extends Object
implements io.micronaut.context.event.BeanCreatedEventListener<Producer<?,?>>
Kafka producer tracing instrumentation using Brave.
- Author:
- dstepanov
-
Constructor Summary
ConstructorDescriptionBraveKafkaProducerTracingInstrumentation
(brave.kafka.clients.KafkaTracing kafkaTracing) Default constructor. -
Method Summary
-
Constructor Details
-
BraveKafkaProducerTracingInstrumentation
public BraveKafkaProducerTracingInstrumentation(brave.kafka.clients.KafkaTracing kafkaTracing) Default constructor.- Parameters:
kafkaTracing
- The kafka tracing
-
-
Method Details
-
onCreated
- Specified by:
onCreated
in interfaceio.micronaut.context.event.BeanCreatedEventListener<Producer<?,
?>>
-