omnip620 / node-zookeeper-dubbo

A middleware helps node to communicate dubbo by using its default protocol, which is registered in zookeeper
300 stars 80 forks source link

dubbo是否支持直连? #78

Open yaxiaoliu opened 6 years ago

yaxiaoliu commented 6 years ago

zk上有多台dubbo服务器,是否可以配置直连到某一台?

lnn1123 commented 6 years ago

这样不靠谱吧,如果这台dubbo provider 挂了,或者停止服务了,调用就失败了吧

yaphetszmn notifications@github.com 于2018年9月10日周一 下午3:49写道:

zk上有多台dubbo服务器,是否可以配置直连到某一台?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/p412726700/node-zookeeper-dubbo/issues/78, or mute the thread https://github.com/notifications/unsubscribe-auth/ABayzLVTCgstLnfw-jxVKC_dBIqLS60Eks5uZhmagaJpZM4Wg4OA .

yaxiaoliu commented 6 years ago

@lnn1123 方便查问题啊 而且不一定每个zk上面都启多套dubbo 也存在一个zk上多台机器的dubbo分支不一样 我们公司确实存在这一的问题

lnn1123 commented 6 years ago

可以通过dubbo来管理,而不是直连,有dubbo-admin可以 关掉一些provider。 可以保证只能连一台provider

yaphetszmn notifications@github.com 于2018年9月10日周一 下午4:12写道:

@lnn1123 https://github.com/lnn1123 方便查问题啊 而且不一定每个zk上面都启多套dubbo 也存在一个zk上多台机器的dubbo分支不一样 我们公司确实存在这一的问题

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/p412726700/node-zookeeper-dubbo/issues/78#issuecomment-419825935, or mute the thread https://github.com/notifications/unsubscribe-auth/ABayzJXxz9nKzYoN03Ol1L45pTe9NaO-ks5uZh7ugaJpZM4Wg4OA .

yaxiaoliu commented 6 years ago

@lnn1123 多人协作开发,测试环境不能随便开关,这个功能更多的其实是在测试环境使用 线上dubbo肯定是统一的

lnn1123 commented 6 years ago

那自己改一下代码,加个配置直连到某个provider 应该很简单

yaphetszmn notifications@github.com 于2018年9月10日周一 下午5:12写道:

@lnn1123 https://github.com/lnn1123 多人协作开发,测试环境不能随便开关,这个功能更多的其实是在测试环境使用 线上dubbo肯定是统一的

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/p412726700/node-zookeeper-dubbo/issues/78#issuecomment-419843990, or mute the thread https://github.com/notifications/unsubscribe-auth/ABayzGhpn8Xf3Zv-dMNdqTMQq6ZLgJ7cks5uZi0CgaJpZM4Wg4OA .

yaxiaoliu commented 6 years ago

@lnn1123 我自己加不上不可以,但是作者后面更新了版本,我不就不好同步了。。。 这个功能我觉得很有必要啊,希望作者能支持吧