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

Sönke Liebau commented on KAFKA-8825:
-------------------------------------

I think that might also help in DR / failover scenarios where a secondary 
cluster has no offsets for the consumer groups, when failing over currently, 
offsets need to be set for all groups, quite often to now - 2h or something 
similar to ensure nothing is missed. 
In that scenario a reset strategy like this would be useful as well, and 
probably in many more that I can't think of of the top of my head.

> 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)

Reply via email to