We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that in https://github.com/sevenmind/kafka_ex_gen_stage_consumer/blob/master/lib/kafka_ex_gen_stage_consumer.ex#L398, offset is marked to be committed if it's higher than the last offset marked to be committed.
However, in situations when Kafka messages are processed in parallel, I think that such a case could occur:
KafkaExGenStageConsumer.trigger_commit/2
kafka_ex_gen_stage_consumer
Message with offset 101 has not been processed, but committed offset is 102.
off_broadway_kafka uses an ETS table to keep track of acknowledged offsets: https://github.com/bbalser/off_broadway_kafka/blob/master/lib/off_broadway/kafka/acknowledger.ex
off_broadway_kafka
The text was updated successfully, but these errors were encountered:
This is certainly a potential issue.
Sorry, something went wrong.
No branches or pull requests
It seems that in https://github.com/sevenmind/kafka_ex_gen_stage_consumer/blob/master/lib/kafka_ex_gen_stage_consumer.ex#L398, offset is marked to be committed if it's higher than the last offset marked to be committed.
However, in situations when Kafka messages are processed in parallel, I think that such a case could occur:
KafkaExGenStageConsumer.trigger_commit/2
)kafka_ex_gen_stage_consumer
commits the offset 102Message with offset 101 has not been processed, but committed offset is 102.
off_broadway_kafka
uses an ETS table to keep track of acknowledged offsets: https://github.com/bbalser/off_broadway_kafka/blob/master/lib/off_broadway/kafka/acknowledger.exThe text was updated successfully, but these errors were encountered: