- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Can Kafka handle the mixture of authentication methods?
- Labels:
-
Apache Kafka
Created ‎05-15-2017 04:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created ‎05-16-2017 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎05-15-2017 06:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My understanding is that once Kafka is configured for Kerberos, Kafka requires a ticket for both Producers and Consumers.
Created ‎05-16-2017 05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bhagan,
Thanks for your comment. That was also my assumption but was looking for confirmation.
Created ‎05-16-2017 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
