-
I've been losing messages using the kafka input, I put a log as the first processor and the messages I lost dont even get logged. I noticed that the lost messages are always close to I think a solution would be disable the offest auto commit, but it seems there isn't this option. Can somebody give me some help? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @Wuerike 👋 What do you mean by "losing messages" and can you provide some means to reproduce this issue you're seeing? Also, can you reproduce it with both the |
Beta Was this translation helpful? Give feedback.
-
@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 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 |
Beta Was this translation helpful? Give feedback.
@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 solvedThe 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