public interface EventProcessorSpanFactory
EventProcessor
implementations. You can customize the spans of the
event processors by creating your own implementation.Modifier and Type | Method and Description |
---|---|
Span |
createBatchSpan(boolean streaming,
List<? extends EventMessage<?>> eventMessages)
Creates a span for the batch of events that are handled by the event processor.
|
Span |
createProcessEventSpan(boolean streaming,
EventMessage<?> eventMessage)
Creates a span for the handling of an event.
|
Span createBatchSpan(boolean streaming, List<? extends EventMessage<?>> eventMessages)
streaming
- Whether the event is handled by a StreamingEventProcessor
.eventMessages
- The event messages that are in the batch.Span createProcessEventSpan(boolean streaming, EventMessage<?> eventMessage)
streaming
- Whether the event is handled by a StreamingEventProcessor
.eventMessage
- The event message that is handled.Copyright © 2010–2024. All rights reserved.