Additional metadata

Additional metadata fields for the target, which include the original event number, position, and creation date.

In addition to copying the events, Replicator will also copy streams metadata. Therefore, changes in ACLs, truncations, stream deletions, setting max count and max age will all be propagated properly to the target cluster.

However, the max age won’t be working properly for events, which are going to exceed the age in the source cluster. That’s because in the target cluster all the events will appear as recently added.

To mitigate the issue, Replication will add the following metadata to all the copied events:

  • $originalCreatedDate
  • $originalEventNumber
  • $originalEventPosition
Last modified April 28, 2021: Changed JS transform docs (5f62dfb)