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

Add option to reset consumer offset by relative time

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

              • Assignee:
                Unassigned
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: