-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Incorrect order of produced messages in transaction #1626
Labels
Comments
Does using |
Yes. In our real scenario we use |
I have tested by adding |
should I make a PR with new |
Sure, Thanks |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Consider a scenario (slightly modified code from sample
Sample.Kafka.PostgreSql
project):Sometimes we are seeing that produced messages are in incorrect order, meaning that message with less
DateTime.Now
value has higher offsetthis happens not always, but quite frequently.
In our scenario even adding
await Task.Delay(500);
between two messages does not help.Could it be because there is no await in
Flush
method? In that case possible solution might be newFlushAsync
functionThe text was updated successfully, but these errors were encountered: