-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Search before asking
- I searched in the issues and found nothing similar.
Version
Pulsar 3.1
Tested in both MacOS and Docker-compose
Minimal reproduce step
Follow the steps in
https://pulsar.apache.org/docs/3.1.x/io-cdc-debezium/#configuration-2
but change pulsar.service.url to something else, e.g. pulsar://pulsar-server:6650 for docker-compose
What did you expect to see?
Its is always "pulsar://localhost:6650" no matter what I change the config to…
I can see logs:
2023-09-28T16:31:36,502-0700 [pulsar-client-io-1-3] INFO org.apache.pulsar.client.impl.ConsumerStatsRecorderImpl - Pulsar client config: {"serviceUrl":"pulsar://localhost:6650","authPluginClassName":null,"authParams":null,"authParamMap":null,"operationTimeoutMs":30000,"lookupTimeoutMs":30000,"statsIntervalSeconds":60,"numIoThreads":8,"numListenerThreads":8,"
and
2023-09-28 16:33:46 2023-09-28T23:33:46,136+0000 [pulsar-client-io-1-2] WARN org.apache.pulsar.client.impl.ConnectionPool - Failed to open connection to localhost/:6650 : io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6650
I need to change the url to something else so that I can work in docker-compose or production.
Thanks!
What did you see instead?
I had to use network_mode: host for now as workaround in xcherryio/xcherry#25
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!