Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
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