Open coute opened 3 years ago
I have the same issue with 3 brokers and numFunctionPackageReplicas set to 3.
The issue had no activity for 30 days, mark with Stale label.
HI everyone, i actually have the same problem. I setted configurationStoreServers
:
# Configuration Store connection string
configurationStoreServers: <my-zk-ip>:2181
but it tries connecting to 'localhost:2181':
[main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=localhost:2181 sessionTimeout=30000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase
Using pulsar 2.9.2, base file found here.
EDIT:
It seems that the worker gets the connectString from the cluster metadata (done in initialize-cluster-metadata
). Is this correct? If yes, is this an expected behaviour?
Describe the bug When I try to create a function in my cluster, I have this error :
I deployed pulsar in cluster mode and Zookeeper service is not installed on broker servers. ConfigurationStoreServers is set with zookeeper server IP but functions worker try to connect to it with localhost.
I ran this command to add my function :
To Reproduce Steps to reproduce the behavior:
I have the same problem when I configure functions-worker to run separately
Operating System