Skip to content

Kafka disable autocommit #2299

Answered by Wuerike
Wuerike asked this question in Q&A
Dec 20, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

@mihaitodor dont know if it is possible to reproduce it locally because it was a problem I only saw when working with high throughput, but I've changed to kafka_franz and it got solved

The weird is that I had a log as the first processor, and if I redeployed my app or if a pod restarted, some messages being processed at that time were lost whitout being logged by the first processor.

It seems like the messages were fetched by sarama but before be sent to the processors a restart ocorred and the messages were commited without being processed

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mihaitodor
Comment options

@Wuerike
Comment options

@mihaitodor
Comment options

Answer selected by Wuerike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants