Created 08-29-2017 08:46 PM
Hello,
I have read every piece of documentation on this topic, and can't seem to find the answer.
I have a kafka 0.10.2 cluster (currently 3 nodes, soon to be 40) installed via Ambari. It works when connecting via the local/private subnet (nifi -> kafka).
When I try and run a producer from our office (cluster is in EC2), it doesn't work, because the bootstrap server meta list returns back internal hostnames of the brokers.
From what I have read, it requires the setting 'advertised.listeners', when I add this setting like this:
```advertised.listeners="PLAINTEXT://host.name.here:port,PLAINTEXT://host2.name.here:port,PLAINTEXT://host3.name.here:port"```
Kafka brokers will not start now.
I simply need to be able to produce and consume from kafka from outside of EC2.
What am I overlooking?
Thank you!
Created 08-29-2017 08:55 PM
You will need the public dns for the EC2!
Created 08-29-2017 09:06 PM
and put it in what setting? i put the public DNS in the advertised listeners settings, and it no worky.
Created 08-29-2017 09:21 PM
Update the /etc/hosts
Created 08-30-2017 04:26 AM
Found the answer here: https://www.youtube.com/watch?v=bRKw5y_tx5E