Skip to content

Multiple projections per endpoint #35

@charlessolar

Description

@charlessolar

To reduce the need to replace the entire endpoint stream every upgrade - lets create projections for each namespace value in [Versioned] events and subscribe to each.

Then, a replay would only be needed for the specific projection if an event version is upgraded inside a projection or a new event added.

thoughts:

  • should this only be for events? Or can we do commands too?
  • what happens if a command is updated but only 1 handler is updated to use the new version?
  • should handler projection names include a hash of handled event versions to prevent a user from updating the handler and not incrementing version?
  • should we support event upgrading/downgrading into a specific handler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions