This is a shell script to access remote Kafka cluster via SSH tunnel.
-
chmod +x kafkaTunnel.sh
-
./kafkaTunnel.sh [--remote-machine user@hostname] [--zookeeper host1:port1, ...] [---bootstrap host1:port1, ...]
-
Then the Kafka zookeepers/servers can be accessed on the local machine by the original IPs/ports.
This shell scrip is an extension for this python script.
Ehab Qadah: ehabqadah@gmail.com.