You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "jsancio (via GitHub)" <gi...@apache.org> on 2024/07/04 19:35:54 UTC

Re: [PR] KAFKA-16975 The error message of creating `__cluster_metadata` should NOT be "Authorization failed" [kafka]

jsancio commented on PR #16372:
URL: https://github.com/apache/kafka/pull/16372#issuecomment-2209492106

   > @jsancio Could you please take a look? not sure why #12885 decided to return Authorization error instead of bad request. Please feel free to correct me. thanks
   
   I don't have a strong argument for returning an authorization error vs an invalid request error as long as the UX makes sense to the user.
   
   @brandboat take a look at this PR https://github.com/apache/kafka/pull/12885 and make sure that you also remove any code that I added to return authorization errors when creating the __cluster_metadata topic. This PR returns an invalid request error but leaves being code that is not needed anymore.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org