Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5730

Consumer should ensure consistent ordering between sync and async offset commits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • consumer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              hachikuji Jason Gustafson
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: