You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/05/11 16:17:00 UTC
[jira] [Commented] (KAFKA-19267) the min version used by ListOffsetsRequest should be 1 rather than 0
[ https://issues.apache.org/jira/browse/KAFKA-19267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950784#comment-17950784 ]
Chia-Ping Tsai commented on KAFKA-19267:
----------------------------------------
related code:
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/ListOffsetsRequest.java#L69
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/ListOffsetsRequest.java#L84
> the min version used by ListOffsetsRequest should be 1 rather than 0
> --------------------------------------------------------------------
>
> Key: KAFKA-19267
> URL: https://issues.apache.org/jira/browse/KAFKA-19267
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> in the protocol, `ListOffsetsRequest` v0 is unsupported - but in the code base we still set the oldestAllowedVersion to 0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)