This message was deleted.
# general
s
This message was deleted.
y
Could you describe it in details? e.g. how to reproduce, client side logs, etc.
a
i am initializing client then using client i am creating producer. in local it's connecting to apache pulsar docker container, but when i put my node js service in docker container then it's give me error.
y
You need to ensure the network connectivity between two docker containers. See https://docs.docker.com/network/ In addition, you need to configure the
advertisedListeners
of Pulsar service well. For example, if the hostname of client container is
client
, the hostname of broker container is
broker
, the
advertisedListeners
should be like
internal:<pulsar://broker:6650>,external:<pulsar://client:6650>
, where
internal
and
external
are the customized listener names. See https://github.com/apache/pulsar/issues/12040
a
Thanks, let me check this.