You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2018/03/03 21:26:00 UTC

[jira] [Created] (KAFKA-6609) Offset commit reordering possible on coordinator disconnect

Jason Gustafson created KAFKA-6609:
--------------------------------------

             Summary: Offset commit reordering possible on coordinator disconnect
                 Key: KAFKA-6609
                 URL: https://issues.apache.org/jira/browse/KAFKA-6609
             Project: Kafka
          Issue Type: Improvement
          Components: consumer
            Reporter: Jason Gustafson


When reconnecting to the coordinator following a disconnect, it is possible for offset commits sent prior to the disconnect to be received _after_ offset commits sent on the new connection. This is rare in practice because offset commits are not sent that frequently and there is some latency following a coordinator disconnect in order to rediscover the coordinator. I have, however, observed this happening in a failing system test. We were more likely to hit it in the test scenario due to KAFKA-6606, which caused more inflight offset commit requests than we would usually see.

I am not sure how important it is to fix this since the scenario is unlikely in practice, but one solution would be to steal a page from the the idempotent producer and add sequence numbers to offset commit requests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)