You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "M. Manna" <ma...@gmail.com> on 2019/08/05 13:59:48 UTC

NETWORK_EXCEPTION for cloud deployment

Hello Users,

I am trying to deploy a 3 node cluster on GCP platform using helm chart. We
forked it from github.

our relevant broker configs are:

listeners=INTERNAL://0.0.0.0:19092,EXTERNAL://0.0.0.0:9092
listener.security.protocol.map=INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT
advertised.listeners=
INTERNAL://some.ip.address:19092,EXTERNAL://some.public.dns:9092

Upon a console producer write using EXTERNAL listener endpoint, we are
getting the following exception:

[2019-08-02 11:17:19,690] WARN [Producer clientId=console-producer] Got
error produce response with correlation id 8 on topic-partition
some_topic-0, retrying (2 attempts left). Error: NETWORK_EXCEPTION
(org.apache.kafka.clients.producer.internals.Sender)


Should we have setup the listeners to bind to default interface i.e.
INTERNAL://:19092,EXTERNAL://:9092 ? Or, is this possibly some network
firewall rules? We can confirm that internal is working fine.

Thanks,