Class KafkaProducerRequest
java.lang.Object
io.opentelemetry.instrumentation.kafkaclients.common.v0_11.internal.KafkaProducerRequest
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, String clientId, String bootstrapServers) static KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, org.apache.kafka.clients.producer.Producer<?, ?> producer, String bootstrapServers) org.apache.kafka.clients.producer.ProducerRecord<?, ?>
-
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
-
getBootstrapServers
-