[
https://issues.apache.org/jira/browse/KAFKA-18061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-18061.
------------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> 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
> Fix For: 4.2.0
>
>
> 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)