[ 
https://issues.apache.org/jira/browse/KAFKA-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038335#comment-15038335
 ] 

ASF GitHub Bot commented on KAFKA-2942:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/623


> Inadvertent auto-commit when pre-fetching can cause message loss
> ----------------------------------------------------------------
>
>                 Key: KAFKA-2942
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2942
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>             Fix For: 0.9.0.1
>
>
> Before returning from KafkaConsumer.poll(), we update the consumed position 
> and invoke poll(0) to send new fetches. In doing so, it is possible that an 
> auto-commit is triggered which would commit the updated offsets which hasn't 
> yet been returned. If the process then crashes before consuming the messages, 
> there would be a gap in the delivery.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to