Class DebeziumTracerEventDispatcher
java.lang.Object
io.debezium.outbox.quarkus.internal.AbstractEventWriter<io.smallrye.mutiny.Uni<Void>>
io.debezium.outbox.reactive.quarkus.internal.AbstractEventDispatcher
io.debezium.outbox.reactive.quarkus.internal.DebeziumTracerEventDispatcher
- All Implemented Interfaces:
EventDispatcher
An application-scoped
EventDispatcher implementation that is responsible not only
for observing ExportedEvent events but also generating an open tracing span that
is to be persisted with the event's data, allowing Debezium to capture and emit these as
change events.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) io.opentelemetry.api.OpenTelemetryprivate static final Stringprivate static final StringFields inherited from class io.debezium.outbox.reactive.quarkus.internal.AbstractEventDispatcher
config, factoryFields inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
AGGREGATE_ID, AGGREGATE_TYPE, PAYLOAD, TIMESTAMP, TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void>onExportedEvent(Object incomingevent) An event handler forExportedEventevents and will be called when the event fires.Methods inherited from class io.debezium.outbox.reactive.quarkus.internal.AbstractEventDispatcher
createDataMap, persist, removeFromOutboxMethods inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
getDataMapFromEvent
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
OPERATION_NAME
- See Also:
-
TRACING_COMPONENT
- See Also:
-
openTelemetry
@Inject io.opentelemetry.api.OpenTelemetry openTelemetry
-
-
Constructor Details
-
DebeziumTracerEventDispatcher
public DebeziumTracerEventDispatcher()
-
-
Method Details
-
onExportedEvent
Description copied from interface:EventDispatcherAn event handler forExportedEventevents and will be called when the event fires.- Parameters:
incomingevent- the exported event
-