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/08/17 18:28:00 UTC

[jira] [Commented] (KAFKA-18157) Consider UnsupportedVersionException child class to represent the case of unsupported fields

    [ https://issues.apache.org/jira/browse/KAFKA-18157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014441#comment-18014441 ] 

Chia-Ping Tsai commented on KAFKA-18157:
----------------------------------------

[~ksolves.kafka] There is already a PR for this ticket, so it would be great if you could review it :)

> Consider UnsupportedVersionException child class to represent the case of unsupported fields
> --------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-18157
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18157
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: Lianet Magrans
>            Assignee: TengYao Chi
>            Priority: Minor
>
> [https://github.com/apache/kafka/pull/17989#discussion_r1869333289] 
>  
> Adding more pointers, I expect that when the Unsupported exceptions is due to fields validation it comes from building the request on [https://github.com/apache/kafka/blob/f60382bf21601b1c6708d094fadb13de59a77278/clients/src/main/java/org/apache/kafka/clients/NetworkClient.java#L582] , vs when it happens because the API is not supported, it should be detected when checking the usable version on [https://github.com/apache/kafka/blob/81447c7c9543d56e2fce76b861d3918d4cac6a2a/clients/src/main/java/org/apache/kafka/clients/NodeApiVersions.java#L155] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)