I want to configure a Kafka cluster behind a proxy. On the proxy I did a port forwarding, but Kafka doesn't accept the messages from a producer using the proxy. How do I have to configure Kafka. I use Kafka version 0.10.
My understanding of how it works is -- when a producer first connects to a cluster it receives back the topology layout of the cluster (ie which brokers are leaders for which topics/partitions etc). Next, the producer will then connect directly to the leader broker for a specific topic/partition - ie it wont know anything about the proxy, and will only connect to brokers returned in the topology.