Skip to content

Multiple projections per endpoint #35

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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