Class AbstractEventDispatcher

java.lang.Object
io.debezium.outbox.quarkus.internal.AbstractEventWriter<Void>
io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
All Implemented Interfaces:
EventDispatcher
Direct Known Subclasses:
DebeziumTracerEventDispatcher, DefaultEventDispatcher

public abstract class AbstractEventDispatcher extends AbstractEventWriter<Void> implements EventDispatcher
Abstract base class for the Debezium Outbox EventDispatcher contract.
Author:
Chris Cranford
  • Field Details

    • entityManager

      @Inject jakarta.persistence.EntityManager entityManager
    • config

      Debezium runtime configuration
  • Constructor Details

    • AbstractEventDispatcher

      public AbstractEventDispatcher()
  • Method Details

    • persist

      protected Void persist(Map<String,Object> dataMap)
      Persists the map of key/value pairs to the database.
      Specified by:
      persist in class AbstractEventWriter<Void>
      Parameters:
      dataMap - the data map, should never be null
    • remove

      private void remove(Map<String,Object> dataMap, org.hibernate.Session session)