Kafka - Fail Connecting Remote Broker - NoBrokersAvailable
<p>I have created a cluster (google cloud) with 3 nodes. Zookeeper is running on all nodes and I have started Kafka on one of the nodes. I can communicate (publish/consume) from any machine on the cluster but when i try to connect from a remote machine i get a NoBrokersAvailable exception.</p>
<p>I have opened ports in the firewall for testing and I have tried messing around with advertised_host and port in the Kafka config but I am unable to connect.</p>
<p>What is the expected configuration? - I would have expected, having suitable defaults, that my configuration would work in both the internal and remote case but it does not. I am not sure what part of the configuration of zookeeper/kafka would allow me to tweak this.
What is to be done?</p>