Skip to content

RFC stream to stream projections #193

Description

@prolic

Assumed you use one stream per aggregate, and you have streams names like:

user-edb72b9e-1896-49bf-9fda-7c8306ca34b1
user-cb8c6891-8eb3-45e3-bffb-1ab4b0ec31b1

We could make a projection from those two streams to a new event stream users - that is also an event stream but combines both streams in one.

We could make another projection from all streams like

user-{id1} ,user-{id2}, blogpost-{id1}, blogpost-{id2} to a category streams like when contains: user and blogpost - the rule would be the first part of an stream name until the first - is the category name.

Next possibility would be one stream projection per event type.

Next possibility would be one stream for all stream names.

Most of them would be internal stream names (prefixed with _) and are optional to enable (maybe a distinct package, too, relying on amqp or pthreads?).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions