Anton Agestam created KAFKA-18061:
-------------------------------------

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


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