T
- the publisher generic typepublic class ScopePropagationPublisher<T>
extends java.lang.Object
implements io.micronaut.core.async.publisher.Publishers.MicronautPublisher<T>
Publisher
that just propagates tracing state without creating a new span.Constructor and Description |
---|
ScopePropagationPublisher(org.reactivestreams.Publisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Span parentSpan)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
subscribe(org.reactivestreams.Subscriber<? super T> actual) |
public ScopePropagationPublisher(org.reactivestreams.Publisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Span parentSpan)
publisher
- the publishertracer
- the tracerparentSpan
- the parent span