Hi guys, I’m new to event store and have a question regarding eventual consistency.
Is it correct, that if I append an event to a stream and right after read from the stream, that there is a guarantee (immediate consistency) that the event will be there?
- Appending to a stream in a single write
Task<WriteResult> AppendToStreamAsync(string stream, long expectedVersion, IEnumerable<EventData> events)
- Read a specific stream backwards
Task<StreamEventsSlice> ReadStreamEventsBackwardAsync(string stream, long start, int count, bool resolveLinkTos)
https://eventstore.org/docs/dotnet-api/reading-events/index.html#read-a-specific-stream-backwards
I tested it and it seems to be the case but I don’t have the testing possibility at the moment to verify that it’s 100% the case also in production after collection much more streams and events then I currently have.
I couldn’t find the information in the docs, if there is, that would be very helpful