You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just one question:
I see that you do an "optimistic lock" by checking the expected version in the command with the version of the snapshot.
Why you need this?
I mean using Kafka "exactly once" does not guarantee that there is only one "thread" that apply commands on a single aggregate, so why checking the version. I would expect that it always match.
The text was updated successfully, but these errors were encountered:
Thanks for sharing your code! Very interesting!
Just one question:
I see that you do an "optimistic lock" by checking the expected version in the command with the version of the snapshot.
Why you need this?
I mean using Kafka "exactly once" does not guarantee that there is only one "thread" that apply commands on a single aggregate, so why checking the version. I would expect that it always match.
The text was updated successfully, but these errors were encountered: