Hi, all.

I'm trying Log produce to Remote Kafka Cluster over SSH Tunneling.

Configuration is below.
- Kafka cluster in DataCenter(each machine has Grobal IP Address).
Firewall allows only ssh port(22).
ex) 192.168.100.100
- Kafka producer exists out of DataCenter.
ex) 172.16.0.100

I tried produce over SSH Tunneling.
Producer successed getting meta data from brokers.
But meta data is Address which producer can't access directry.

Detail is below.
1. Ssh connect producer machine to DataCenter.
172.16.0.100 > 192.168.100.100:22
2. Create SSH Tunnel over ssh connection.
172.16.0.100's localhost:19092 to 192.168.100.100:9092(Kafka receive port).
3. Producer connect to localhost:19092.
Producer get metadata from brokers(192.168.100.100:9092).
4. Producer failed to connect brokers(192.168.100.100:9092).

In such situations, how I can produce to Remote Kafka Cluster?

-- 
#################################
木村 宗太郎 Sotaro Kimura
<rfbrin...@gmail.com>
#################################

Reply via email to