public interface EventBusSpanFactory
EventBus. You can customize the spans of the bus by creating your
own implementation.| Modifier and Type | Method and Description |
|---|---|
Span |
createCommitEventsSpan()
Creates a span for the committing of events.
|
Span |
createPublishEventSpan(EventMessage<?> eventMessage)
Creates a span for the publishing of an event.
|
<T> EventMessage<T> |
propagateContext(EventMessage<T> eventMessage)
Propagates the context of the current span to the given event message.
|
Span createPublishEventSpan(EventMessage<?> eventMessage)
EventBus. This span does not include the actual commit of the event, this is represented by the createCommitEventsSpan() and may occur later.eventMessage - The event message to create a span for.Span createCommitEventsSpan()
<T> EventMessage<T> propagateContext(EventMessage<T> eventMessage)
T - The type of the payload of the event message.eventMessage - The event message to propagate the context to.Copyright © 2010–2025. All rights reserved.