Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.3

Operating System version: macOS 10.14.6

Java version: 1.8

Steps to reproduce this issue

在我项目中，配置中心和注册中心都是使用zookeeper，而且是在一个集群上，只是 path 和对应的 username 和 password 不同，但是并未正常初始化两个不同的zk client。

项目启动时：

1、连接配置中心的地址，获取配置中心的配置信息

2、在初始化ReferenceBean和ServiceBean，会校验注册中心是否初始化

两者都通过 AbstractZookeeperTransporter#connect(URL url) 方法去连接zk

public abstract class AbstractZookeeperTransporter implements ZookeeperTransporter {
//缓存 zk client，key为zk地址
private final Map<String, ZookeeperClient> zookeeperClientMap = new ConcurrentHashMap<>();

@Override
public ZookeeperClient connect(URL url) {
ZookeeperClient zookeeperClient;
List<String> addressList = getURLBackupAddress(url);
// 这个地方会走缓存
if ((zookeeperClient = fetchAndUpdateZookeeperClientCache(addressList)) != null && zookeeperClient.isConnected()) {
logger.info("find valid zookeeper client from the cache for address: " + url);
return zookeeperClient;
}
。。。
}

ZookeeperClient fetchAndUpdateZookeeperClientCache(List<String> addressList) {

ZookeeperClient zookeeperClient = null;
for (String address : addressList) {
if ((zookeeperClient = zookeeperClientMap.get(address)) != null && zookeeperClient.isConnected()) {
break;
}
}
if (zookeeperClient != null && zookeeperClient.isConnected()) {
//将 zookeeperClient 放入 zookeeperClientMap 缓存中
writeToClientMap(addressList, zookeeperClient);
}
return zookeeperClient;
}
void writeToClientMap(List<String> addressList, ZookeeperClient zookeeperClient) {
for (String address : addressList) {
// 使用 address 作为key
zookeeperClientMap.put(address, zookeeperClient);
}
}
}

从上边可以看出，在初始化 配置中心的 zk client 后，就缓存到了 zookeeperClientMap 中。

当注册中心去初始化zk client 时，由于跟配置中心在一个集群上，所以 address相同，就会走缓存，返回 配置中心的 zk cliient。

总结：

如果配置中心和注册中心在一个集群上，zookeeperClientMap就不能使用address作为key。

解决方案：

URL信息（配置中心）

URL信息（注册中心）

通过上边两个图可以看出，配置中心 和 注册中心 传入的 URL信息里边的 path 是不相同的，将 zookeeperClientMap 的 key 使用 address + url.path 的方式生成，就可以解决这个问题

Issue 2:
Weekly Report of Dubbo

This is a weekly report of Dubbo. It summarizes what have changed in the project during the passed week, including pr merged, new contributors, and more things in the future.

It is all done by @dubbo-bot which is a collaborate robot.

Repo Overview

Basic data

Baisc data shows how the watch, star, fork and contributors count changed in the passed week.

Watch
Star
Fork
Contributors

3245
27807 (↑228)
15626 (↑121)
211 (↑3)

Issues & PRs

Issues & PRs show the new/closed issues/pull requests count in the passed week.

New Issues
Closed Issues
New PR
Merged PR

35
25
39
19

PR Overview

Thanks to contributions from community, Dubbo team merged 19 pull requests in the repository last week. They are:

fix compile issue and refactor metadata structure (#4538)

Polish /#4535 : [Infrastructure] Update the nacos client … (#4537)

Upgrade nacos-client dependency version to 1.1.1 (#4534)

Dubbo throws exception when use java serializer (#4530)

Use special Configuration for Configs (#4522)

add -jar for java command (#4517)

fix length of array is never negative (#4510)

Polish #4508 : [Version] Update the version of cloud nati… (#4509)

[Dubbo-4499] org.apache.dubbo.rpc.RpcContext.getFuture() cannot work in Filter. (#4504)

Polish #4498 : @reference can't inject the Dubb… (#4503)

RpcContext cannot getFuture after setFuture (#4502)

2.6.x (#4495)

[dubbo-4491]remove duplicate code in AbstractConfig.java (#4492)

Make code strong, version check compatibility. (#4488)

2.6.x to release (#4485)

[Dubbo-4479]Delete unused code. defaultPort can not be null. #4479 (#4480)

Redis metadata report support database properties. (#4476)

FutureAdapter depends on AsyncRpcResult (#4471)

add 2.7.3 change list (#4453)

Code Review Statistics

Dubbo encourages everyone to participant in code review, in order to improve software quality. Every week @dubbo-bot would automatically help to count pull request reviews of single github user as the following. So, try to help review code in this project.

Contributor ID
Pull Request Reviews

@cvictory
6

@htynkn
3

@ralf0131
2

@danielamorais
2

@beiwei30
1

@tswstarplanet
1

@chickenlj
1

@CrazyHZM
1

@guohao
1

@dntbeSris
1

Contributors Overview

It is Dubbo team's great honor to have new contributors from community. We really appreciate your contributions. Feel free to tell us if you have any opinion and please share this open source project with more people if you could. If you hope to be a contributor as well, please start from https://github.com/apache/incubator-dubbo/blob/master/CONTRIBUTING.md .

Here is the list of new contributors:

@shouhong

@liuxx001

@TingSky

Thanks to you all.

Note: This robot is supported by Collabobot.