public interface KafkaSpanDecorator
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
onReceive(org.apache.kafka.clients.consumer.ConsumerRecord<K,V> record,
io.opentracing.Span span)
This API will be called to decorate the newly created span by the consumer.
|
void |
onSend(org.apache.kafka.clients.producer.ProducerRecord<Object,Object> record,
io.opentracing.Span span)
This API will be called to decorate the newly created span.
|
void onSend(org.apache.kafka.clients.producer.ProducerRecord<Object,Object> record, io.opentracing.Span span)
record - The record being sentspan - The current span created by the producer interceptor<K,V> void onReceive(org.apache.kafka.clients.consumer.ConsumerRecord<K,V> record,
io.opentracing.Span span)
record - The record received from the brokerspan - The span created by the consumer interceptorCopyright © 2020. All rights reserved.