Open gMan1990 opened 7 years ago
@gMan1990 测试过了,可以起作用,没有问题,看一下我的测试时日志输出:
[10/04/17 10:43:16:016 CST] localhost-startStop-1 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@1f36bc1d
[10/04/17 10:43:16:016 CST] localhost-startStop-1-SendThread(127.0.0.1:2181) INFO zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
[10/04/17 10:43:16:016 CST] localhost-startStop-1-SendThread(127.0.0.1:2181) INFO zookeeper.ClientCnxn: Socket connection established to 127.0.0.1/127.0.0.1:2181, initiating session
[10/04/17 10:43:16:016 CST] localhost-startStop-1-SendThread(127.0.0.1:2181) INFO zookeeper.ClientCnxn: Session establishment complete on server 127.0.0.1/127.0.0.1:2181, sessionid = 0x15b55a5a7ea0003, negotiated timeout = 40000
<dubbo:registry client="curator" address="zookeeper://127.0.0.1:2181"/>
@yunhaibin 那这个呢
好像没效果