-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于consul的使用问题,烦请大神解答,谢谢! #270
Comments
好像发现有相同的问题#121,我的10.10.62.101,10.10.62.102,10.10.62.103三台机器都已经安装了consul |
目前consul注册中心不支持多地址。底层使用的ecwid ConsulClient不支持多ip地址。 |
你的意思是每台应用服务器都要部署一个consul agent ??? |
嗯,运行在client mode |
也就是说每个服务消费者和提供者都需要部署一个consul agent? 那相比其他注册中心,consul岂不增加部署的复杂度?基于什么考虑这样设计呢? 虽然consul部署启动比较简单。 |
#1. 是否支持consul集群配置<motan:registry regProtocol="consul" name="my_consul" address="10.10.62.101:8500"/>
如果注册的协议选择consul,是否支持类似于zookeeper的配置,多个consul一起配置10.10.62.101:8500;10.10.62.102:8500;10.10.62.103:8500?
#2.实际测试时,我的server配置为:<motan:registry regProtocol="consul" name="my_consul" address="10.10.62.101:8500"/>,client配置为: <motan:registry regProtocol="consul" name="my_consul" address="10.10.62.106:8500;10.10.62.102:8500;10.10.62.101:8500"/>,当10.10.62.106:8500挂掉之后,无法调用server,当启动10.10.62.106时能正常调用
motan是否支持consul集群,或者说我的使用方式或者对consul的使用理解有问题,怎么样做到consul和zookeeper一样的效果,当我其中的一台consul节点挂掉之后,还能获取服务?
The text was updated successfully, but these errors were encountered: