Package io.debezium.outbox.quarkus
Interface ExportedEvent<I,P>
-
@Incubating public interface ExportedEvent<I,P>
Describes an event that should be exported via the "outbox" table.- Author:
- Chris Cranford
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Map<String,Object>getAdditionalFieldValues()The additional field values to be stored.IgetAggregateId()The id of the aggregate affected by a given event.StringgetAggregateType()The type of the aggregate affected by the event.PgetPayload()The event payload.InstantgetTimestamp()The timestamp at which the event occurred.StringgetType()The type of an event.
-
-
-
Method Detail
-
getAggregateId
I getAggregateId()
The id of the aggregate affected by a given event. For example, the order id in case of events relating to an order, or order lines of that order. This is used to ensure ordering of events within an aggregate type.
-
getAggregateType
String getAggregateType()
The type of the aggregate affected by the event. For example, "order" in case of events relating to an order, or order lines of that order. This is used as the topic name.
-
getType
String getType()
The type of an event. For example, "Order Created" or "Order Line Cancelled" for events that belong to an given aggregate type such as "order".
-
getTimestamp
Instant getTimestamp()
The timestamp at which the event occurred.
-
getPayload
P getPayload()
The event payload.
-
-