Class TracingKafkaReceiverBeanPostProcessor

java.lang.Object
org.springframework.cloud.sleuth.autoconfig.instrument.kafka.TracingKafkaReceiverBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class TracingKafkaReceiverBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Wraps reactors KafkaReceiver in custom TracingKafkaReceiver that provides tracing context to tracer and reactor context. Downside operators will keep the context correct thanks to TraceReactorAutoConfiguration
  • Constructor Details

  • Method Details

    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(@NotNull Object bean, @NotNull String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException