Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to node kafka-0.broker.kafka.svc.cluster.local:9092 #328

Open
maximumbreak opened this issue Jul 24, 2020 · 1 comment
Open

Comments

@maximumbreak
Copy link

maximumbreak commented Jul 24, 2020

Hi There,
I should access producer from local to expose (NodePort)
My command :

bin/kafka-console-producer.sh --broker-list {master-ip}:32400 \                                                                                                                          
--topic test

Result:

WARN [Producer clientId=console-producer] Error connecting to node kafka-0.broker.kafka.svc.cluster.local:9092 (id: 0 rack: null) (org.apache.kafka.clients.NetworkClient)
java.net.UnknownHostException: kafka-0.broker.kafka.svc.cluster.local

please help me,
Thank you

@wesleyscholl
Copy link

I have also experienced this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants