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

@ApplicationScoped public class DebeziumTracerEventDispatcher extends AbstractEventDispatcher
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 Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • OPERATION_NAME

      private static final String OPERATION_NAME
      See Also:
    • TRACING_COMPONENT

      private static final String TRACING_COMPONENT
      See Also:
    • openTelemetry

      @Inject io.opentelemetry.api.OpenTelemetry openTelemetry
  • Constructor Details

    • DebeziumTracerEventDispatcher

      public DebeziumTracerEventDispatcher()
  • Method Details

    • onExportedEvent

      public io.smallrye.mutiny.Uni<Void> onExportedEvent(Object incomingevent)
      Description copied from interface: EventDispatcher
      An event handler for ExportedEvent events and will be called when the event fires.
      Parameters:
      incomingevent - the exported event