mimaison commented on code in PR #19050:
URL: https://github.com/apache/kafka/pull/19050#discussion_r2044183839


##########
metadata/src/main/java/org/apache/kafka/metadata/authorizer/StandardAuthorizer.java:
##########
@@ -207,4 +216,45 @@ static AuthorizationResult getDefaultResult(Map<String, ?> 
configs) {
         if (configValue == null) return DENIED;
         return Boolean.parseBoolean(configValue.toString().trim()) ? ALLOWED : 
DENIED;
     }
+
+    @Override
+    public void withPluginMetrics(PluginMetrics metrics) {
+        this.authorizerMetrics = new AuthorizerMetrics(metrics);
+    }
+
+    private class AuthorizerMetrics {

Review Comment:
   Frankly, no I didn't. This would require updating KIP-877 if we wanted to do 
so.



-- 
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-unsubscr...@kafka.apache.org

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

Reply via email to