Class TracingKafkaConsumerFactory

java.lang.Object
reactor.kafka.receiver.internals.ConsumerFactory
org.springframework.cloud.sleuth.instrument.kafka.TracingKafkaConsumerFactory

@Deprecated public class TracingKafkaConsumerFactory extends reactor.kafka.receiver.internals.ConsumerFactory
Deprecated.
This decorates a Reactor Kafka ConsumerFactory to create decorated consumers of type TracingKafkaConsumer. This can be used by the KafkaReceiver factory methods to create instrumented receivers.
Since:
3.1.0
Author:
Anders Clausen, Flaviu Muresan
  • Field Summary

    Fields inherited from class reactor.kafka.receiver.internals.ConsumerFactory

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    TracingKafkaConsumerFactory(org.springframework.beans.factory.BeanFactory beanFactory)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <K, V> org.apache.kafka.clients.consumer.Consumer<K,V>
    createConsumer(reactor.kafka.receiver.ReceiverOptions<K,V> receiverOptions)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TracingKafkaConsumerFactory

      public TracingKafkaConsumerFactory(org.springframework.beans.factory.BeanFactory beanFactory)
      Deprecated.
  • Method Details

    • createConsumer

      public <K, V> org.apache.kafka.clients.consumer.Consumer<K,V> createConsumer(reactor.kafka.receiver.ReceiverOptions<K,V> receiverOptions)
      Deprecated.
      Overrides:
      createConsumer in class reactor.kafka.receiver.internals.ConsumerFactory