Class AbstractEventDispatcher
java.lang.Object
io.debezium.outbox.quarkus.internal.AbstractEventWriter<io.smallrye.mutiny.Uni<Void>>
io.debezium.outbox.reactive.quarkus.internal.AbstractEventDispatcher
- All Implemented Interfaces:
EventDispatcher
- Direct Known Subclasses:
DebeziumTracerEventDispatcher,DefaultEventDispatcher
public abstract class AbstractEventDispatcher
extends AbstractEventWriter<io.smallrye.mutiny.Uni<Void>>
implements EventDispatcher
Abstract base class for the Debezium Outbox
EventDispatcher contract.- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) DebeziumOutboxRuntimeConfigDebezium runtime configuration(package private) org.hibernate.reactive.mutiny.Mutiny.SessionFactoryprivate static final org.slf4j.LoggerFields inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
AGGREGATE_ID, AGGREGATE_TYPE, PAYLOAD, TIMESTAMP, TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDataMap(ExportedEvent<?, ?> event) protected io.smallrye.mutiny.Uni<Void>protected io.smallrye.mutiny.Uni<Integer>removeFromOutbox(Map<String, Object> dataMap) Methods inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
getDataMapFromEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.outbox.reactive.quarkus.internal.EventDispatcher
onExportedEvent
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
factory
@Inject org.hibernate.reactive.mutiny.Mutiny.SessionFactory factory -
config
Debezium runtime configuration
-
-
Constructor Details
-
AbstractEventDispatcher
public AbstractEventDispatcher()
-
-
Method Details
-
persist
- Specified by:
persistin classAbstractEventWriter<io.smallrye.mutiny.Uni<Void>>
-
removeFromOutbox
-
createDataMap
- Overrides:
createDataMapin classAbstractEventWriter<io.smallrye.mutiny.Uni<Void>>
-