Skip to content

Add option to exclude extra metadata #105

@michalnarwojsz

Description

@michalnarwojsz

Is your feature request related to a problem? Please describe.

Replicator adds extra metadata to replicated events:

  • $originalEventNumber
  • $originalPosition
  • $originalCreatedDate

Under a specific scenario, it may interfere with metadata usage in the target system. Currently there is no way to turn adding these metadata off, which causes trouble after migration.

Describe the solution you'd like

Add configuration file option allowing to disable extra metadata on events, so that replicator doesn't create them.

Describe alternatives you've considered

  • decompiling and hacking our legacy solution
  • writing own version of the replicator

Additional context

Our legacy solution (no possibility to change source code) reads all metadata of events. It expects string values there, while extra metadata added by replicator are numbers. That breaks deserialization in our system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions