java.lang.Object
io.opentelemetry.instrumentation.kafkaclients.common.v0_11.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, @Nullable String bootstrapServers)
    • create

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

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

      @Nullable public String getClientId()
    • getBootstrapServers

      @Nullable public String getBootstrapServers()