Propagate data changes with data notifications
Data Notifications automatically propagate data changes from the data hub to downstream systems.
A Data Notification is configured with:
-
A Trigger that defines when the Data Notification must be sent.
-
A Dataset that defines the content of the Data Notification and will send Messages.
-
A Target that defines the destination of the Data Notification.
Notification trigger
A Data Notification is executed by a Trigger that can be either:
-
A batch completion event.
You may optionally configure a list of Watched Entities to trigger the Data Notification only if the batch included at least one of these entities. |
-
A scheduled event based on a CRON expression.
Dataset and messages
A Data Notification uses a Named Query to build a Dataset and send Messages. This Data Set takes the form of a JSON payload that can be sent in a unique message or paginated to control the number of records per message.
Notification target
The Target is the destination where the Data Notification messages are sent. There are three types of target:
-
REST API endpoint: An HTTP request is issued with a body containing the JSON payload.
-
Kafka topic: A Kafka event is sent. The key of this event is the Notification name, and the value is the JSON payload.
-
JMS (Java Message Service) queue or topic: A JMS text message containing the JSON payload is sent.