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 Remote producer doesnt work

Kafka Remote producer doesnt work

Contributor

I have a sandbox on azure.

When trying to publish message to Kafka I get the following error:

Producer connection to sandbox.hortonworks.com:6667 unsuccessful (kafka.producer.SyncProducer:103)

java.net.ConnectException: Connection timed out: connect

4 REPLIES 4
Highlighted

Re: Kafka Remote producer doesnt work

Mentor

Do you have the sandbox.hortonworks.com entry in your /etc/hosts with the public ip of the azure VM?

Highlighted

Re: Kafka Remote producer doesnt work

Contributor

ok, I manged to solve it your answer is almost what I did but your answer should solve it as well .

What I did I created a dns name to the workstation and then used it

Thank you very much for the answer

Highlighted

Re: Kafka Remote producer doesnt work

Contributor

I wonder why simple consumer works and prdocer dont ..

Highlighted

Re: Kafka Remote producer doesnt work

Mentor

You need to provide logs or screenshots. What exactly is the issue. Also as good practice, either provide your steps as final resolution or accept best answer.

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