-
Notifications
You must be signed in to change notification settings - Fork 798
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
FetchMessage Why submit offset automatically #1354
Comments
go version go1.22.4 darwin/arm64 |
why did you think the FetchMessage function will submit offset automatically? according to code, it will not submit offset , and also it doesn't appear this issue in our env. |
In my own tests, instead of committing, shouldCommit returning false will still automatically consume the next offset |
plz use QueueCapacity:1,and try again..
|
Ok, I'll try |
I have tested it and configured QueueCapacity equal to 1 to automatically commit offset without CommitMessages being explicitly called |
I tried several ways, including setting CommitInterval, to commit automatically, and didn't commit offset through CommitMessages as expected. Here is my sample code.
The text was updated successfully, but these errors were encountered: