[
https://issues.apache.org/jira/browse/KAFKA-17331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai updated KAFKA-17331:
-----------------------------------
Fix Version/s: 4.0.0
> Throw/return unsupported version exception if the server/client does NOT
> support EarliestLocalSpec and LatestTieredSpec
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-17331
> URL: https://issues.apache.org/jira/browse/KAFKA-17331
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Chia-Ping Tsai
> Assignee: PoAn Yang
> Priority: Blocker
> Fix For: 4.0.0, 3.9.0
>
>
> see comment: https://github.com/apache/kafka/pull/16841#discussion_r1714476438
> the version must be >=8 if timestamp=-4L and the version must be >=9 if
> timestamp=-5
> *client-side*
> it will throw exception in building request[0].
> *server-side*
> it will return UNSUPPORTED_VERSION in processing ListOffsetsRequest [1]
> [0]
> https://github.com/apache/kafka/blob/5b9cbcf886d0666849e81d0fbb8c19d3531c1143/clients/src/main/java/org/apache/kafka/common/requests/ListOffsetsRequest.java#L97
> [1]
> https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/KafkaApis.scala#L1173
--
This message was sent by Atlassian Jira
(v8.20.10#820010)