Release v2.3.0
Summary
Kotlin and Java reactors and reducers reach parity with the C# client on observation behavior.
Added
@Reactorand@Reducertake aneventSequence, for observing a sequence other than the event log.@ReducertakesisActive, for a reducer the kernel does not actively run.@OnceOnlyexcludes a reactor from replay on the class, or a single handler on a method.@Replaymarks the handler that takes over while an observer is being replayed.- Reducer handlers can take an
EventContextafter the state. EventContextcarries the observation state, event source type, event stream type and id, event store, namespace, causation, tags, and hash.
Changed
- Handler shapes the client cannot invoke now fail at
register()instead of on every event. (#17)
Fixed
EventContext.correlationIdwas a random value andcausedBywas alwaysIdentity.unknown; both are now read from the kernel.