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