Class TracingKafkaPropagatorSetter
- java.lang.Object
-
- org.springframework.cloud.sleuth.instrument.kafka.TracingKafkaPropagatorSetter
-
- All Implemented Interfaces:
Propagator.Setter<org.apache.kafka.clients.producer.ProducerRecord<?,?>>
public class TracingKafkaPropagatorSetter extends Object implements Propagator.Setter<org.apache.kafka.clients.producer.ProducerRecord<?,?>>
Setter injecting the values onto theProducerRecordheaders for Kafka based communication.- Since:
- 3.1.0
- Author:
- Anders Clausen, Flaviu Muresan
-
-
Constructor Summary
Constructors Constructor Description TracingKafkaPropagatorSetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(org.apache.kafka.clients.producer.ProducerRecord<?,?> carrier, String key, String value)
-
-
-
Method Detail
-
set
public void set(org.apache.kafka.clients.producer.ProducerRecord<?,?> carrier, String key, String value)- Specified by:
setin interfacePropagator.Setter<org.apache.kafka.clients.producer.ProducerRecord<?,?>>
-
-