Hi,
I’m designing part of a system and I want to use eventstore rather than a message queue to allow a REST api to communicate with a backend process.
In this case, can I use ExpectedVersion.Any all the time, as the specific event version or order that is written aren’t important—all I’m concerned about is that the event gets added to the queue, or should I be taking the version in to
account and doing a conditional write?
If the latter, when a conditional write fails with a version mismatch, is there a way other than reading the last event ot get the version—i.e is it returned in the ConditionalWriteResult structure?
Any help appreciated.
Kind regards
jSean.