Learn how to configure LDAP authentication for Kafka brokers.
You can enable Kafka to use LDAP credentials for client to broker authentication.
Broker configuration is done by configuring the required properties in Cloudera Manager.
In Cloudera Manager, select the Kafka service.
Select Configuration.
Enable LDAP authentication:
Find the SASL/PLAIN Authentication
property.
Click the radio button next to LDAP. Do this for all
required Kafka services.
Optional: Configure the allow list of LDAP URLs.
You can restrict which LDAP URLs Kafka is allowed to connect to by configuring the
com.cloudera.kafka.ldap.allowed.urls Java option. By specifying a
trusted list of LDAP servers, you can have stricter control over the LDAP servers Kafka
can access.
Find the Additional Broker Java Options property.
Add the com.cloudera.kafka.ldap.allowed.urls Java option. For
example: