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.

kafka error

kafka error

Contributor

i use two machine with ubuntu 16.04 for Kafka, one machine open producer console and the other run kafka broker and consumer console.

But when i try to send messages i got this error in producer console:

11089-error.png

How i solve this?

Thanks.

3 REPLIES 3

Re: kafka error

Contributor

Can you please check that there are no firewalls active between the machines or that the traffic on port 9092 is enabled.

Also please check if the setting in the server.properties file does have the correct setting for listeners configuration (requires restart of kafka)

listeners=PLAINTEXT://0.0.0.0:9092

Re: kafka error

Contributor
@Peter Greiff

Thanks for your answer, it work when i change

listeners=PLAINTEXT://<my kafka server IP>:9092
Highlighted

Re: kafka error

Contributor

Glad to help. Can you please close this questions / accept the answer so that it shows up as resolved? :) thanks.

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