Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Kafka HDP-2.3.2 Broker Config for Listeners=?

avatar
Super Collaborator

Hi ALL!

After upgrading to HDP-2.3.2, we're having problems on Kafka.

I have 3 brokers. My question is, what should I put on Broker Config "Listeners=?"

If I put PLAINTEXT://0.0.0.0:6667 - hostname is not registered to ZK. If I put PLAINTEXT://host3:6667,PLAINTEXT://host2:6667,PLAINTEXT://host1:6667 - Kafka won't start because it wont access port 6667 being used by other brokers (conflict).

The problem, I can't produce and consume messages from kafka. I can create topics and list them okay.

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Fix was to use advertised.host.name instead host.name.

THanks!

View solution in original post

3 REPLIES 3

avatar
Master Mentor

avatar
Master Mentor

avatar
Super Collaborator

Fix was to use advertised.host.name instead host.name.

THanks!