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.

How to configure Kafka with kerberos behind NAT

Highlighted

How to configure Kafka with kerberos behind NAT

Contributor

We have a HDF 3.1 cluster where the users have to use the brokers NAT IP instead of real IP. I have added below.


listeners=INTERNAL://x.x.x.x:6667,EXTERNAL://x.x.x.x:9092

listener.security.protocol.map=INTERNAL:PLAINTEXTSASL,EXTERNAL:PLAINTEXTSASL

advertised.listeners=INTERNAL://xxxxxx.corp:6667,EXTERNAL://xxxxxxx.corp:9092

inter.broker.listener.name=INTERNAL



but since security.inter.broker.protocol and inter.broker.listener.name can't be set at the same time, i have removed inter.broker.listener.name and added INTERNAL for security.inter.broker.protocol this has caused beow error.


Invalid security protocol `INTERNAL` defined in security.inter.broker.protocol