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

Chia-Ping Tsai resolved KAFKA-17331.
------------------------------------
    Resolution: Fixed

trunk:

[https://github.com/apache/kafka/commit/0fde28049aab195c19796c28e2e86a3d19884813]

[https://github.com/apache/kafka/commit/d67c18b4aec66fec5d145c9ee737c7a469b8635c]

 

3.9:

[https://github.com/apache/kafka/commit/db686fb9645612ca0a44535b409c671904124084]

https://github.com/apache/kafka/commit/a954ad1c67ce213d40cb20c64b90b39e451645d9

 

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

Reply via email to