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 Details

    • BraveKafkaConsumerTracingInstrumentation

      public BraveKafkaConsumerTracingInstrumentation(brave.kafka.clients.KafkaTracing kafkaTracing)
      Default constructor.
      Parameters:
      kafkaTracing - The kafka tracing
  • Method Details

    • onCreated

      public Consumer<?,?> onCreated(io.micronaut.context.event.BeanCreatedEvent<Consumer<?,?>> event)
      Specified by:
      onCreated in interface io.micronaut.context.event.BeanCreatedEventListener<Consumer<?,?>>