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

Configuring infrastructure subscriptions in a replay context #14

Open
MrHash opened this issue Jul 6, 2016 · 0 comments
Open

Configuring infrastructure subscriptions in a replay context #14

MrHash opened this issue Jul 6, 2016 · 0 comments

Comments

@MrHash
Copy link
Contributor

MrHash commented Jul 6, 2016

At the moment domain events can be replayed on a special replay channel, which can generate infrastructure events such as a ProjectionCreatedEvent. For handling other configurable infrastructure concerns such as sending emails, we cannot configure a handler to be aware of the replay context.

In order to solve this problem, we could use a replay environment modifier, where domain events are distributed on the standard domain events channel, and much finer control of infrastructure handling is possible. This means we can also remove the replay channel concept.

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

No branches or pull requests

1 participant