You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Patrik Kleindl (Jira)" <ji...@apache.org> on 2019/08/21 18:07:00 UTC

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

    [ https://issues.apache.org/jira/browse/KAFKA-8825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912575#comment-16912575 ] 

Patrik Kleindl commented on KAFKA-8825:
---------------------------------------

This would help indeed, linked my related idea.

> 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
>            Priority: Major
>              Labels: needs-kip
>
> 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)