dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.9k stars 2.06k forks source link

<dubbo:registry ... client="curator" /> #288

Open gMan1990 opened 7 years ago

gMan1990 commented 7 years ago

好像没效果

yunhaibin commented 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

yunhaibin commented 7 years ago
<dubbo:registry client="curator" address="zookeeper://127.0.0.1:2181"/>
gMan1990 commented 7 years ago

@yunhaibin 那这个呢?我都没引入kryo的包