You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Philip Nee (Jira)" <ji...@apache.org> on 2023/10/27 20:49:00 UTC

[jira] [Resolved] (KAFKA-15550) OffsetsForTimes validation for negative timestamps in new consumer

     [ https://issues.apache.org/jira/browse/KAFKA-15550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Nee resolved KAFKA-15550.
--------------------------------
    Resolution: Fixed

> OffsetsForTimes validation for negative timestamps in new consumer
> ------------------------------------------------------------------
>
>                 Key: KAFKA-15550
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15550
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, consumer
>            Reporter: Lianet Magrans
>            Assignee: Lianet Magrans
>            Priority: Major
>              Labels: consumer-threading-refactor, kip-848, kip-848-preview
>
> OffsetsForTimes api call should fail with _IllegalArgumentException_ if negative timestamps are provided as arguments. This will effectively exclude earliest and latest offsets as target times, keeping the current behaviour of the KafkaConsumer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)