Class TracingKafkaPropagatorGetter
- java.lang.Object
-
- org.springframework.cloud.sleuth.instrument.kafka.TracingKafkaPropagatorGetter
-
- All Implemented Interfaces:
Propagator.Getter<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
public class TracingKafkaPropagatorGetter extends Object implements Propagator.Getter<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
Getter extracting the values from theConsumerRecordheaders for Kafka based communication.- Since:
- 3.1.0
- Author:
- Anders Clausen, Flaviu Muresan
-
-
Constructor Summary
Constructors Constructor Description TracingKafkaPropagatorGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(org.apache.kafka.clients.consumer.ConsumerRecord<?,?> carrier, String key)
-
-
-
Method Detail
-
get
public String get(org.apache.kafka.clients.consumer.ConsumerRecord<?,?> carrier, String key)
- Specified by:
getin interfacePropagator.Getter<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
-
-