Class KafkaProcessRequest
java.lang.Object
io.opentelemetry.instrumentation.kafka.internal.KafkaProcessRequest
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
ConstructorsConstructorDescriptionKafkaProcessRequest(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record, String consumerGroup, String clientId) -
Method Summary
Modifier and TypeMethodDescriptionstatic KafkaProcessRequestcreate(KafkaConsumerContext consumerContext, org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record) static KafkaProcessRequestcreate(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record, String consumerGroup, String clientId) static KafkaProcessRequestcreate(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record, org.apache.kafka.clients.consumer.Consumer<?, ?> consumer) org.apache.kafka.clients.consumer.ConsumerRecord<?, ?>
-
Constructor Details
-
KafkaProcessRequest
-
-
Method Details
-
create
public static KafkaProcessRequest create(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record, org.apache.kafka.clients.consumer.Consumer<?, ?> consumer) -
create
public static KafkaProcessRequest create(KafkaConsumerContext consumerContext, org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record) -
create
public static KafkaProcessRequest create(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record, String consumerGroup, String clientId) -
getRecord
public org.apache.kafka.clients.consumer.ConsumerRecord<?,?> getRecord() -
getConsumerGroup
-
getClientId
-
getConsumerId
-