Created 08-10-2016 06:10 PM
1] Can I configure both PLAINTEXT and PLAINTEXTSASL as the communication type with Kakfa broker in a kerberozied cluster ?
If above is possible -- How I achieve the same from Ambari configuration ?
2] If above is not possible, can I do only PLAINTEXT in kerberozied cluster?
Thanks
Santhosh
Created 08-10-2016 06:40 PM
@sgowda Yes its possible. You can go to ambari kafka config page and add PLAINTEXTSASL://localhost:6667, PLAINTEXT://localhost:6668. Make sure the ports are unique.
In PLAINTEXT connections user's identity set to Anonymous. You need to make sure you set the right ACLs using kafka-acls.sh command to give permissions to Anonymous user.
Created 08-10-2016 06:35 PM
found below text in doc.hortonworks.com
"The broker can only accept SASL (Kerberos) connections, and there is no wire encryption applied. (Note: For a non-secure cluster, <protocol>
should be set to PLAINTEXT.)"
Created 08-10-2016 06:40 PM
@sgowda Yes its possible. You can go to ambari kafka config page and add PLAINTEXTSASL://localhost:6667, PLAINTEXT://localhost:6668. Make sure the ports are unique.
In PLAINTEXT connections user's identity set to Anonymous. You need to make sure you set the right ACLs using kafka-acls.sh command to give permissions to Anonymous user.
Created 08-10-2016 06:50 PM
@Sriharsha Chintalapani thanks -- worked after adding acl permission for ANONYMOUS user !
Created 11-05-2016 01:16 PM
Can this be done when the authorizer class being used is RangerKafkaAuthorizer and not SimpleAclAuthorizer?