Command handling, whenever it resulted in new events being applied, should carry the position of the last event it generated.
By doing so, dispatchers of the command are notified that "your model has been updated until position X."
This knowledge is valuable, as it will allow the dispatcher to share this for use during querying.
Thus, the query could carry this position, essentially noting "I want this query model to be at least up to date to position X."
Although this does not resolve the existence of Eventual Consistency at all, it should simplify the user's implementation for this greatly.
Note that this issue is blocked until #1740 has been implemented.
Current Behaviour
The position of the last applied event is not returned.
Wanted Behaviour
The position of the last applied event is returned.
Feature Description
Command handling, whenever it resulted in new events being applied, should carry the position of the last event it generated. By doing so, dispatchers of the command are notified that "your model has been updated until position
X
."This knowledge is valuable, as it will allow the dispatcher to share this for use during querying. Thus, the query could carry this position, essentially noting "I want this query model to be at least up to date to position
X
."Although this does not resolve the existence of Eventual Consistency at all, it should simplify the user's implementation for this greatly. Note that this issue is blocked until #1740 has been implemented.
Current Behaviour
The position of the last applied event is not returned.
Wanted Behaviour
The position of the last applied event is returned.