Class KafkaProducerRequest

java.lang.Object
io.opentelemetry.instrumentation.kafka.internal.KafkaProducerRequest

public final class KafkaProducerRequest 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

    • create

      public static KafkaProducerRequest create(org.apache.kafka.clients.producer.ProducerRecord<?,?> record, org.apache.kafka.clients.producer.Producer<?,?> producer)
    • create

      public static KafkaProducerRequest create(org.apache.kafka.clients.producer.ProducerRecord<?,?> record, String clientId)
    • getRecord

      public org.apache.kafka.clients.producer.ProducerRecord<?,?> getRecord()
    • getClientId

      public String getClientId()