These are chat archives for alibaba/dubbo

15th
Jan 2018
Suclogger
@suclogger
Jan 15 2018 02:27
官方的spring-boot-starter-dubbo预计什么时候发布呀
ken.lj
@chickenlj
Jan 15 2018 02:50
@carryxyh We always keep a close eye on the submitted PRs, but there may be a centralized merge period currently.
ken.lj
@chickenlj
Jan 15 2018 02:58
@doomsday I am working on documentation now, you check the following links to find more information about rest: dubbox rest, rest example
@linziguan #1220, Trace this issue here.
ken.lj
@chickenlj
Jan 15 2018 03:10
@suclogger We plan to focus on the release of dubbo-starter in the following two weeks
ken.lj
@chickenlj
Jan 15 2018 03:17
Notification, the structure of dubbo project have been changed, mainly for maven dependency and package purpose. #1209
konglz
@konglz
Jan 15 2018 06:29
我想请教下2个问题:1.dubbo用zk作为注册中心时,zk地址是走IP合适,还是走内网域名合适呢?
2.dubbo用zk作为注册中心时,我看到是配1个zk节点(ip:port)再加上2个backup节点,我记得早期的dubbo是配3个zk节点,这里面有什么区别?
哪里有介绍吗?
maroon
@DocEcho
Jan 15 2018 06:40

如果 内网 域名是 dns 解析的,dubbo 获取 注册中心的时候,会创建多个 registry 实例 在AbstractRegistryFactory.getRegistry() 这个方法中,String key = url.toServiceString(); 这个 获取的是 域名对应的 ip

dubbo版本是 2.5.3

@konglz
konglz
@konglz
Jan 15 2018 06:41
哦,推荐的方案是走域名还是走IP呢?
我们运维倾向于把zookeeper部署在docker容器内
docker容器的IP是浮动的,运维的建议是走域名去连zk
不知道这种方式,是不是dubbo官方推荐的玩法,里面有没有坑
maroon
@DocEcho
Jan 15 2018 06:42
我说的 那个 问题 ,你改下源码就可以了
konglz
@konglz
Jan 15 2018 06:43
不改源码的情况下,走域名会有问题吧?
maroon
@DocEcho
Jan 15 2018 06:43
我只能说 dubbo-2.5.3 是有问题的
konglz
@konglz
Jan 15 2018 06:45
2.5.3之后(不含2.5.3)的版本可以吗?
可以走内网域名吗?
maroon
@DocEcho
Jan 15 2018 06:46
@konglz sorry,我们用的是 dubbo-2.5.4 版本的...
konglz
@konglz
Jan 15 2018 06:49
好的,感谢
ken.lj
@chickenlj
Jan 15 2018 08:54
@konglz There is no difference using ip or host in the latest dubbo version.
ken.lj
@chickenlj
Jan 15 2018 08:59
I don't know there's a 早期的dubbo是配3个zk节点 solution, backup is a unified address format designed for different types of registry clusters, such as redis, zookeeper.
As to ZK, it's finally being transformed to the standard ZK format.
konglz
@konglz
Jan 15 2018 09:03
我如果有1个zk集群,比如:192.168.0.101,192.168.0.102,192.168.0.103 ,应该怎么配置呢?是:zookeeper://192.168.0.101:2181?backup=192.168.0.102:2181,192.168.0.103:2181;还是:zookeeper://192.168.0.101:2181,192.168.0.102:2181,192.168.0.103:2181
那种配置方法是正确的呢?
192.168.0.101,192.168.0.102,192.168.0.103 是个3节点的zk集群
都是对的吗?
gaolongyin
@gaolongyin
Jan 15 2018 09:21
ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.3,这个是什么原因造成的,经常启动的时候会报这个警告