Apply state changes when writing/reading events #6171
Labels
kind/toil
Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
scope/broker
Marks an issue or PR to appear in the broker section of the changelog
Milestone
Description
When migrating the stream processors, we need to make sure that all state changes are reflected by events. We want to extract the state changes in the processors/behaviors into a
StateWriter
that writes an event and apply the state change. The same logic is called on replay to restore the state.StateWriter
,EventApplier
) that can be used by the processors and for replayReference:
The text was updated successfully, but these errors were encountered: