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

Be more defensive in managing offset in the consumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • None
    • None

    Description

      In the high level consumer, we advance the consumed offset as messages are consumed. Periodically, we finish consuming a chunk of fetched data and move on to the next chunk. To be defensive, we need to validate that at the transition point, the consumed offset should be identical to the fetch offset of the next chunk.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: