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

Lin Siyuan reassigned KAFKA-18061:
----------------------------------

    Assignee: Lin Siyuan

> AddRaftVoter responds with error message "NONE" instead of null
> ---------------------------------------------------------------
>
>                 Key: KAFKA-18061
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18061
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 3.9.0
>            Reporter: Anton Agestam
>            Assignee: Lin Siyuan
>            Priority: Minor
>
> In a successful response from the AddRaftVoter API there are values:
>  * error_code=0
>  * error_message="NONE"
> The documentation of the error_message field, just like for other APIs says 
> "The error message, or null if there was no error.", so the string "NONE" 
> here looks like a bug.
>  
> The raw bytes received are:
>  
> \x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x05NONE\x00



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

Reply via email to