Chia-Ping Tsai created KAFKA-17331:
--------------------------------------
Summary: 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: Chia-Ping Tsai
Fix For: 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/trunk/clients/src/main/java/org/apache/kafka/common/requests/FetchRequest.java#L142
[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)