Hi
On Fri, 8 Nov 2019 at 11:13, 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 consumer fetches
> metadata it uses original hosts to connect to broker. Is it possible to
> stop this behaviour?  Also we don't want to edit the hosts file in the
> local machine.
>
> Thanks,
> Akshay Das
>

I think a similar issue was reported in SO a while back. In summary
metadata request OFF with correctly configured broker seems to be the
option (without /etc/host change).

https://stackoverflow.com/questions/45854168/consume-from-a-kafka-cluster-through-ssh-tunnel

Reply via email to