Issue 1:
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. See: https://github.com/AlibabaDR/Collabobot .

Repo Overview

Watch
Star
Fork
Contributors

3196
23859 (↑160)
13546 (↑103)
163 (↑1)

New Issues
Closed Issues
New PR
Merged PR

21
5
24
16

PR Overview

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

Routers zookeeper path (#3173)

add some small optimize (#3171)

code optimization (#3167)

modify metadata node path in zookeeper (#3166)

optimize ReconnectTimerTask's log output (#3162)

avoid duplicated refresh for application (#3157)

correct spelling error (#3146)

fix prefix, use hypher case instead of camel case (#3143)

add javadoc for registry and some code (#3140)

fix #3123. support metadata xml config and support dubbo.properties format 'dubbo.metadata-report.address=XXx' (#3138)

avoid dup refresh for registry config (#3135)

Config center optimization (#3128)

code optimization (#3118)

fix telnet trace times is always 1 (#3038)

code rule (#3016)

Add javadoc for dubbo-serialization module(#3002). (#3004)

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

@khanimteyaz
38

@beiwei30
12

@chickenlj
10

@ralf0131
8

@carryxyh
8

@CrazyHZM
5

@lixiaojiee
4

@kexianjun
3

@zonghaishang
3

@kezhenxu94
1

@htynkn
1

@cvictory
1

@gudegg
1

@LiZhenNet
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:

@majinkai

Thanks to you all.

Issue 2:
An UnresolvedAddressException is thrown if the Zookeeper registry is used under the enviroment of Java14.

Because the lower version of Zookeeper is not compatible with the Java14 unresolved address format.

The problem is fixed in version 3.5.x of Zookeeper, I suggest upgrade the Zookeeper version of Dubbo to 3.5.x

the lower version of getHostString() method for zk

https://github.com/apache/zookeeper/blob/2d71af4dbe22557fda74f9a9b4309b15a7487f03/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java#L135-L138

jdk rewrite unresolved address format

https://github.com/openjdk/jdk/blob/9a7dcdcdbad34e061a8988287fe691abfd4df305/src/java.base/share/classes/java/net/InetSocketAddress.java#L107-L116

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.8 release

Operating System version: macOS 10.13.6

Java version: jdk14.0.1

Steps to reproduce this issue

run the demo

Expected Result

the normal run

Actual Result

throw java.nio.channels.UnresolvedAddressException

If there is an exception, please attach the exception trace:

[17/09/20 10:30:53:424 CST] main-SendThread(127.0.0.1:2181) WARN zookeeper.ClientCnxn: Session 0x0 for server 127.0.0.1/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect
java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:139)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:727)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:741)
at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:277)
at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:287)
at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1021)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1064)