MINOR: Add a log to print acl change notification details
This is similar to config change logs for topic/broker. This will be useful for debugging any acl related issues.
Author: Manikumar Reddy
Reviewers: Rajini Sivaram
Closes from omkreddy/acl-change-log
@@ -729,6 +729,7 @@ class AclAuthorizer extends Authorizer with Logging {
private[authorizer] def processAclChangeNotification(resource: ResourcePattern): Unit = {
lock synchronized {
val versionedAcls = getAclsFromZk(resource)
+ info(s"Processing Acl change notification for $resource, versionedAcls : ${versionedAcls.acls}, zkVersion : ${versionedAcls.zkVersion}")
updateCache(resource, versionedAcls)
}
}
