Thanks for the KIP, this is useful. A comment below.

On Thu, Nov 7, 2024 at 4:51 PM Matthias J. Sax <[email protected]> wrote:

> I am personally not convinced that adding a new config
> `auto.offset.reset.by.duration` is the best way. Kafka in general has
> way too many configs and trying to avoid adding more configs seems to be
> desirable?  -- It seems this might be a point of contention, and if the
> majority of people wants this new config so be it. I just wanted to
> stress my concerns about it.


I agree that we don't need a new config. We can simply use a value for the
existing config. I think a prefix followed by the relevant ISO8601 string
would be clear enough. For example, "by-duration:P23DT23H" or something
along those lines. I do find the "by-duration" description a bit confusing
for what we're doing here (i.e. current time - duration) although there is
precedent in the reset offsets tool.

Ismael

Reply via email to