eventstore icon indicating copy to clipboard operation
eventstore copied to clipboard

Link events to streams by category, event type, and correlation id

Open slashdotdash opened this issue 6 years ago • 2 comments

Add support for linking appended events to streams using optional, built-in streams. This allows subscriptions to be created for a subset of all events (e.g. events of a given aggregate type, or event type, or by correlation id).

Category

Appending an event to a stream named "account-1234" would link the event to a stream named "$category-account".

Event type

Appending an AccountRegistered event to a stream would link the event to a stream named "$event-AccountRegistered".

Correlation id

Appending an event with a correlation id of "3ceb8ff0-95d7-45f1-8b6f-90b19c0db663"would link the event to a stream named "$correlation-3ceb8ff0-95d7-45f1-8b6f-90b19c0db663".

slashdotdash avatar Jun 28 '19 10:06 slashdotdash

That would be very useful feature! It also makes a lot more sense for listeners.

andreapavoni avatar Apr 18 '20 22:04 andreapavoni