rob-kvietkauskas-ign commented on issue #20722: URL: https://github.com/apache/pulsar/issues/20722#issuecomment-1634149488
Yesterday I have spent some time analizing 2.11.1 Pulsar source code, trying to figure out what may be the cause of zookeper connection to `localhost` (even though, nor broker, nor bookie, nor functions worker configuration does not contain any entries related to `localhost`). After digging the code that is mentioned in the stacktraces I've provided and stacktraces I get using Pulsar 2.11.1, I have a strong feeling that problem is located in `uploadToBookKeeper(Namespace, InputStream, String)` method call in [WorkerUtils class](https://github.com/apache/pulsar/blob/7233f0e6616ea54d841be7d17bf2abef4d3827c7/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/WorkerUtils.java#L98). After this method gets called, BookKeeper client tries to access a bookkeeper via ZooKeeper, but somehow (not sure how exactly) ZooKeeperClient gets initialized with localhost value. -- 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]
