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 Details

    • BraveKafkaProducerTracingInstrumentation

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

    • onCreated

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