Class DefaultEventDispatcher

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.DefaultEventDispatcher
All Implemented Interfaces:
EventDispatcher

@ApplicationScoped public class DefaultEventDispatcher extends AbstractEventDispatcher
The default application-scoped EventDispatcher implementation that is responsible for observing ExportedEvent events and when detected, persists them to the underlying database, allowing Debezium to capture and emit these as change events.
Author:
Chris Cranford
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • DefaultEventDispatcher

      public DefaultEventDispatcher()
  • Method Details

    • onExportedEvent

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