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

Add option to reset consumer offset by relative time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      When the consumer first initializes its position or when it encounters an offset out of range error, we have two automatic reset policies: earliest and latest. With longer retention times, the earliest reset option is often too expensive and the latest reset requires more time to build recent context. Users can also set an auto reset policy of "none" and handle it themselves, but it may be useful to have a configurable option between earliest and latest. So a user can reset to one day ago or one hour ago for example. Would this be useful?

      Attachments

        Issue Links

          Activity

            People

              dongjin Dongjin Lee
              hachikuji Jason Gustafson
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: