watermill icon indicating copy to clipboard operation
watermill copied to clipboard

[watermill-kafka] why message doesn't resend when consumer group don't send ACK

Open suhoangson opened this issue 2 years ago • 1 comments

when consumer group got message from kafka topic and process, some error happen then consumer don't call msg.Ack() , why this message don't resend again, just resend when i restart consumer

suhoangson avatar Apr 27 '22 15:04 suhoangson

The consumer will continue to seek forward and poll within the runtime of the same application. When you restart, you lose local state, and so Kafka offset state will be fetched from the consumer group.

You can open an issue with the Sarama client repo if you think this is a problem with the client implementation.

OneCricketeer avatar Jun 14 '22 02:06 OneCricketeer