I have added sasl.kerberos.principal.to.local.rules = RULE:[1:$1@$0](test1@OPENSTACKLOCAL)s/@.*/test/,DEFAULT
in custom kafka broker in ambari. Now I want to confirm to which user my kerberos principal is resolving to when I try to produce to a topic ?
I tried enabling debug in log4j for ranger authorization in kafka but cannot see any of logs in ranger-kafka.log.
I cannot enable ranger audit logs.
Can some one please help ?
You can look at ranger log/access log to see how kafka policies are downloaded by kafka plugin (which should be running in the context of kafka identify)