In our system we have a projection for each bounded context in which its domain events are combined. Unfortunately we forgot to add another stream to the projection.
I see two ways to change the projection to process the forgotten events.
- I stop the projection and change it, then I start it again. The additional events are simply attached to the back. As a result, the attached events are not sorted correctly and become unusable.
- I stop the projection, change it and reset it. All events will be delivered again but are sorted correctly.
According to which pattern do you change your projections? Is it maybe bad practice to change projections at all?