Mortom123 commented on issue #21088: URL: https://github.com/apache/pulsar/issues/21088#issuecomment-1717797667
I tried some more and have a question you might be able to answer @RobertIndie Right now my sink depends on being in the same network as the broker, hence the [Dockerfile](https://github.com/Mortom123/kotlin-io-example/blob/af40faff27d09a611f55dd26e2a5af9b9fc86bb1/sink-compose.yml#L2-L5) declares an external network. I additionally set the sinks `broker-service-url` to `pulsar://broker:6650`. If I understand the notion of `advertisedListeners` correctly the [configuration](https://github.com/Mortom123/kotlin-io-example/blob/af40faff27d09a611f55dd26e2a5af9b9fc86bb1/broker-compose.yml#L81-L82): ``` - internalListenerName=internal - advertisedListeners=internal:pulsar://broker:6650,localhost:pulsar://localhost:6650,docker:pulsar://host.docker.internal:6650 ``` should enable, depending on listener_name, to connect either via name, via localhost or via host.docker.internal to the broker. How would I create a sink that uses a listener that is not the internal listener? E.g. by letting it use the docker listener_name. I cannot find anything referencing a listener_name on https://pulsar.apache.org/reference/#/3.0.x/pulsar-admin/sinks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
