public interface SpanDecorator
| Modifier and Type | Field and Description |
|---|---|
static SpanDecorator |
STANDARD_TAGS
Gives a SpanDecorator with the standard tags
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
onError(Exception exception,
io.opentracing.Span span)
Method called when an error occurs
|
<K,V> void |
onResponse(org.apache.kafka.clients.consumer.ConsumerRecord<K,V> record,
io.opentracing.Span span)
Method called when record is received in consumer
|
<K,V> void |
onSend(org.apache.kafka.clients.producer.ProducerRecord<K,V> record,
io.opentracing.Span span)
Method called before record is sent by producer
|
static final SpanDecorator STANDARD_TAGS
<K,V> void onSend(org.apache.kafka.clients.producer.ProducerRecord<K,V> record,
io.opentracing.Span span)
<K,V> void onResponse(org.apache.kafka.clients.consumer.ConsumerRecord<K,V> record,
io.opentracing.Span span)
<K,V> void onError(Exception exception, io.opentracing.Span span)
Copyright © 2017-2020–2020. All rights reserved.