chia7712 commented on code in PR #14306:
URL: https://github.com/apache/kafka/pull/14306#discussion_r1905622310
##########
core/src/main/scala/kafka/server/ControllerApis.scala:
##########
@@ -1005,4 +1023,20 @@ class ControllerApis(val requestChannel: RequestChannel,
}
}
}
+
+ def handleDescribeCluster(request: RequestChannel.Request):
CompletableFuture[Unit] = {
+ // Unlike on the broker, DESCRIBE_CLUSTER on the controller requires a
high level of
+ // permissions (ALTER on CLUSTER).
Review Comment:
Thanks for this excellent explanation, @cmccabe! I've created JIRA issue
https://issues.apache.org/jira/browse/KAFKA-18434 to incorporate this
explanation into the error message. This will help users understand the
permission distinctions when using controllers as bootstrap servers.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]