Release v7.4.0
Summary
Adds functionality that enables streaming of FetchForAggregateResponse
and filtering of aggregate events based on event type. This is to be able to write an aggregate root rehydration implementation in the SDKs that only fetches the events that are relevant for rehydration and also fixes the problem that fetch for aggregate responses could be too large.
Added
aggregateRootVersion
(field 7) on the innerCommittedAggregateEvent
message in theCommittedAggregateEvents
message. It represents the aggregate root version that the event was applied toFetchForAggregateInBatches
method toEventStore
which takes in aFetchForAggregateInBatchesRequest
and streams backFetchForAggregateResponse
Deprecated
aggregateRootVersion
(field 3) onCommittedAggregateEvents
it represents the aggregate root version of the last event in theevents
sequence, it is now replaced bycurrentAggregateRootVersion
(field 5) which represents the current aggregate root version of the aggregate regardless of how many events are included in the sequence