Class 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 Detail

      • LOGGER

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

      • DefaultEventDispatcher

        public DefaultEventDispatcher()
    • Method Detail

      • onExportedEvent

        public void onExportedEvent​(@Observes
                                    ExportedEvent<?,​?> 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