You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kuan Po Tseng (Jira)" <ji...@apache.org> on 2024/06/17 09:12:00 UTC

[jira] [Commented] (KAFKA-16975) The error message of creating `__cluster_metadata` should NOT be "Authorization failed"

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

Kuan Po Tseng commented on KAFKA-16975:
---------------------------------------

+1 on this, perhaps we can should set `Errors.INVALID_REQUEST.code` and refine the error message.
[~chia7712] , I'm willing to solve this if you are not working on this one, thanks !

> The error message of creating `__cluster_metadata` should NOT be "Authorization failed" 
> ----------------------------------------------------------------------------------------
>
>                 Key: KAFKA-16975
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16975
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> The error message of creating "__cluster_metadata" by admin is "Authorization failed.". That could confuse users that it implies you "can" create it in using root. However, the fact is that we DISALLOW users to create it as a regular topic even though you are the boss :)



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