Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can Kafka handle the mixture of authentication methods?

Solved Go to solution
Highlighted

Can Kafka handle the mixture of authentication methods?

I would like to access a kafka topic from both users

a) a user accessing through LDAP with Kerberos ticket

b) a user accessing through LDPA without Kerberos ticket

So, let say we have a kafka topic created called: topicA.

UserA (defined as a)) produces a message into topicA. And userB (defined as b)) needs to be able to consume the message from topicA.

The same should be valid other way round.

Would that work?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Can Kafka handle the mixture of authentication methods?

I have just got it answered - in HDP 2.3.x, 2.4.x and 2.5.x this scenario will not work. In the kerberized environment both users must have Kerberos ticket generated.

HDP 2.6, however, has an option that will allow users to authenticate with LDAP username/password.

3 REPLIES 3

Re: Can Kafka handle the mixture of authentication methods?

Expert Contributor

My understanding is that once Kafka is configured for Kerberos, Kafka requires a ticket for both Producers and Consumers.

Re: Can Kafka handle the mixture of authentication methods?

Hi @bhagan,

Thanks for your comment. That was also my assumption but was looking for confirmation.

Re: Can Kafka handle the mixture of authentication methods?

I have just got it answered - in HDP 2.3.x, 2.4.x and 2.5.x this scenario will not work. In the kerberized environment both users must have Kerberos ticket generated.

HDP 2.6, however, has an option that will allow users to authenticate with LDAP username/password.

Don't have an account?
Coming from Hortonworks? Activate your account here