java.lang.Object
io.opentelemetry.instrumentation.kafkaclients.common.v0_11.internal.KafkaPropagation

public final class KafkaPropagation extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • shouldPropagate

      public static boolean shouldPropagate(org.apache.kafka.clients.ApiVersions apiVersions)
    • propagateContext

      public static <K, V> org.apache.kafka.clients.producer.ProducerRecord<K,V> propagateContext(io.opentelemetry.context.Context context, org.apache.kafka.clients.producer.ProducerRecord<K,V> record)