Skip to main content
Version: 7.9.x

Real-Time Updater

The Real-Time Updater service consumes kafka messages in order to keep the fast data projection collections up to date with the connected system.

A Real-Time Updater service is automatically created when you create a new System. After the new configuration has been saved, this service is visible as one of your services in the Microservices section.

Projection Update

Two actions are necessary for the Real-Time Updater in order to correctly update its projections:

  • You must define at least one custom field with the following flags set to true: Primary Key, Required.
  • You must create an index using the previously defined custom field and set the flag Unique to true.

When a projection is updated, it changes a collection, called with the value of the following environment variable PROJECTIONS_CHANGES_COLLECTION_NAME, by inserting the information of the single view document to update as consequence of the projection update.

Projection Deletion

When the Real-Time Updater deletes a document, it actually makes a virtual delete instead of a real document deletion. (the STATE field is set to DELETED)