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, String clientId, String bootstrapServers, boolean spanContextPropagated) static KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, String clientId, String bootstrapServers, boolean spanContextPropagated, String clusterId) static KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, String clientId, String bootstrapServers, boolean spanContextPropagated, String clusterId, org.apache.kafka.clients.producer.Producer<?, ?> producer) static KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, org.apache.kafka.clients.producer.Producer<?, ?> producer, String bootstrapServers) static KafkaProducerRequestcreate(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, org.apache.kafka.clients.producer.Producer<?, ?> producer, String bootstrapServers, boolean spanContextPropagated) org.apache.kafka.clients.producer.ProducerRecord<?, ?> boolean
-
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, org.apache.kafka.clients.producer.Producer<?, ?> producer, @Nullable String bootstrapServers, boolean spanContextPropagated) -
create
public static KafkaProducerRequest create(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, @Nullable String clientId, @Nullable String bootstrapServers) -
create
public static KafkaProducerRequest create(org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, @Nullable String clientId, @Nullable String bootstrapServers, boolean spanContextPropagated) -
create
-
create
-
getRecord
public org.apache.kafka.clients.producer.ProducerRecord<?,?> getRecord() -
getClientId
-
getBootstrapServers
-
isSpanContextPropagated
public boolean isSpanContextPropagated() -
getClusterId
-