You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Anton Agestam (Jira)" <ji...@apache.org> on 2024/11/21 13:34:00 UTC

[jira] [Created] (KAFKA-18061) AddRaftVoter responds with error message "NONE" instead of null

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)