Hi kafka users,

We have below scenario and need inputs for the same.

Installed kafka as a pod in kubernetes cluster.
Created a service (kind : k8s service) for the kafka service.

Kafka was installed using the hostname of the docker container as the principal 
with Kerberos enabled.
So while trying to access the kafka via  the pod hostname within the k8s 
cluster it all works fine.

But, when trying to access the same via service(which has endpoints of all the 
brokers),
The authentication fails.

This is due to the fact that the "bootstrap url" given to producer, is not what 
kafka is using as the principal name.
So is there a way to work around this issue and be able to access kafka both 
via a service and directly with the pod as well.

Is there any provision to install kafka with multiple principals via the jaas 
conf file ?

Thanks,
Kaushik


Reply via email to