d8tltanc commented on a change in pull request #9485:
URL: https://github.com/apache/kafka/pull/9485#discussion_r544547081



##########
File path: 
jmh-benchmarks/src/main/java/org/apache/kafka/jmh/acl/AclAuthorizerBenchmark.java
##########
@@ -116,38 +122,88 @@ private void setFieldValue(Object obj, String fieldName, 
Object value) throws Ex
             Set<AclEntry> entries = aclEntries.computeIfAbsent(resource, k -> 
new HashSet<>());
 
             for (int aclId = 0; aclId < aclCount; aclId++) {
-                AccessControlEntry ace = new 
AccessControlEntry(principal.toString() + aclId,
-                    "*", AclOperation.READ, AclPermissionType.ALLOW);
-                entries.add(new AclEntry(ace));
+                // The principle in the request context we are using

Review comment:
       commit ec80dc4e55758d83835f3ecde381a988d6dd4779




----------------------------------------------------------------
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.

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


Reply via email to