Class AbstractEventDispatcher
java.lang.Object
io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
- All Implemented Interfaces:
EventDispatcher
- Direct Known Subclasses:
DebeziumTracerEventDispatcher,DefaultEventDispatcher
Abstract base class for the Debezium Outbox
EventDispatcher contract.- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final String(package private) DebeziumOutboxRuntimeConfigDebezium runtime configuration(package private) javax.persistence.EntityManagerprivate static final org.slf4j.Loggerprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataMapFromEvent(ExportedEvent<?, ?> event) protected voidPersists the map of key/value pairs to the database.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.outbox.quarkus.internal.EventDispatcher
onExportedEvent
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
TIMESTAMP
- See Also:
-
PAYLOAD
- See Also:
-
TYPE
- See Also:
-
AGGREGATE_ID
- See Also:
-
AGGREGATE_TYPE
- See Also:
-
entityManager
@Inject javax.persistence.EntityManager entityManager -
config
Debezium runtime configuration
-
-
Constructor Details
-
AbstractEventDispatcher
public AbstractEventDispatcher()
-
-
Method Details
-
persist
Persists the map of key/value pairs to the database.- Parameters:
dataMap- the data map, should never benull
-
getDataMapFromEvent
-