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

Anton Agestam commented on KAFKA-18061:
---------------------------------------

[~linsiyuan] Please go ahead, I have not even glanced at the source code to 
figure out where this comes from. I also haven't checked the other related 
messages: RemoveRaftVoter and UpdateRaftVoter yet, it seems likely they are 
also affected.

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