Dont Use Librdkafka
No, librdkafka does not have a kerberos.domain.name property; instead, it uses sasl.kerberos.service.name for the broker’s service name and sasl.kerberos.principal for the client’s principal. The krb5.conf file is used by the underlying Kerberos libraries to handle domain and realm information. Configuration Property Description sasl.kerberos.service.name The service name for the Kafka broker (e.g., kafkaclient). sasl.kerberos.principal The principal for the client, which is used for authentication (e.g., kafkaclient/mydomain.com@REALM.COM). sasl.kerberos.keytab The path to the client’s keytab file.