Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency issue: same accountId "Transfer" messages ignored #1

Open
VictorGil opened this issue Aug 24, 2019 · 0 comments
Open

Concurrency issue: same accountId "Transfer" messages ignored #1

VictorGil opened this issue Aug 24, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@VictorGil
Copy link
Owner

When more than one "Transfer" messages with the same accountId are taken from the "transfers" Kafka topic in the same batch, then the balance changes are applied to the same "AccountBalance" object, instead of being applied serially.
This has the effect of balance updates being lost, and hence, the balance becomes incorrect.
You may see the 10th part of the related YouTube video.

@VictorGil VictorGil added the bug Something isn't working label Aug 24, 2019
@VictorGil VictorGil self-assigned this Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant