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
Since allow the consumer to disable auto-commit offsets, so how to commit offset manually? #1764
Comments
sarama.NewConfig().Consumer.Offsets.AutoCommit.Enable = false func MarkMessage(sess sarama.ConsumerGroupSession, msg *sarama.ConsumerMessage, metadata string) {
sess.MarkMessage(msg, metadata)
} So sorry, manually commit also failed. |
I am using v1.27.0 and have set up:
But sarama doesn't automatically submit the offset as expected. |
I see, it still requires a manual process to submit, but the submissions are spaced out. |
i test the settings like that, but the kafka' CURRENT-OFFSET does't change, @wclaeys @dnwe @d1egoaz @bai |
Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. |
Fixed by #1699 |
refer to the PR #1164.
I want to commit offsets manually, but I cannot find any API or sample? Could anyone give me a hand? Thanks!
The text was updated successfully, but these errors were encountered: