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

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

Github user asfgit closed the pull request at:

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


> Consumer should ensure consistent ordering between sync and async offset 
> commits
> --------------------------------------------------------------------------------
>
>                 Key: KAFKA-5730
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5730
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>             Fix For: 1.0.0
>
>
> If {{commitSync}} is called with an async offset commit in-flight, it is 
> possible (even likely) for it to return prior to the invocation of the async 
> callback even though the OffsetCommit request for the latter will have 
> actually completed first. In this case, the async callback is not invoked 
> until the next call to {{poll}}, which can lead to very confusing behavior 
> since the client is led to think that the async commit happened second.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to