public class ReactiveKafkaTracingPropagator extends Object
ReactorSleuth to create separate mono publisher for each element in flux,
that will be injecting the tracing context to Tracer and
Context for each element separately, giving downstream
operators proper tracing context and span.TracingKafkaReceiver| Constructor and Description |
|---|
ReactiveKafkaTracingPropagator(Tracer tracer,
Propagator propagator,
Propagator.Getter<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>> extractor) |
| Modifier and Type | Method and Description |
|---|---|
<K,V,T extends org.apache.kafka.clients.consumer.ConsumerRecord<K,V>> |
propagateSpanContextToReactiveContext(reactor.core.publisher.Flux<T> publisher) |
public ReactiveKafkaTracingPropagator(Tracer tracer, Propagator propagator, Propagator.Getter<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>> extractor)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.