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 KafkaProducerRequeststatic KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, org.apache.kafka.clients.producer.Producer<?, ?> producer) 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) -
create
public static KafkaProducerRequest create(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, String clientId) -
getRecord
public org.apache.kafka.clients.producer.ProducerRecord<?,?> getRecord() -
getClientId
-