dubbo使用zookeeper集群配置
/xml配置文件/其他配置/linux集群配置/zookeeper集群配置/dubbo使用zookeeper集群配置.txtDubbox连接zookeeper集群修改服务提供者和服务调用者的spring配置文件<dubbo:registryprotocol="zookeeper"address="${dubbo.address}"/>dubbo.address=${my.d...
·
/xml配置文件/其他配置/linux集群配置/zookeeper集群配置/dubbo使用zookeeper集群配置.txt
Dubbox连接zookeeper集群
修改服务提供者和服务调用者的spring 配置文件
<dubbo:registry protocol="zookeeper" address="${dubbo.address}"/>
dubbo.address=${my.dubbo.address}
my.dubbo.address=192.168.153.130\:2181,192.168.153.131\:2181,192.168.153.131\:2182
或者
<dubbo:registry protocol="zookeeper" address="192.168.153.130:2181,192.168.153.131:2181,192.168.153.131:2182"/>
Dubbox连接zookeeper集群
修改服务提供者和服务调用者的spring 配置文件
<dubbo:registry protocol="zookeeper" address="${dubbo.address}"/>
dubbo.address=${my.dubbo.address}
my.dubbo.address=192.168.153.130\:2181,192.168.153.131\:2181,192.168.153.131\:2182
或者
<dubbo:registry protocol="zookeeper" address="192.168.153.130:2181,192.168.153.131:2181,192.168.153.131:2182"/>
更多推荐
已为社区贡献1条内容
所有评论(0)