Created 09-15-2016 11:23 AM
Guys,
We have setup Kerberized cluster (HDP 2.4.x) and have setup Kafka Broker(0.9.x) with SASL (kerberization).
What are the steps required to connect third party tool (producers/publishers) to connect to Kafka?
Going through the link : https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_secure-kafka-ambari/content/ch_secure-ka...
What I understand is : this tool needs access to JAAS.conf file. For now I've copied the /usr/hdp/current/kafka-broker/config/kafka_client_jaas.conf and shared with the third party tool and kept on the classpath.
Do we need anything else also in place?
Regards,
SS
Created 09-15-2016 12:44 PM
Kafka's documentation explains how to configure client's for secure connections with SASL:
http://kafka.apache.org/documentation.html#security_sasl_clientconfig
You need to set a system property on your producer/consumer application to specify the JAAS file:
-Djava.security.auth.login.config=/etc/kafka/kafka_client_jaas.conf
Created 09-15-2016 11:48 AM
@Smart Solutions could you please check if this article is of any help for you:
Created 09-15-2016 12:44 PM
Kafka's documentation explains how to configure client's for secure connections with SASL:
http://kafka.apache.org/documentation.html#security_sasl_clientconfig
You need to set a system property on your producer/consumer application to specify the JAAS file:
-Djava.security.auth.login.config=/etc/kafka/kafka_client_jaas.conf
Created 09-15-2016 03:06 PM
Thanks guys,
The missing bit was Kerberbos libraries on the third party machine where we are running the publishing application.
Thanks,
SS
Created 10-20-2017 01:46 PM
I am trying to implement similar thing. I am trying to connect to kafka (0.10) from java producer program outside edge node. I tested my produce program in edge node it is working. But it is not working outside edge node. I have valid kerberos ticket outside edge node and passed jaas_conf file? Can you explain your approach or any example you took as reference.