Hey, I have done this before with this proxy: https://github.com/grepplabs/kafka-proxy#connect-to-kafka-through-socks5-proxy-example
You can spin up a socks proxy when you ssh to your jumphost (-D argument if not mistaken) and configure the proxy as described in the readme. It is good for dev and test purposes. I wouldn't do this in production. Best, David On Thu, Sep 12, 2019 at 11:23 AM Akshay Das <aks...@fivetran.com.invalid> wrote: > Hi Team, > > I'm trying to consume from a kafka cluster using java client, but the kafka > server can only be accessed via jumphost/ssh tunnel. But even after > creating ssh tunnel we are not able to read because once conusmer fetches > metadata it uses original hosts to connect to broker. Is it possible to > stop this behaviour? > > Thanks, > Akshay Das >