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 2019/08/21 17:04:00 UTC

[jira] [Created] (KAFKA-8825) Add option to reset consumer offset by relative time

Jason Gustafson created KAFKA-8825:
--------------------------------------

             Summary: Add option to reset consumer offset by relative time
                 Key: KAFKA-8825
                 URL: https://issues.apache.org/jira/browse/KAFKA-8825
             Project: Kafka
          Issue Type: Improvement
            Reporter: Jason Gustafson


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?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)