Class DefaultEventDispatcher
java.lang.Object
io.debezium.outbox.quarkus.internal.AbstractEventWriter<Void>
io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
io.debezium.outbox.quarkus.internal.DefaultEventDispatcher
- All Implemented Interfaces:
EventDispatcher
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 Summary
FieldsFields inherited from class io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
config, entityManagerFields inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
AGGREGATE_ID, AGGREGATE_TYPE, PAYLOAD, TIMESTAMP, TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonExportedEvent(ExportedEvent<?, ?> event) An event handler forExportedEventevents and will be called when the event fires.Methods inherited from class io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
persistMethods inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
createDataMap, getDataMapFromEvent
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DefaultEventDispatcher
public DefaultEventDispatcher()
-
-
Method Details
-
onExportedEvent
Description copied from interface:EventDispatcherAn event handler forExportedEventevents and will be called when the event fires.- Parameters:
event- the exported event
-