Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
slashdotdash opened this issue Jun 28, 2019 · 1 comment
Open
Labels

Comments

@slashdotdash
Copy link
Member

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".

@andreapavoni
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants