You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by gi...@apache.org on 2022/12/15 07:50:42 UTC
[dubbo-website] branch cn-site created (now af7ea8d00b6)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
at af7ea8d00b6 deploy: d3b8d2cad05ccdf82a51cc3287a3edc5af045405
This branch includes the following new commits:
new af7ea8d00b6 deploy: d3b8d2cad05ccdf82a51cc3287a3edc5af045405
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[dubbo-website] 01/01: deploy: d3b8d2cad05ccdf82a51cc3287a3edc5af045405
Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
commit af7ea8d00b6922ac40cb664ecb40e880d94c0e23
Author: AlbumenJ <Al...@users.noreply.github.com>
AuthorDate: Thu Dec 15 07:50:14 2022 +0000
deploy: d3b8d2cad05ccdf82a51cc3287a3edc5af045405
---
.htaccess | 35 +
.nojekyll | 0
CNAME | 1 +
css/open-sans.css | 130 +
css/prism.css | 208 +
css/shortcodes.css | 2 +
css/shortcodes/cards-pane.css | 21 +
css/shortcodes/tabbed-pane.css | 18 +
css/swagger-ui.css | 4 +
dubbo-go/resource/dubbo-go-arch.pptx | Bin 0 -> 74748 bytes
dubbo-go/v3 | 10 +
en/404.html | 7 +
.../index.html | 13 +
.../the-gsocgoogle-summer-of-code-2018/index.html | 13 +
.../index.html | 13 +
.../index.html | 10 +
.../index.html | 10 +
.../2018/07/01/your-first-dubbo-filter/index.html | 168 +
.../2018/07/12/tracking-with-pinpoint/index.html | 285 +
.../index.html | 29 +
.../index.html | 10 +
en/blog/2018/08/07/dubbo-101/index.html | 148 +
.../2018/08/07/use-annotations-in-dubbo/index.html | 206 +
.../2018/08/07/using-zookeeper-in-dubbo/index.html | 150 +
en/blog/2018/08/10/dubbos-load-balance/index.html | 104 +
.../index.html | 132 +
.../index.html | 94 +
.../asynchronous-invoke/index.html | 101 +
.../2018/08/14/generic-invoke-of-dubbo/index.html | 105 +
.../index.html | 123 +
.../index.html | 123 +
.../08/14/native-image-using-graalvm/index.html | 179 +
.../index.html | 122 +
.../index.html | 10 +
.../index.html | 225 +
.../02/how-to-prepare-an-apache-release/index.html | 256 +
.../30/integrate-dubbo-with-kubernetes/index.html | 27 +
.../introduction-to-the-dubbo-protocol/index.html | 33 +
.../index.html | 313 +
.../index.html | 10 +
.../index.html | 151 +
.../index.html | 31 +
.../index.html | 34 +
.../index.html | 68 +
.../index.html | 275 +
.../index.html | 48 +
en/blog/2019/08/26/service-test/index.html | 131 +
en/blog/2020/05/18/past-releases/index.html | 143 +
en/blog/2021/07/02/3.0.1-release-note/index.html | 18 +
en/blog/2021/08/18/3.0.2-release-note/index.html | 55 +
en/blog/2021/08/23/3.0.2.1-release-note/index.html | 14 +
en/blog/2021/09/20/2.7.14-release-note/index.html | 13 +
.../index.html | 139 +
.../index.html | 99 +
en/blog/index.html | 14 +
en/blog/index.xml | 6896 +++++++++
en/blog/news/index.html | 16 +
en/blog/news/index.xml | 6335 ++++++++
en/blog/news/page/1/index.html | 1 +
en/blog/news/page/2/index.html | 14 +
en/blog/news/page/3/index.html | 14 +
en/blog/news/page/4/index.html | 15 +
en/blog/page/1/index.html | 1 +
en/blog/page/2/index.html | 16 +
en/blog/page/3/index.html | 14 +
en/blog/page/4/index.html | 18 +
en/blog/page/5/index.html | 10 +
en/blog/releases/index.html | 13 +
en/blog/releases/index.xml | 562 +
en/blog/releases/page/1/index.html | 1 +
en/community/index.html | 7 +
en/community/index.xml | 1 +
.../committer/apache-dubbo-page_dev/index.html | 22 +
.../contribution-guidelines/committer/index.html | 11 +
.../contribution-guidelines/committer/index.xml | 556 +
.../committer/label-an-issue-guide_dev/index.html | 23 +
.../committer/new-committer-guide_dev/index.html | 15 +
.../committer/release-guide_dev/index.html | 218 +
.../committer/website-guide_dev/index.html | 11 +
.../contributor/become-a-committer_dev/index.html | 14 +
.../contributor/cla-signing-guide_dev/index.html | 14 +
.../dubbo-extension-guide_dev/index.html | 20 +
.../contribution-guidelines/contributor/index.html | 11 +
.../contribution-guidelines/contributor/index.xml | 323 +
.../mailing-list-subscription-guide_dev/index.html | 75 +
.../new-contributor-guide_dev/index.html | 27 +
.../reporting-security-issues_dev/index.html | 14 +
.../software-donation-guide_dev/index.html | 102 +
.../contributor/test-coverage-guide_dev/index.html | 11 +
en/docs/contribution-guidelines/index.html | 19 +
en/docs/contribution-guidelines/index.xml | 1 +
en/docs/faq/index.html | 11 +
en/docs/faq/index.xml | 1 +
en/docs/index.html | 11 +
en/docs/index.xml | 4693 ++++++
en/docs/notices/index.html | 11 +
en/docs/notices/index.xml | 76 +
en/docs/notices/security/index.html | 29 +
en/docs/v2.7/admin/index.html | 11 +
en/docs/v2.7/admin/index.xml | 6 +
.../v2.7/admin/install/admin-console/index.html | 41 +
.../v2.7/admin/install/consumer-demo/index.html | 25 +
en/docs/v2.7/admin/install/index.html | 11 +
en/docs/v2.7/admin/install/index.xml | 146 +
.../v2.7/admin/install/monitor-center/index.html | 11 +
.../v2.7/admin/install/provider-demo/index.html | 24 +
en/docs/v2.7/admin/install/redis/index.html | 43 +
en/docs/v2.7/admin/install/zookeeper/index.html | 53 +
en/docs/v2.7/admin/ops/apidocs/index.html | 39 +
en/docs/v2.7/admin/ops/functions/index.html | 14 +
en/docs/v2.7/admin/ops/governance/index.html | 14 +
en/docs/v2.7/admin/ops/index.html | 11 +
en/docs/v2.7/admin/ops/index.xml | 682 +
en/docs/v2.7/admin/ops/introduction/index.html | 37 +
en/docs/v2.7/admin/ops/pinpoint/index.html | 283 +
en/docs/v2.7/admin/ops/search/index.html | 14 +
en/docs/v2.7/admin/ops/skywalking/index.html | 62 +
en/docs/v2.7/admin/ops/test/index.html | 11 +
en/docs/v2.7/dev/build/index.html | 19 +
en/docs/v2.7/dev/checklist/index.html | 11 +
en/docs/v2.7/dev/code-smell/index.html | 58 +
en/docs/v2.7/dev/coding/index.html | 11 +
en/docs/v2.7/dev/contract/index.html | 11 +
en/docs/v2.7/dev/design/index.html | 11 +
en/docs/v2.7/dev/implementation/index.html | 34 +
en/docs/v2.7/dev/impls/cache/index.html | 61 +
en/docs/v2.7/dev/impls/cluster/index.html | 54 +
en/docs/v2.7/dev/impls/compiler/index.html | 46 +
en/docs/v2.7/dev/impls/config-center/index.html | 17 +
en/docs/v2.7/dev/impls/container/index.html | 48 +
en/docs/v2.7/dev/impls/dispatcher/index.html | 46 +
en/docs/v2.7/dev/impls/exchanger/index.html | 64 +
.../v2.7/dev/impls/exporter-listener/index.html | 56 +
.../v2.7/dev/impls/extension-factory/index.html | 47 +
en/docs/v2.7/dev/impls/filter/index.html | 52 +
en/docs/v2.7/dev/impls/index.html | 11 +
en/docs/v2.7/dev/impls/index.xml | 1556 ++
en/docs/v2.7/dev/impls/invoker-listener/index.html | 56 +
en/docs/v2.7/dev/impls/load-balance/index.html | 49 +
en/docs/v2.7/dev/impls/logger-adapter/index.html | 64 +
en/docs/v2.7/dev/impls/merger/index.html | 44 +
en/docs/v2.7/dev/impls/monitor/index.html | 57 +
en/docs/v2.7/dev/impls/networker/index.html | 46 +
en/docs/v2.7/dev/impls/page/index.html | 46 +
en/docs/v2.7/dev/impls/protocol/index.html | 105 +
en/docs/v2.7/dev/impls/proxy-factory/index.html | 52 +
en/docs/v2.7/dev/impls/registry/index.html | 163 +
en/docs/v2.7/dev/impls/remoting/index.html | 87 +
en/docs/v2.7/dev/impls/router/index.html | 43 +
en/docs/v2.7/dev/impls/serialize/index.html | 49 +
en/docs/v2.7/dev/impls/status-checker/index.html | 43 +
en/docs/v2.7/dev/impls/telnet-handler/index.html | 47 +
en/docs/v2.7/dev/impls/threadpool/index.html | 44 +
en/docs/v2.7/dev/impls/validation/index.html | 61 +
en/docs/v2.7/dev/index.html | 11 +
en/docs/v2.7/dev/index.xml | 707 +
en/docs/v2.7/dev/principals/code-detail/index.html | 11 +
.../v2.7/dev/principals/configuration/index.html | 17 +
en/docs/v2.7/dev/principals/dummy/index.html | 166 +
.../v2.7/dev/principals/expansibility/index.html | 14 +
en/docs/v2.7/dev/principals/extension/index.html | 56 +
.../dev/principals/general-knowledge/index.html | 17 +
en/docs/v2.7/dev/principals/index.html | 11 +
en/docs/v2.7/dev/principals/index.xml | 408 +
en/docs/v2.7/dev/principals/robustness/index.html | 18 +
en/docs/v2.7/dev/release/index.html | 11 +
en/docs/v2.7/dev/spi/index.html | 111 +
en/docs/v2.7/dev/tck/index.html | 11 +
en/docs/v2.7/index.html | 11 +
en/docs/v2.7/index.xml | 2 +
en/docs/v2.7/user/benchmark-tool/index.html | 15 +
en/docs/v2.7/user/best-practice/index.html | 11 +
en/docs/v2.7/user/capacity-plan/index.html | 11 +
.../v2.7/user/configuration/annotation/index.html | 56 +
en/docs/v2.7/user/configuration/api/index.html | 101 +
.../configuration-load-process/index.html | 93 +
en/docs/v2.7/user/configuration/index.html | 11 +
en/docs/v2.7/user/configuration/index.xml | 442 +
.../v2.7/user/configuration/properties/index.html | 14 +
en/docs/v2.7/user/configuration/xml/index.html | 32 +
en/docs/v2.7/user/coveragence/index.html | 12 +
en/docs/v2.7/user/dependencies/index.html | 15 +
en/docs/v2.7/user/examples/accesslog/index.html | 37 +
en/docs/v2.7/user/examples/async-call/index.html | 37 +
.../examples/async-execute-on-provider/index.html | 52 +
en/docs/v2.7/user/examples/attachment/index.html | 22 +
.../examples/broadcast-resp-collect/index.html | 41 +
.../user/examples/callback-parameter/index.html | 86 +
.../user/examples/concurrency-control/index.html | 27 +
.../user/examples/config-connections/index.html | 15 +
en/docs/v2.7/user/examples/config-rule/index.html | 18 +
en/docs/v2.7/user/examples/context/index.html | 34 +
.../v2.7/user/examples/delay-publish/index.html | 14 +
.../examples/distributed-transaction/index.html | 11 +
en/docs/v2.7/user/examples/dump/index.html | 16 +
en/docs/v2.7/user/examples/echo-service/index.html | 21 +
.../v2.7/user/examples/events-notify/index.html | 58 +
.../v2.7/user/examples/explicit-target/index.html | 15 +
.../examples/fault-tolerent-strategy/index.html | 21 +
.../examples/generic-invoke-with-json/index.html | 50 +
.../user/examples/generic-reference/index.html | 71 +
.../v2.7/user/examples/generic-service/index.html | 36 +
.../user/examples/graceful-shutdown/index.html | 14 +
en/docs/v2.7/user/examples/group-merger/index.html | 25 +
.../v2.7/user/examples/hostname-binding/index.html | 16 +
en/docs/v2.7/user/examples/index.html | 11 +
en/docs/v2.7/user/examples/index.xml | 2062 +++
.../examples/invoke-with-specified-ip/index.html | 51 +
en/docs/v2.7/user/examples/lazy-connect/index.html | 12 +
en/docs/v2.7/user/examples/loadbalance/index.html | 19 +
en/docs/v2.7/user/examples/local-call/index.html | 19 +
en/docs/v2.7/user/examples/local-mock/index.html | 34 +
en/docs/v2.7/user/examples/local-stub/index.html | 32 +
.../v2.7/user/examples/logger-strategy/index.html | 14 +
.../user/examples/msgpack-serialization/index.html | 82 +
.../v2.7/user/examples/multi-protocols/index.html | 39 +
.../v2.7/user/examples/multi-registry/index.html | 62 +
.../v2.7/user/examples/multi-versions/index.html | 16 +
en/docs/v2.7/user/examples/netty4/index.html | 20 +
.../user/examples/parameter-validation/index.html | 144 +
.../v2.7/user/examples/preflight-check/index.html | 23 +
.../examples/provider-timeout-release/index.html | 102 +
.../examples/reference-config-cache/index.html | 25 +
.../v2.7/user/examples/registry-only/index.html | 17 +
en/docs/v2.7/user/examples/result-cache/index.html | 15 +
en/docs/v2.7/user/examples/routing-rule/index.html | 53 +
.../v2.7/user/examples/serialization/index.html | 26 +
.../user/examples/service-container/index.html | 16 +
.../user/examples/service-downgrade/index.html | 14 +
.../v2.7/user/examples/service-group/index.html | 16 +
.../v2.7/user/examples/static-service/index.html | 16 +
en/docs/v2.7/user/examples/stickiness/index.html | 15 +
.../v2.7/user/examples/subscribe-only/index.html | 13 +
en/docs/v2.7/user/examples/thread-model/index.html | 12 +
.../user/examples/token-authorization/index.html | 23 +
en/docs/v2.7/user/index.html | 11 +
en/docs/v2.7/user/index.xml | 2381 +++
en/docs/v2.7/user/languages/erlang/index.html | 11 +
en/docs/v2.7/user/languages/erlang/index.xml | 118 +
.../user/languages/erlang/quick-start/index.html | 28 +
.../user/languages/erlang/reference/index.html | 19 +
.../user/languages/erlang/serialization/index.html | 15 +
.../v2.7/user/languages/erlang/service/index.html | 19 +
en/docs/v2.7/user/languages/index.html | 11 +
en/docs/v2.7/user/languages/index.xml | 1 +
en/docs/v2.7/user/maturity/index.html | 11 +
en/docs/v2.7/user/perf-test/index.html | 14 +
en/docs/v2.7/user/preface/architecture/index.html | 11 +
en/docs/v2.7/user/preface/background/index.html | 11 +
en/docs/v2.7/user/preface/index.html | 11 +
en/docs/v2.7/user/preface/index.xml | 149 +
en/docs/v2.7/user/preface/requirements/index.html | 11 +
en/docs/v2.7/user/preface/usage/index.html | 25 +
en/docs/v2.7/user/quick-start/index.html | 142 +
en/docs/v2.7/user/recommend/index.html | 39 +
en/docs/v2.7/user/references/api/index.html | 30 +
en/docs/v2.7/user/references/index.html | 11 +
en/docs/v2.7/user/references/index.xml | 617 +
en/docs/v2.7/user/references/maven/index.html | 13 +
en/docs/v2.7/user/references/metadata/index.html | 224 +
.../v2.7/user/references/protocol/dubbo/index.html | 20 +
.../user/references/protocol/hessian/index.html | 22 +
.../v2.7/user/references/protocol/http/index.html | 23 +
en/docs/v2.7/user/references/protocol/index.html | 11 +
en/docs/v2.7/user/references/protocol/index.xml | 765 +
.../user/references/protocol/memcached/index.html | 18 +
.../v2.7/user/references/protocol/redis/index.html | 18 +
.../v2.7/user/references/protocol/rest/index.html | 288 +
.../v2.7/user/references/protocol/rmi/index.html | 21 +
.../user/references/protocol/thrift/index.html | 17 +
.../user/references/protocol/webservice/index.html | 39 +
en/docs/v2.7/user/references/qos/index.html | 118 +
en/docs/v2.7/user/references/registry/index.html | 11 +
en/docs/v2.7/user/references/registry/index.xml | 281 +
.../user/references/registry/multicast/index.html | 19 +
.../v2.7/user/references/registry/nacos/index.html | 65 +
.../v2.7/user/references/registry/redis/index.html | 15 +
.../user/references/registry/simple/index.html | 31 +
.../user/references/registry/zookeeper/index.html | 39 +
en/docs/v2.7/user/references/telnet/index.html | 14 +
.../references/xml/dubbo-application/index.html | 11 +
.../user/references/xml/dubbo-argument/index.html | 14 +
.../references/xml/dubbo-config-center/index.html | 11 +
.../user/references/xml/dubbo-consumer/index.html | 11 +
.../user/references/xml/dubbo-method/index.html | 14 +
.../user/references/xml/dubbo-module/index.html | 11 +
.../user/references/xml/dubbo-monitor/index.html | 11 +
.../user/references/xml/dubbo-parameter/index.html | 15 +
.../user/references/xml/dubbo-protocol/index.html | 11 +
.../user/references/xml/dubbo-provider/index.html | 11 +
.../user/references/xml/dubbo-reference/index.html | 11 +
.../user/references/xml/dubbo-registry/index.html | 11 +
.../user/references/xml/dubbo-service/index.html | 11 +
en/docs/v2.7/user/references/xml/index.html | 11 +
en/docs/v2.7/user/references/xml/index.xml | 2323 +++
en/docs/v2.7/user/rest/index.html | 387 +
en/docs/v2.7/user/simple-monitor/index.html | 51 +
en/docs/v3.0/index.html | 11 +
en/docs/v3.0/index.xml | 150 +
en/docs/v3.0/languages/erlang/index.html | 11 +
en/docs/v3.0/languages/erlang/index.xml | 118 +
.../v3.0/languages/erlang/quick-start/index.html | 27 +
en/docs/v3.0/languages/erlang/reference/index.html | 19 +
.../v3.0/languages/erlang/serialization/index.html | 15 +
en/docs/v3.0/languages/erlang/service/index.html | 19 +
.../v3.0/languages/golang/go-specific/index.html | 11 +
en/docs/v3.0/languages/golang/index.html | 11 +
en/docs/v3.0/languages/golang/index.xml | 180 +
.../v3.0/languages/golang/quick-start/index.html | 112 +
en/docs/v3.0/languages/index.html | 11 +
en/docs/v3.0/languages/index.xml | 1 +
en/docs/v3.0/languages/rust/index.html | 11 +
en/docs/v3.0/languages/rust/index.xml | 1 +
en/docs/v3.0/loadbalance/index.html | 15 +
en/docs/v3.0/loadbalance/index.xml | 1 +
en/docs/v3.0/references/graalvm/index.html | 11 +
en/docs/v3.0/references/graalvm/index.xml | 125 +
.../references/graalvm/support-graalvm/index.html | 88 +
en/docs/v3.0/references/index.html | 11 +
en/docs/v3.0/references/index.xml | 1 +
en/docs/v3.0/references/lifecycle/brief/index.html | 30 +
en/docs/v3.0/references/lifecycle/index.html | 11 +
en/docs/v3.0/references/lifecycle/index.xml | 140 +
.../v3.0/references/lifecycle/liveness/index.html | 51 +
.../v3.0/references/lifecycle/readiness/index.html | 48 +
.../v3.0/references/lifecycle/startup/index.html | 48 +
en/docs/v3.0/whats-new-in-dubbo3/index.html | 28 +
en/docs/v3.0/whats-new-in-dubbo3/index.xml | 1 +
en/docs3-v2/erlang-sdk/index.html | 11 +
en/docs3-v2/erlang-sdk/index.xml | 1 +
en/docs3-v2/golang-sdk/index.html | 11 +
en/docs3-v2/golang-sdk/index.xml | 1 +
en/docs3-v2/index.html | 11 +
en/docs3-v2/index.xml | 1 +
en/docs3-v2/rust-sdk/index.html | 11 +
en/docs3-v2/rust-sdk/index.xml | 467 +
.../rust-sdk/java-interoperability/index.html | 47 +
en/docs3-v2/rust-sdk/quick-start/index.html | 396 +
en/featured-background.jpg | Bin 0 -> 146971 bytes
...a2_146971_1920x1080_fill_q75_catmullrom_top.jpg | Bin 0 -> 49146 bytes
...9fa2_146971_960x540_fill_q75_catmullrom_top.jpg | Bin 0 -> 15763 bytes
en/index.html | 9 +
en/index.xml | 6896 +++++++++
en/latest/admin/index.html | 7 +
en/latest/admin/index.xml | 1 +
en/latest/community/index.html | 7 +
en/latest/community/index.xml | 1 +
.../committer/apache-dubbo-page_dev/index.html | 46 +
.../contribution-guidelines/committer/index.html | 11 +
.../contribution-guidelines/committer/index.xml | 482 +
.../committer/label-an-issue-guide_dev/index.html | 20 +
.../committer/new-committer-guide_dev/index.html | 31 +
.../committer/release-guide_dev/index.html | 215 +
.../committer/website-guide_dev/index.html | 11 +
.../contributor/become-a-committer_dev/index.html | 26 +
.../contributor/cla-signing-guide_dev/index.html | 14 +
.../dubbo-extension-guide_dev/index.html | 28 +
.../contribution-guidelines/contributor/index.html | 11 +
.../contribution-guidelines/contributor/index.xml | 374 +
.../mailing-list-subscription-guide_dev/index.html | 75 +
.../new-contributor-guide_dev/index.html | 50 +
.../reporting-security-issues_dev/index.html | 23 +
.../software-donation-guide_dev/index.html | 105 +
.../contributor/test-coverage-guide_dev/index.html | 11 +
en/latest/contribution-guidelines/index.html | 18 +
en/latest/contribution-guidelines/index.xml | 1 +
en/latest/download/index.html | 11 +
en/latest/download/index.xml | 1 +
en/latest/facade-docs/contact/index.html | 11 +
en/latest/facade-docs/contact/index.xml | 1 +
en/latest/facade-docs/how/index.html | 11 +
en/latest/facade-docs/how/index.xml | 34 +
en/latest/facade-docs/how/quick-start/index.html | 14 +
en/latest/facade-docs/index.html | 11 +
en/latest/facade-docs/index.xml | 1 +
.../facade-docs/what/core-concepts/index.html | 11 +
en/latest/facade-docs/what/ecosystem/index.html | 11 +
en/latest/facade-docs/what/index.html | 11 +
en/latest/facade-docs/what/index.xml | 1 +
en/latest/facade-docs/what/overview/index.html | 11 +
en/latest/facade-docs/why/advantage/index.html | 11 +
en/latest/facade-docs/why/index.html | 11 +
en/latest/facade-docs/why/index.xml | 1 +
en/latest/golang-sdk/index.html | 7 +
en/latest/golang-sdk/index.xml | 1 +
en/latest/index.html | 7 +
en/latest/index.xml | 1 +
en/latest/java-sdk/index.html | 7 +
en/latest/java-sdk/index.xml | 1 +
.../v2.x/advanced-features-and-usage/index.html | 7 +
.../v2.x/advanced-features-and-usage/index.xml | 1 +
.../v2.x/concepts-and-architecture/index.html | 7 +
.../v2.x/concepts-and-architecture/index.xml | 1 +
.../concepts-and-architecture/users/index.html | 7 +
en/latest/java-sdk/v2.x/contributing/index.html | 7 +
en/latest/java-sdk/v2.x/contributing/index.xml | 1 +
en/latest/java-sdk/v2.x/index.html | 7 +
en/latest/java-sdk/v2.x/index.xml | 1 +
en/latest/java-sdk/v2.x/introduction/index.html | 7 +
en/latest/java-sdk/v2.x/introduction/index.xml | 1 +
.../java-sdk/v2.x/introduction/users/index.html | 7 +
en/latest/java-sdk/v2.x/quick-start/index.html | 7 +
en/latest/java-sdk/v2.x/quick-start/index.xml | 2 +
.../v2.x/quick-start/quick-start/index.html | 7 +
.../java-sdk/v2.x/reference-manual/index.html | 7 +
en/latest/java-sdk/v2.x/reference-manual/index.xml | 1 +
.../v2.x/upgrades-and-compatibility/index.html | 7 +
.../v2.x/upgrades-and-compatibility/index.xml | 1 +
.../v3.x/advanced-features-and-usage/index.html | 7 +
.../v3.x/advanced-features-and-usage/index.xml | 1 +
.../v3.x/concepts-and-architecture/index.html | 7 +
.../v3.x/concepts-and-architecture/index.xml | 1 +
.../concepts-and-architecture/users/index.html | 7 +
en/latest/java-sdk/v3.x/contributing/index.html | 7 +
en/latest/java-sdk/v3.x/contributing/index.xml | 1 +
en/latest/java-sdk/v3.x/index.html | 7 +
en/latest/java-sdk/v3.x/index.xml | 1 +
en/latest/java-sdk/v3.x/introduction/index.html | 7 +
en/latest/java-sdk/v3.x/introduction/index.xml | 1 +
.../java-sdk/v3.x/introduction/users/index.html | 7 +
en/latest/java-sdk/v3.x/quick-start/index.html | 7 +
en/latest/java-sdk/v3.x/quick-start/index.xml | 1 +
.../java-sdk/v3.x/reference-manual/index.html | 7 +
en/latest/java-sdk/v3.x/reference-manual/index.xml | 1 +
.../v3.x/upgrades-and-compatibility/index.html | 7 +
.../v3.x/upgrades-and-compatibility/index.xml | 1 +
en/latest/notices/index.html | 11 +
en/latest/notices/index.xml | 52 +
en/latest/notices/security/index.html | 29 +
en/latest/pixiu/index.html | 7 +
en/latest/pixiu/index.xml | 1 +
en/sitemap.xml | 1 +
en/users/index.html | 7 +
en/users/index.xml | 1 +
favicons/android-144x144.png | Bin 0 -> 4299 bytes
favicons/android-192x192.png | Bin 0 -> 5264 bytes
favicons/android-36x36.png | Bin 0 -> 980 bytes
favicons/android-48x48.png | Bin 0 -> 1071 bytes
favicons/android-72x72.png | Bin 0 -> 1926 bytes
favicons/android-96x96.png | Bin 0 -> 2309 bytes
favicons/apple-touch-icon-180x180.png | Bin 0 -> 4866 bytes
favicons/browserconfig.xml | 12 +
favicons/favicon-1024.png | Bin 0 -> 27759 bytes
favicons/favicon-16x16.png | Bin 0 -> 523 bytes
favicons/favicon-256.png | Bin 0 -> 8037 bytes
favicons/favicon-32x32.png | Bin 0 -> 709 bytes
favicons/favicon.ico | Bin 0 -> 16958 bytes
favicons/pwa-192x192.png | Bin 0 -> 5275 bytes
favicons/pwa-512x512.png | Bin 0 -> 12242 bytes
favicons/tile150x150.png | Bin 0 -> 6314 bytes
favicons/tile310x150.png | Bin 0 -> 9482 bytes
favicons/tile310x310.png | Bin 0 -> 13461 bytes
favicons/tile70x70.png | Bin 0 -> 2831 bytes
fonts/open-sans-v18-latin-300.eot | Bin 0 -> 15891 bytes
fonts/open-sans-v18-latin-300.svg | 332 +
fonts/open-sans-v18-latin-300.ttf | Bin 0 -> 28208 bytes
fonts/open-sans-v18-latin-300.woff | Bin 0 -> 18668 bytes
fonts/open-sans-v18-latin-300.woff2 | Bin 0 -> 14932 bytes
fonts/open-sans-v18-latin-300italic.eot | Bin 0 -> 14985 bytes
fonts/open-sans-v18-latin-300italic.svg | 345 +
fonts/open-sans-v18-latin-300italic.ttf | Bin 0 -> 25476 bytes
fonts/open-sans-v18-latin-300italic.woff | Bin 0 -> 17668 bytes
fonts/open-sans-v18-latin-300italic.woff2 | Bin 0 -> 13860 bytes
fonts/open-sans-v18-latin-600.eot | Bin 0 -> 15952 bytes
fonts/open-sans-v18-latin-600.svg | 336 +
fonts/open-sans-v18-latin-600.ttf | Bin 0 -> 28100 bytes
fonts/open-sans-v18-latin-600.woff | Bin 0 -> 18696 bytes
fonts/open-sans-v18-latin-600.woff2 | Bin 0 -> 14880 bytes
fonts/open-sans-v18-latin-600italic.eot | Bin 0 -> 14930 bytes
fonts/open-sans-v18-latin-600italic.svg | 349 +
fonts/open-sans-v18-latin-600italic.ttf | Bin 0 -> 25668 bytes
fonts/open-sans-v18-latin-600italic.woff | Bin 0 -> 17492 bytes
fonts/open-sans-v18-latin-600italic.woff2 | Bin 0 -> 13852 bytes
fonts/open-sans-v18-latin-700.eot | Bin 0 -> 16045 bytes
fonts/open-sans-v18-latin-700.svg | 334 +
fonts/open-sans-v18-latin-700.ttf | Bin 0 -> 28848 bytes
fonts/open-sans-v18-latin-700.woff | Bin 0 -> 18900 bytes
fonts/open-sans-v18-latin-700.woff2 | Bin 0 -> 15056 bytes
fonts/open-sans-v18-latin-700italic.eot | Bin 0 -> 14761 bytes
fonts/open-sans-v18-latin-700italic.svg | 342 +
fonts/open-sans-v18-latin-700italic.ttf | Bin 0 -> 25940 bytes
fonts/open-sans-v18-latin-700italic.woff | Bin 0 -> 17452 bytes
fonts/open-sans-v18-latin-700italic.woff2 | Bin 0 -> 13880 bytes
fonts/open-sans-v18-latin-800.eot | Bin 0 -> 16123 bytes
fonts/open-sans-v18-latin-800.svg | 336 +
fonts/open-sans-v18-latin-800.ttf | Bin 0 -> 28820 bytes
fonts/open-sans-v18-latin-800.woff | Bin 0 -> 19072 bytes
fonts/open-sans-v18-latin-800.woff2 | Bin 0 -> 15088 bytes
fonts/open-sans-v18-latin-800italic.eot | Bin 0 -> 15061 bytes
fonts/open-sans-v18-latin-800italic.svg | 342 +
fonts/open-sans-v18-latin-800italic.ttf | Bin 0 -> 26132 bytes
fonts/open-sans-v18-latin-800italic.woff | Bin 0 -> 17788 bytes
fonts/open-sans-v18-latin-800italic.woff2 | Bin 0 -> 13960 bytes
fonts/open-sans-v18-latin-italic.eot | Bin 0 -> 14825 bytes
fonts/open-sans-v18-latin-italic.svg | 349 +
fonts/open-sans-v18-latin-italic.ttf | Bin 0 -> 25664 bytes
fonts/open-sans-v18-latin-italic.woff | Bin 0 -> 17440 bytes
fonts/open-sans-v18-latin-italic.woff2 | Bin 0 -> 13780 bytes
fonts/open-sans-v18-latin-regular.eot | Bin 0 -> 15404 bytes
fonts/open-sans-v18-latin-regular.svg | 336 +
fonts/open-sans-v18-latin-regular.ttf | Bin 0 -> 27088 bytes
fonts/open-sans-v18-latin-regular.woff | Bin 0 -> 18100 bytes
fonts/open-sans-v18-latin-regular.woff2 | Bin 0 -> 14380 bytes
imgs/admin/blackList.jpg | Bin 0 -> 99079 bytes
imgs/admin/check.gif | Bin 0 -> 604 bytes
imgs/admin/config.jpg | Bin 0 -> 137909 bytes
imgs/admin/detail.jpg | Bin 0 -> 188392 bytes
imgs/admin/dubbo-add-config.jpg | Bin 0 -> 303596 bytes
imgs/admin/dubbo-add-route.jpg | Bin 0 -> 330146 bytes
imgs/admin/dubbo-applications.png | Bin 0 -> 93036 bytes
imgs/admin/dubbo-consumers.jpg | Bin 0 -> 274307 bytes
imgs/admin/dubbo-monitor-simple.jpg | Bin 0 -> 87670 bytes
imgs/admin/dubbo-providers.jpg | Bin 0 -> 272674 bytes
imgs/admin/dubbo-search.jpg | Bin 0 -> 224751 bytes
imgs/admin/dubbo_docs_en.png | Bin 0 -> 600733 bytes
imgs/admin/dubbo_docs_zh.png | Bin 0 -> 538526 bytes
imgs/admin/pinpoint-calltree.png | Bin 0 -> 655223 bytes
imgs/admin/pinpoint-home.png | Bin 0 -> 303613 bytes
imgs/admin/pinpoint-mixedview.png | Bin 0 -> 434638 bytes
imgs/admin/searchResult.png | Bin 0 -> 168461 bytes
imgs/admin/skywalking-alarm.png | Bin 0 -> 181739 bytes
imgs/admin/skywalking-application.png | Bin 0 -> 229539 bytes
imgs/admin/skywalking-application_instance.png | Bin 0 -> 203651 bytes
imgs/admin/skywalking-dashboard.png | Bin 0 -> 257273 bytes
imgs/admin/skywalking-service-consumer.png | Bin 0 -> 282541 bytes
imgs/admin/skywalking-service-provider.png | Bin 0 -> 366038 bytes
imgs/admin/skywalking-span-Info.png | Bin 0 -> 192403 bytes
imgs/admin/skywalking-topology.png | Bin 0 -> 173667 bytes
imgs/admin/skywalking-trace.png | Bin 0 -> 217096 bytes
imgs/admin/tip.png | Bin 0 -> 876 bytes
imgs/admin/warning-3.gif | Bin 0 -> 569 bytes
imgs/admin/weight.jpg | Bin 0 -> 89265 bytes
imgs/apache_logo.png | Bin 0 -> 7791 bytes
imgs/architecture.png | Bin 0 -> 15546 bytes
.../0c1afe00699eb3e5cc022e48966ef5a6.webp | Bin 0 -> 25884 bytes
.../2b2fd6ea1cc0375392919d9e0c181f2b.webp | Bin 0 -> 21062 bytes
.../e57050f224f658b96cd6bd917050b259.webp | Bin 0 -> 10552 bytes
.../fd38da297d095e4c3af1c89b18804ef1.webp | Bin 0 -> 20284 bytes
imgs/blog/2018/07/27/sentinel/machinediscover.png | Bin 0 -> 175245 bytes
imgs/blog/2018/07/27/sentinel/resourceTree.png | Bin 0 -> 374871 bytes
.../blog/2018/07/27/sentinel/sentine_dashboard.gif | Bin 0 -> 357037 bytes
...436861-1b63bc4e-3e59-4aa3-800e-a32cfe64950d.png | Bin 0 -> 197632 bytes
.../TB18uzTtdcnBKNjSZR0XXcFqFXa-1820-861.png | Bin 0 -> 85077 bytes
.../TB1Kj1ktpkoBKNjSZFEXXbrEVXa-985-213.png | Bin 0 -> 34393 bytes
.../TB1_YywtDCWBKNjSZFtXXaC3FXa-1737-588.png | Bin 0 -> 29496 bytes
.../TB1b1p2trZnBKNjSZFKXXcGOVXa-1858-833.png | Bin 0 -> 74422 bytes
.../TB1fEpEtrorBKNjSZFjXXc_SpXa-1846-783.png | Bin 0 -> 54154 bytes
.../TB1m.tEtrorBKNjSZFjXXc_SpXa-1892-870.png | Bin 0 -> 76799 bytes
.../TB1oYqvtcIrBKNjSZK9XXagoVXa-1872-888.png | Bin 0 -> 60024 bytes
imgs/blog/2019/07/26/rest/micro-image.png | Bin 0 -> 30000 bytes
imgs/blog/20220905/1.png | Bin 0 -> 34388 bytes
imgs/blog/20220905/10.png | Bin 0 -> 1108633 bytes
imgs/blog/20220905/11.png | Bin 0 -> 566754 bytes
imgs/blog/20220905/12.png | Bin 0 -> 89318 bytes
imgs/blog/20220905/13.png | Bin 0 -> 145406 bytes
imgs/blog/20220905/14.png | Bin 0 -> 81509 bytes
imgs/blog/20220905/15.png | Bin 0 -> 472566 bytes
imgs/blog/20220905/16.png | Bin 0 -> 120071 bytes
imgs/blog/20220905/2.png | Bin 0 -> 87302 bytes
imgs/blog/20220905/3.png | Bin 0 -> 194550 bytes
imgs/blog/20220905/4.png | Bin 0 -> 167678 bytes
imgs/blog/20220905/5.png | Bin 0 -> 365506 bytes
imgs/blog/20220905/6.png | Bin 0 -> 628539 bytes
imgs/blog/20220905/7.png | Bin 0 -> 256759 bytes
imgs/blog/20220905/8.png | Bin 0 -> 218552 bytes
imgs/blog/20220905/9.png | Bin 0 -> 1016168 bytes
imgs/blog/270/branches.png | Bin 0 -> 152851 bytes
imgs/blog/270/invokes.png | Bin 0 -> 919242 bytes
imgs/blog/270/metadata.png | Bin 0 -> 1421983 bytes
imgs/blog/270/tag-route-config.png | Bin 0 -> 1018947 bytes
imgs/blog/270/tag-route.png | Bin 0 -> 1038490 bytes
imgs/blog/Dingtalk_20220724021635.jpg | Bin 0 -> 128307 bytes
imgs/blog/admin/appConfig.jpg | Bin 0 -> 158875 bytes
imgs/blog/admin/complex.jpg | Bin 0 -> 231075 bytes
imgs/blog/admin/conditionRoute.jpg | Bin 0 -> 143372 bytes
imgs/blog/admin/config.jpg | Bin 0 -> 159676 bytes
imgs/blog/admin/metadata.jpg | Bin 0 -> 220394 bytes
imgs/blog/admin/metadata.png | Bin 0 -> 96953 bytes
imgs/blog/admin/route.jpg | Bin 0 -> 176274 bytes
imgs/blog/admin/test.jpg | Bin 0 -> 125324 bytes
imgs/blog/admin/testFail.jpg | Bin 0 -> 226347 bytes
imgs/blog/admin/testSearch.jpg | Bin 0 -> 91983 bytes
imgs/blog/admin/testSuccess.jpg | Bin 0 -> 184130 bytes
imgs/blog/admin/weight.jpg | Bin 0 -> 118044 bytes
imgs/blog/apachecon-na-2018.png | Bin 0 -> 313613 bytes
imgs/blog/api-docs/quickStart.png | Bin 0 -> 212678 bytes
imgs/blog/apisix-plugin/1.png | Bin 0 -> 158828 bytes
imgs/blog/cluster-lb.png | Bin 0 -> 365249 bytes
imgs/blog/community-distribution.png | Bin 0 -> 109956 bytes
imgs/blog/community-github.png | Bin 0 -> 404265 bytes
imgs/blog/community-meetup.png | Bin 0 -> 102115 bytes
imgs/blog/config.png | Bin 0 -> 116251 bytes
imgs/blog/configuration.jpg | Bin 0 -> 225798 bytes
.../consistent-hash-balance-model.jpg | Bin 0 -> 29205 bytes
.../consistent-hash-delete-node-model.jpg | Bin 0 -> 32314 bytes
.../consistenthash/consistent-hash-init-model.jpg | Bin 0 -> 29515 bytes
.../consistent-hash-new-node-model.jpg | Bin 0 -> 35015 bytes
.../consistent-hash-request-model.jpg | Bin 0 -> 34165 bytes
.../consistent-hash-virtual-node-model.jpg | Bin 0 -> 33019 bytes
imgs/blog/consumer-threadpool0.png | Bin 0 -> 314209 bytes
imgs/blog/consumer-threadpool1.png | Bin 0 -> 421182 bytes
imgs/blog/dockerhub-build-rules.png | Bin 0 -> 154981 bytes
imgs/blog/dubbo-architecture.png | Bin 0 -> 18996 bytes
imgs/blog/dubbo-async.svg | 1 +
imgs/blog/dubbo-beijing-meetup.png | Bin 0 -> 239313 bytes
imgs/blog/dubbo-chengdu-meetup-img.jpg | Bin 0 -> 2553076 bytes
imgs/blog/dubbo-chengdu-meetup.jpg | Bin 0 -> 337310 bytes
imgs/blog/dubbo-directly.jpg | Bin 0 -> 38922 bytes
imgs/blog/dubbo-extensionfactory.png | Bin 0 -> 52802 bytes
imgs/blog/dubbo-go/1.4/acl.png | Bin 0 -> 61310 bytes
imgs/blog/dubbo-go/1.4/config-center.png | Bin 0 -> 26009 bytes
imgs/blog/dubbo-go/1.4/context.png | Bin 0 -> 4942 bytes
imgs/blog/dubbo-go/1.4/k8s.png | Bin 0 -> 93011 bytes
imgs/blog/dubbo-go/1.4/rest.png | Bin 0 -> 34214 bytes
imgs/blog/dubbo-go/1.5/loadbalance.png | Bin 0 -> 101387 bytes
imgs/blog/dubbo-go/1.5/multi-registry.png | Bin 0 -> 117029 bytes
imgs/blog/dubbo-go/1.5/router.png | Bin 0 -> 38412 bytes
imgs/blog/dubbo-go/10years/dubbo-go-events.png | Bin 0 -> 31244 bytes
imgs/blog/dubbo-go/10years/dubbo-home.png | Bin 0 -> 137307 bytes
imgs/blog/dubbo-go/10years/dubbo-layer.png | Bin 0 -> 307669 bytes
imgs/blog/dubbo-go/10years/dubbo-triangle.png | Bin 0 -> 99864 bytes
imgs/blog/dubbo-go/1year/dubbo-go-arch.png | Bin 0 -> 223790 bytes
imgs/blog/dubbo-go/1year/dubbo-go-events.png | Bin 0 -> 60161 bytes
imgs/blog/dubbo-go/1year/dubbo-go-k8s.png | Bin 0 -> 152564 bytes
imgs/blog/dubbo-go/1year/dubbo-go-observe.png | Bin 0 -> 50269 bytes
imgs/blog/dubbo-go/1year/dubbo-go-rest.png | Bin 0 -> 57960 bytes
imgs/blog/dubbo-go/3.0-plan/p1.webp | Bin 0 -> 55426 bytes
imgs/blog/dubbo-go/3.0-plan/p2.webp | Bin 0 -> 26698 bytes
imgs/blog/dubbo-go/3.0-plan/p3.webp | Bin 0 -> 45754 bytes
imgs/blog/dubbo-go/3.0-plan/p4.webp | Bin 0 -> 26536 bytes
imgs/blog/dubbo-go/3.0-plan/p5.webp | Bin 0 -> 55550 bytes
imgs/blog/dubbo-go/3.0-plan/p6.webp | Bin 0 -> 6544 bytes
imgs/blog/dubbo-go/3.0-plan/p7.webp | Bin 0 -> 10782 bytes
.../dubbo-go/app-registry/app-registry-model.png | Bin 0 -> 1681951 bytes
.../app-registry/local-metadata-service.png | Bin 0 -> 1699844 bytes
imgs/blog/dubbo-go/app-registry/provideby.png | Bin 0 -> 163966 bytes
imgs/blog/dubbo-go/app-registry/registry-info.png | Bin 0 -> 55713 bytes
imgs/blog/dubbo-go/busy-idle-time-window.png | Bin 0 -> 32701 bytes
imgs/blog/dubbo-go/code1/p1.png | Bin 0 -> 17895 bytes
imgs/blog/dubbo-go/code1/p10.png | Bin 0 -> 51680 bytes
imgs/blog/dubbo-go/code1/p11.png | Bin 0 -> 5668 bytes
imgs/blog/dubbo-go/code1/p12.png | Bin 0 -> 29844 bytes
imgs/blog/dubbo-go/code1/p13.png | Bin 0 -> 18246 bytes
imgs/blog/dubbo-go/code1/p14.png | Bin 0 -> 9163 bytes
imgs/blog/dubbo-go/code1/p15.png | Bin 0 -> 8263 bytes
imgs/blog/dubbo-go/code1/p16.png | Bin 0 -> 31474 bytes
imgs/blog/dubbo-go/code1/p17.png | Bin 0 -> 13336 bytes
imgs/blog/dubbo-go/code1/p18.png | Bin 0 -> 54579 bytes
imgs/blog/dubbo-go/code1/p19.png | Bin 0 -> 51892 bytes
imgs/blog/dubbo-go/code1/p2.png | Bin 0 -> 954481 bytes
imgs/blog/dubbo-go/code1/p20.png | Bin 0 -> 19454 bytes
imgs/blog/dubbo-go/code1/p21.png | Bin 0 -> 35821 bytes
imgs/blog/dubbo-go/code1/p22.png | Bin 0 -> 52245 bytes
imgs/blog/dubbo-go/code1/p23.png | Bin 0 -> 17475 bytes
imgs/blog/dubbo-go/code1/p24.png | Bin 0 -> 14073 bytes
imgs/blog/dubbo-go/code1/p25.png | Bin 0 -> 3549 bytes
imgs/blog/dubbo-go/code1/p26.png | Bin 0 -> 2727 bytes
imgs/blog/dubbo-go/code1/p27.png | Bin 0 -> 4354 bytes
imgs/blog/dubbo-go/code1/p28.png | Bin 0 -> 2188 bytes
imgs/blog/dubbo-go/code1/p29.png | Bin 0 -> 21657 bytes
imgs/blog/dubbo-go/code1/p3.png | Bin 0 -> 93754 bytes
imgs/blog/dubbo-go/code1/p4.png | Bin 0 -> 52318 bytes
imgs/blog/dubbo-go/code1/p5.png | Bin 0 -> 6893 bytes
imgs/blog/dubbo-go/code1/p6.png | Bin 0 -> 36214 bytes
imgs/blog/dubbo-go/code1/p7.png | Bin 0 -> 7640 bytes
imgs/blog/dubbo-go/code1/p8.png | Bin 0 -> 15488 bytes
imgs/blog/dubbo-go/code1/p9.png | Bin 0 -> 56351 bytes
imgs/blog/dubbo-go/code2/p1.png | Bin 0 -> 155856 bytes
imgs/blog/dubbo-go/code2/p2.png | Bin 0 -> 106127 bytes
imgs/blog/dubbo-go/code2/p3.png | Bin 0 -> 35147 bytes
imgs/blog/dubbo-go/code2/p4.png | Bin 0 -> 110362 bytes
imgs/blog/dubbo-go/code2/p5.png | Bin 0 -> 82163 bytes
imgs/blog/dubbo-go/code2/p6.png | Bin 0 -> 22061 bytes
imgs/blog/dubbo-go/code2/p7.png | Bin 0 -> 24077 bytes
imgs/blog/dubbo-go/code2/p8.png | Bin 0 -> 4754 bytes
imgs/blog/dubbo-go/code2/p9.png | Bin 0 -> 141104 bytes
.../dubbo-go/config-center/config-center-class.jpg | Bin 0 -> 60991 bytes
imgs/blog/dubbo-go/config-center/design.png | Bin 0 -> 45181 bytes
imgs/blog/dubbo-go/config-center/key-struct.png | Bin 0 -> 34451 bytes
.../dubbo-go/config-center/zookeeper-usercase.png | Bin 0 -> 81623 bytes
imgs/blog/dubbo-go/connected_udp_socket.gif | Bin 0 -> 13891 bytes
imgs/blog/dubbo-go/dns_udp.gif | Bin 0 -> 12163 bytes
imgs/blog/dubbo-go/dubbo-go-arch-2.png | Bin 0 -> 215602 bytes
imgs/blog/dubbo-go/dubbo-go-arch.png | Bin 0 -> 382889 bytes
imgs/blog/dubbo-go/dubbo-go-curcuit-breaker.png | Bin 0 -> 211776 bytes
imgs/blog/dubbo-go/dubbo-go-generic-invoke.png | Bin 0 -> 125011 bytes
imgs/blog/dubbo-go/dubbo-go-getty.png | Bin 0 -> 215275 bytes
imgs/blog/dubbo-go/dubbo-go-hessian2.png | Bin 0 -> 254016 bytes
imgs/blog/dubbo-go/dubbo-go-history.png | Bin 0 -> 164989 bytes
imgs/blog/dubbo-go/dubbo-go-logo.jpg | Bin 0 -> 142510 bytes
imgs/blog/dubbo-go/dubbo-go-roadmap-2019.png | Bin 0 -> 118244 bytes
imgs/blog/dubbo-go/dubbo-roadmap-2019.jpg | Bin 0 -> 192191 bytes
imgs/blog/dubbo-go/dubbo-tlp-twitter.jpg | Bin 0 -> 299090 bytes
imgs/blog/dubbo-go/fixed-window.png | Bin 0 -> 4427 bytes
imgs/blog/dubbo-go/from-scratch/dfsa01.jpg | Bin 0 -> 212105 bytes
imgs/blog/dubbo-go/from-scratch/dfsa02.png | Bin 0 -> 1159711 bytes
imgs/blog/dubbo-go/go-consumer.png | Bin 0 -> 256195 bytes
imgs/blog/dubbo-go/go-provider.png | Bin 0 -> 191597 bytes
imgs/blog/dubbo-go/gochina/p1.jpeg | Bin 0 -> 71685 bytes
imgs/blog/dubbo-go/gochina/p10.jpeg | Bin 0 -> 35856 bytes
imgs/blog/dubbo-go/gochina/p11.jpeg | Bin 0 -> 38227 bytes
imgs/blog/dubbo-go/gochina/p12.jpeg | Bin 0 -> 106324 bytes
imgs/blog/dubbo-go/gochina/p13.jpeg | Bin 0 -> 65722 bytes
imgs/blog/dubbo-go/gochina/p14.jpeg | Bin 0 -> 32546 bytes
imgs/blog/dubbo-go/gochina/p15.png | Bin 0 -> 44705 bytes
imgs/blog/dubbo-go/gochina/p16.png | Bin 0 -> 56672 bytes
imgs/blog/dubbo-go/gochina/p17.jpeg | Bin 0 -> 62079 bytes
imgs/blog/dubbo-go/gochina/p18.jpeg | Bin 0 -> 56417 bytes
imgs/blog/dubbo-go/gochina/p19.jpeg | Bin 0 -> 56519 bytes
imgs/blog/dubbo-go/gochina/p2.jpeg | Bin 0 -> 96715 bytes
imgs/blog/dubbo-go/gochina/p20.png | Bin 0 -> 10486 bytes
imgs/blog/dubbo-go/gochina/p21.png | Bin 0 -> 42361 bytes
imgs/blog/dubbo-go/gochina/p22.jpeg | Bin 0 -> 65540 bytes
imgs/blog/dubbo-go/gochina/p23.jpeg | Bin 0 -> 43403 bytes
imgs/blog/dubbo-go/gochina/p24.png | Bin 0 -> 26224 bytes
imgs/blog/dubbo-go/gochina/p25.jpeg | Bin 0 -> 42221 bytes
imgs/blog/dubbo-go/gochina/p26.jpeg | Bin 0 -> 73354 bytes
imgs/blog/dubbo-go/gochina/p3.jpeg | Bin 0 -> 37017 bytes
imgs/blog/dubbo-go/gochina/p4.jpeg | Bin 0 -> 40387 bytes
imgs/blog/dubbo-go/gochina/p5.jpeg | Bin 0 -> 46654 bytes
imgs/blog/dubbo-go/gochina/p6.jpeg | Bin 0 -> 34476 bytes
imgs/blog/dubbo-go/gochina/p7.jpeg | Bin 0 -> 36259 bytes
imgs/blog/dubbo-go/gochina/p8.jpeg | Bin 0 -> 76746 bytes
imgs/blog/dubbo-go/gochina/p9.jpeg | Bin 0 -> 69688 bytes
imgs/blog/dubbo-go/grpc/p1.webp | Bin 0 -> 19842 bytes
imgs/blog/dubbo-go/grpc/p10.webp | Bin 0 -> 20884 bytes
imgs/blog/dubbo-go/grpc/p11.webp | Bin 0 -> 19354 bytes
imgs/blog/dubbo-go/grpc/p12.webp | Bin 0 -> 2830 bytes
imgs/blog/dubbo-go/grpc/p13.webp | Bin 0 -> 8902 bytes
imgs/blog/dubbo-go/grpc/p14.webp | Bin 0 -> 22198 bytes
imgs/blog/dubbo-go/grpc/p2.webp | Bin 0 -> 14630 bytes
imgs/blog/dubbo-go/grpc/p3.webp | Bin 0 -> 22224 bytes
imgs/blog/dubbo-go/grpc/p4.webp | Bin 0 -> 13066 bytes
imgs/blog/dubbo-go/grpc/p5.webp | Bin 0 -> 25834 bytes
imgs/blog/dubbo-go/grpc/p6.webp | Bin 0 -> 12158 bytes
imgs/blog/dubbo-go/grpc/p7.webp | Bin 0 -> 11720 bytes
imgs/blog/dubbo-go/grpc/p8.webp | Bin 0 -> 27484 bytes
imgs/blog/dubbo-go/grpc/p9.webp | Bin 0 -> 6666 bytes
imgs/blog/dubbo-go/hessian/p1.png | Bin 0 -> 106511 bytes
imgs/blog/dubbo-go/hessian/p2.png | Bin 0 -> 107399 bytes
imgs/blog/dubbo-go/hessian/p3.png | Bin 0 -> 68234 bytes
imgs/blog/dubbo-go/hessian/p4.png | Bin 0 -> 49751 bytes
imgs/blog/dubbo-go/hessian/p5.png | Bin 0 -> 59008 bytes
imgs/blog/dubbo-go/hessian/p6.png | Bin 0 -> 43664 bytes
imgs/blog/dubbo-go/hessian/p7.png | Bin 0 -> 108335 bytes
imgs/blog/dubbo-go/hessian/p8.png | Bin 0 -> 74500 bytes
imgs/blog/dubbo-go/java-go-interop.png | Bin 0 -> 164979 bytes
imgs/blog/dubbo-go/java-provider.png | Bin 0 -> 164952 bytes
imgs/blog/dubbo-go/k8s/design.png | Bin 0 -> 169153 bytes
imgs/blog/dubbo-go/k8s/dubbo-service-discovery.png | Bin 0 -> 24839 bytes
imgs/blog/dubbo-go/k8s/k8s-service-discovery.png | Bin 0 -> 86770 bytes
imgs/blog/dubbo-go/metrics/p1.png | Bin 0 -> 15034 bytes
imgs/blog/dubbo-go/metrics/p10.webp | Bin 0 -> 33662 bytes
imgs/blog/dubbo-go/metrics/p11.webp | Bin 0 -> 10544 bytes
imgs/blog/dubbo-go/metrics/p12.webp | Bin 0 -> 18466 bytes
imgs/blog/dubbo-go/metrics/p2.webp | Bin 0 -> 7708 bytes
imgs/blog/dubbo-go/metrics/p3.webp | Bin 0 -> 35842 bytes
imgs/blog/dubbo-go/metrics/p4.webp | Bin 0 -> 8384 bytes
imgs/blog/dubbo-go/metrics/p5.webp | Bin 0 -> 10720 bytes
imgs/blog/dubbo-go/metrics/p6.webp | Bin 0 -> 6138 bytes
imgs/blog/dubbo-go/metrics/p7.webp | Bin 0 -> 16428 bytes
imgs/blog/dubbo-go/metrics/p8.webp | Bin 0 -> 6248 bytes
imgs/blog/dubbo-go/metrics/p9.webp | Bin 0 -> 12390 bytes
imgs/blog/dubbo-go/moson-optimize/p1.png | Bin 0 -> 241057 bytes
imgs/blog/dubbo-go/moson-optimize/p2.png | Bin 0 -> 261944 bytes
imgs/blog/dubbo-go/moson-optimize/p3.png | Bin 0 -> 324576 bytes
imgs/blog/dubbo-go/moson-optimize/p4.png | Bin 0 -> 331591 bytes
imgs/blog/dubbo-go/nacos/p1.png | Bin 0 -> 231313 bytes
imgs/blog/dubbo-go/nacos/p2.png | Bin 0 -> 141605 bytes
imgs/blog/dubbo-go/nacos/p3.png | Bin 0 -> 176504 bytes
imgs/blog/dubbo-go/nacos/p4.png | Bin 0 -> 238958 bytes
imgs/blog/dubbo-go/nacos/p5.png | Bin 0 -> 513996 bytes
imgs/blog/dubbo-go/nacos/p6.png | Bin 0 -> 116991 bytes
imgs/blog/dubbo-go/nacos/p7.png | Bin 0 -> 263186 bytes
imgs/blog/dubbo-go/nacos/p8.png | Bin 0 -> 153733 bytes
imgs/blog/dubbo-go/nacos/p9.png | Bin 0 -> 250554 bytes
imgs/blog/dubbo-go/quickstart/admin.png | Bin 0 -> 152668 bytes
imgs/blog/dubbo-go/quickstart/console.png | Bin 0 -> 193529 bytes
imgs/blog/dubbo-go/rest/rest-call-process.webp | Bin 0 -> 29178 bytes
imgs/blog/dubbo-go/rest/rest-call.webp | Bin 0 -> 9604 bytes
imgs/blog/dubbo-go/router/dubbo-admin-1.png | Bin 0 -> 73321 bytes
imgs/blog/dubbo-go/router/dubbo-admin-2.png | Bin 0 -> 85105 bytes
imgs/blog/dubbo-go/router/router-design.png | Bin 0 -> 39519 bytes
imgs/blog/dubbo-go/seata/p1.webp | Bin 0 -> 32696 bytes
imgs/blog/dubbo-go/seata/p2.webp | Bin 0 -> 12302 bytes
imgs/blog/dubbo-go/seata/p3.webp | Bin 0 -> 28034 bytes
.../sentinel/dubbo-go-sentinel-provider-filter.png | Bin 0 -> 298046 bytes
imgs/blog/dubbo-go/sentinel/sentinel-golang.png | Bin 0 -> 29177 bytes
imgs/blog/dubbo-go/sliding-window.png | Bin 0 -> 5433 bytes
imgs/blog/dubbo-go/tps-limit-filter.png | Bin 0 -> 64912 bytes
imgs/blog/dubbo-go/tps-limiter.png | Bin 0 -> 30601 bytes
imgs/blog/dubbo-go/trusted-call/process.png | Bin 0 -> 35864 bytes
imgs/blog/dubbo-go/tuya/p1.png | Bin 0 -> 235005 bytes
imgs/blog/dubbo-go/tuya/p2.png | Bin 0 -> 109080 bytes
imgs/blog/dubbo-go/tuya/p3.png | Bin 0 -> 132109 bytes
imgs/blog/dubbo-graalvm-support/compile_result.png | Bin 0 -> 115732 bytes
.../dubbo-graalvm-support/consumer_compiler.png | Bin 0 -> 151386 bytes
imgs/blog/dubbo-graalvm-support/demo_path.png | Bin 0 -> 227266 bytes
imgs/blog/dubbo-graalvm-support/graalvm.png | Bin 0 -> 187363 bytes
imgs/blog/dubbo-graalvm-support/graalvm_env.png | Bin 0 -> 52205 bytes
.../dubbo-graalvm-support/provider_compiler.png | Bin 0 -> 137152 bytes
imgs/blog/dubbo-hangzhou-meetup.jpg | Bin 0 -> 321249 bytes
imgs/blog/dubbo-in-zk.jpg | Bin 0 -> 31272 bytes
imgs/blog/dubbo-initializr.png | Bin 0 -> 90475 bytes
imgs/blog/dubbo-local-call-filter.png | Bin 0 -> 29167 bytes
imgs/blog/dubbo-meetup-shenzhen-haibao.jpg | Bin 0 -> 350625 bytes
imgs/blog/dubbo-metadata-nacos-1.png | Bin 0 -> 85630 bytes
imgs/blog/dubbo-metadata-nacos-2.png | Bin 0 -> 96425 bytes
imgs/blog/dubbo-metadata-nacos-3.png | Bin 0 -> 48771 bytes
imgs/blog/dubbo-metadata-nacos-4.png | Bin 0 -> 31729 bytes
imgs/blog/dubbo-mock-stub-flow.png | Bin 0 -> 20020 bytes
imgs/blog/dubbo-protocol.png | Bin 0 -> 3102 bytes
imgs/blog/dubbo-registry-nacos-1.png | Bin 0 -> 188399 bytes
imgs/blog/dubbo-registry-nacos-10.png | Bin 0 -> 110645 bytes
imgs/blog/dubbo-registry-nacos-11.png | Bin 0 -> 118722 bytes
imgs/blog/dubbo-registry-nacos-2.png | Bin 0 -> 299453 bytes
imgs/blog/dubbo-registry-nacos-3.png | Bin 0 -> 229934 bytes
imgs/blog/dubbo-registry-nacos-4.png | Bin 0 -> 28984 bytes
imgs/blog/dubbo-registry-nacos-5.png | Bin 0 -> 28984 bytes
imgs/blog/dubbo-registry-nacos-6.png | Bin 0 -> 66583 bytes
imgs/blog/dubbo-registry-nacos-7.png | Bin 0 -> 110645 bytes
imgs/blog/dubbo-registry-nacos-8.png | Bin 0 -> 118722 bytes
imgs/blog/dubbo-registry-nacos-9.png | Bin 0 -> 66583 bytes
imgs/blog/dubbo-screen.png | Bin 0 -> 355637 bytes
imgs/blog/dubbo-screen2.png | Bin 0 -> 353965 bytes
imgs/blog/dubbo-servicenamemapping.png | Bin 0 -> 38226 bytes
imgs/blog/dubbo-shanghai-meetup.jpeg | Bin 0 -> 98642 bytes
imgs/blog/dubbo-shenzhen-meetup.jpg | Bin 0 -> 60403 bytes
.../dubbo3.0-graalvm-support/code_generator.jpg | Bin 0 -> 231917 bytes
imgs/blog/dubbo3.0-graalvm-support/graalvm_env.jpg | Bin 0 -> 54952 bytes
imgs/blog/dubbo3.0-graalvm-support/graalvmgw.jpg | Bin 0 -> 301691 bytes
.../native_image_build.jpg | Bin 0 -> 299922 bytes
imgs/blog/dubbo3.0-graalvm-support/resources.jpg | Bin 0 -> 53661 bytes
.../blog/dubbo3.0-graalvm-support/run_consumer.jpg | Bin 0 -> 30345 bytes
.../blog/dubbo3.0-graalvm-support/run_provider.jpg | Bin 0 -> 132846 bytes
imgs/blog/dubbo_loadbalance.png | Bin 0 -> 23567 bytes
imgs/blog/dubboasyn_client/1.png | Bin 0 -> 14982 bytes
imgs/blog/dubboasyn_client/1_en.png | Bin 0 -> 17755 bytes
imgs/blog/dubboasyn_server/1.png | Bin 0 -> 9186 bytes
imgs/blog/dubboasyn_server/2.png | Bin 0 -> 10052 bytes
imgs/blog/dubboasyn_server/3.png | Bin 0 -> 15434 bytes
imgs/blog/dubboasyn_server/4.png | Bin 0 -> 13064 bytes
imgs/blog/dubbomesh/1.png | Bin 0 -> 83915 bytes
imgs/blog/dubbomesh/10.png | Bin 0 -> 3913297 bytes
imgs/blog/dubbomesh/2.png | Bin 0 -> 166343 bytes
imgs/blog/dubbomesh/3.png | Bin 0 -> 186170 bytes
imgs/blog/dubbomesh/4.png | Bin 0 -> 110794 bytes
imgs/blog/dubbomesh/5.png | Bin 0 -> 137633 bytes
imgs/blog/dubbomesh/6.png | Bin 0 -> 416234 bytes
imgs/blog/dubbomesh/7.png | Bin 0 -> 193122 bytes
imgs/blog/dubbomesh/8.png | Bin 0 -> 167321 bytes
imgs/blog/dubbomesh/9.png | Bin 0 -> 305526 bytes
imgs/blog/en_pinpoint-calltree.png | Bin 0 -> 655223 bytes
imgs/blog/en_pinpoint-home.png | Bin 0 -> 303613 bytes
imgs/blog/en_pinpoint-mixedview.png | Bin 0 -> 434638 bytes
imgs/blog/fescar/fescar-1.png | Bin 0 -> 101828 bytes
imgs/blog/fescar/fescar-2.png | Bin 0 -> 324922 bytes
imgs/blog/filter.png | Bin 0 -> 295098 bytes
imgs/blog/grpc/compiler-classes.png | Bin 0 -> 76594 bytes
imgs/blog/grpc/compiler-protobuf.png | Bin 0 -> 244582 bytes
imgs/blog/grpc/dubbo-ptotocol.png | Bin 0 -> 763630 bytes
imgs/blog/grpc/http1.png | Bin 0 -> 29116 bytes
imgs/blog/grpc/http2.png | Bin 0 -> 5420 bytes
imgs/blog/grpcrest.png | Bin 0 -> 274229 bytes
imgs/blog/heterogeneous.png | Bin 0 -> 236827 bytes
imgs/blog/idl-dubbo-compiler.png | Bin 0 -> 498337 bytes
imgs/blog/involve-dubbo/apache-history.png | Bin 0 -> 240521 bytes
imgs/blog/involve-dubbo/apache-org.png | Bin 0 -> 131032 bytes
imgs/blog/involve-dubbo/apache-way.png | Bin 0 -> 272260 bytes
imgs/blog/involve-dubbo/dubbo-community.png | Bin 0 -> 246902 bytes
imgs/blog/involve-dubbo/dubbo-project.png | Bin 0 -> 412187 bytes
imgs/blog/involve-dubbo/get-into-apache.png | Bin 0 -> 298404 bytes
imgs/blog/involve-dubbo/head.jpg | Bin 0 -> 229503 bytes
imgs/blog/k8s/1.png | Bin 0 -> 375679 bytes
imgs/blog/k8s/10.png | Bin 0 -> 197161 bytes
imgs/blog/k8s/2.jpeg | Bin 0 -> 77171 bytes
imgs/blog/k8s/3.jpeg | Bin 0 -> 676938 bytes
imgs/blog/k8s/4.png | Bin 0 -> 150824 bytes
imgs/blog/k8s/5.png | Bin 0 -> 283901 bytes
imgs/blog/k8s/6.png | Bin 0 -> 275609 bytes
imgs/blog/k8s/7.png | Bin 0 -> 381797 bytes
imgs/blog/k8s/8.png | Bin 0 -> 217990 bytes
imgs/blog/k8s/9.png | Bin 0 -> 410467 bytes
imgs/blog/meetup-chengdu/all-hands.webp | Bin 0 -> 90746 bytes
imgs/blog/meetup-chengdu/audience-shapshot.webp | Bin 0 -> 58320 bytes
imgs/blog/meetup-chengdu/challenges-continued.jpg | Bin 0 -> 36616 bytes
imgs/blog/meetup-chengdu/challenges.jpg | Bin 0 -> 69680 bytes
imgs/blog/meetup-chengdu/forms.jpg | Bin 0 -> 61143 bytes
imgs/blog/meetup-chengdu/speaker.webp | Bin 0 -> 15194 bytes
imgs/blog/meetup-chengdu/trends.jpg | Bin 0 -> 60540 bytes
imgs/blog/meetup-chengdu/what.jpg | Bin 0 -> 71448 bytes
imgs/blog/microservices.png | Bin 0 -> 295839 bytes
imgs/blog/migrate-final.png | Bin 0 -> 356554 bytes
imgs/blog/migrate.png | Bin 0 -> 272647 bytes
imgs/blog/motan-agent.png | Bin 0 -> 194646 bytes
imgs/blog/motan-protocol-en.png | Bin 0 -> 355484 bytes
imgs/blog/motan-protocol.png | Bin 0 -> 340668 bytes
imgs/blog/multiregistries.png | Bin 0 -> 511661 bytes
imgs/blog/multisubscribe.png | Bin 0 -> 802610 bytes
imgs/blog/network/01.png | Bin 0 -> 7603 bytes
imgs/blog/network/02.png | Bin 0 -> 8927 bytes
imgs/blog/network/03.png | Bin 0 -> 10966 bytes
imgs/blog/network/04.png | Bin 0 -> 390818 bytes
imgs/blog/pinpoint-calltree.png | Bin 0 -> 693731 bytes
imgs/blog/pinpoint-home.png | Bin 0 -> 317984 bytes
imgs/blog/pinpoint-mixedview.png | Bin 0 -> 480963 bytes
imgs/blog/pu-server/pu-server-flow.png | Bin 0 -> 75669 bytes
imgs/blog/pu-server/qos-telnet-directcall.png | Bin 0 -> 51182 bytes
imgs/blog/pu-server/qos-telnet-sendayt.png | Bin 0 -> 35833 bytes
imgs/blog/pu-server/reference-service.png | Bin 0 -> 61591 bytes
imgs/blog/qcon-beijing-2018.jpeg | Bin 0 -> 136680 bytes
imgs/blog/qos-architecture.png | Bin 0 -> 30670 bytes
imgs/blog/release/3-1-3.png | Bin 0 -> 1503489 bytes
imgs/blog/release/3-2-0-beta-2.png | Bin 0 -> 1464089 bytes
imgs/blog/rest-sample.png | Bin 0 -> 52554 bytes
imgs/blog/rmi-flow.png | Bin 0 -> 12334 bytes
imgs/blog/route-app.png | Bin 0 -> 328631 bytes
imgs/blog/route-service.png | Bin 0 -> 357813 bytes
imgs/blog/rpc/rpc-structure-1.png | Bin 0 -> 261422 bytes
imgs/blog/rpc/rpc-structure-2.png | Bin 0 -> 328282 bytes
imgs/blog/rpc/rpc-work-principle.png | Bin 0 -> 29109 bytes
imgs/blog/sentinel-dashboard-metrics.png | Bin 0 -> 202135 bytes
imgs/blog/sentinel-dashboard-view-rules.png | Bin 0 -> 123996 bytes
imgs/blog/service-discovery-1.png | Bin 0 -> 152651 bytes
imgs/blog/service-discovery-10.png | Bin 0 -> 64175 bytes
imgs/blog/service-discovery-11.png | Bin 0 -> 187348 bytes
imgs/blog/service-discovery-2.png | Bin 0 -> 26796 bytes
imgs/blog/service-discovery-3.png | Bin 0 -> 41557 bytes
imgs/blog/service-discovery-4.png | Bin 0 -> 46055 bytes
imgs/blog/service-discovery-5.png | Bin 0 -> 203027 bytes
imgs/blog/service-discovery-6.png | Bin 0 -> 559036 bytes
imgs/blog/service-discovery-7.png | Bin 0 -> 131472 bytes
imgs/blog/service-discovery-8.png | Bin 0 -> 20057 bytes
imgs/blog/service-discovery-9.png | Bin 0 -> 177636 bytes
imgs/blog/service-group-1.png | Bin 0 -> 61925 bytes
imgs/blog/service-group-2.png | Bin 0 -> 68881 bytes
imgs/blog/service-idl.png | Bin 0 -> 374229 bytes
imgs/blog/service-idl2.png | Bin 0 -> 1084387 bytes
imgs/blog/servicediscovery-new.png | Bin 0 -> 227813 bytes
imgs/blog/servicediscovery-old.png | Bin 0 -> 527472 bytes
imgs/blog/servicediscovery/arc.png | Bin 0 -> 152651 bytes
imgs/blog/servicediscovery/centers.png | Bin 0 -> 219313 bytes
imgs/blog/servicediscovery/meta.png | Bin 0 -> 131472 bytes
imgs/blog/servicediscovery/metadatacenter.png | Bin 0 -> 64175 bytes
imgs/blog/servicediscovery/metadataservice.png | Bin 0 -> 20057 bytes
imgs/blog/servicediscovery/rpc-dubbo.png | Bin 0 -> 46055 bytes
imgs/blog/servicediscovery/rpc-k8s.png | Bin 0 -> 359553 bytes
imgs/blog/servicediscovery/rpc-sc.png | Bin 0 -> 41557 bytes
imgs/blog/servicediscovery/rpc.png | Bin 0 -> 26796 bytes
imgs/blog/servicediscovery/rpc1.png | Bin 0 -> 41557 bytes
.../servicediscovery/servicediscovery-perf.png | Bin 0 -> 389833 bytes
imgs/blog/servicediscovery/workflow.png | Bin 0 -> 226611 bytes
imgs/blog/shenyu-dubbo/ApacheDubboPlugin.png | Bin 0 -> 14832 bytes
imgs/blog/shenyu-dubbo/ApacheShenYu-Dubbo-en.png | Bin 0 -> 128630 bytes
imgs/blog/shenyu-dubbo/ApacheShenYu-Dubbo-zh.png | Bin 0 -> 113271 bytes
imgs/blog/shenyu-dubbo/MessageWriter.png | Bin 0 -> 15626 bytes
.../ShenyuClientRegisterDubboServiceImpl.png | Bin 0 -> 26691 bytes
imgs/blog/shenyu-dubbo/data-sync-seq-en.png | Bin 0 -> 58201 bytes
imgs/blog/shenyu-dubbo/data-sync-seq-zh.png | Bin 0 -> 93305 bytes
imgs/blog/shenyu-dubbo/data-sync.png | Bin 0 -> 83529 bytes
imgs/blog/shenyu-dubbo/dubbo-enable-en.png | Bin 0 -> 138868 bytes
imgs/blog/shenyu-dubbo/dubbo-enable-zh.png | Bin 0 -> 147345 bytes
imgs/blog/shenyu-dubbo/dubbo-execute-en.png | Bin 0 -> 55691 bytes
imgs/blog/shenyu-dubbo/dubbo-execute-zh.png | Bin 0 -> 72315 bytes
imgs/blog/shenyu-dubbo/dubbo-register-en.png | Bin 0 -> 61502 bytes
imgs/blog/shenyu-dubbo/dubbo-register-zh.png | Bin 0 -> 65742 bytes
imgs/blog/shenyu-dubbo/dubbo-rule-en.png | Bin 0 -> 135915 bytes
imgs/blog/shenyu-dubbo/dubbo-rule-zh.png | Bin 0 -> 129569 bytes
imgs/blog/shenyu-dubbo/dubbo-selector-en.png | Bin 0 -> 136569 bytes
imgs/blog/shenyu-dubbo/dubbo-selector-zh.png | Bin 0 -> 123354 bytes
imgs/blog/shenyu-dubbo/dubbo-service-list-en.png | Bin 0 -> 178276 bytes
imgs/blog/shenyu-dubbo/dubbo-service-list-zh.png | Bin 0 -> 189937 bytes
imgs/blog/shenyu-dubbo/register-client.png | Bin 0 -> 70104 bytes
imgs/blog/shenyu-dubbo/register-server.png | Bin 0 -> 215477 bytes
imgs/blog/shenyu-dubbo/shenyu.png | Bin 0 -> 238554 bytes
imgs/blog/skywalking-alarm.png | Bin 0 -> 181739 bytes
imgs/blog/skywalking-application.png | Bin 0 -> 229539 bytes
imgs/blog/skywalking-application_instance.png | Bin 0 -> 203651 bytes
imgs/blog/skywalking-dashboard.png | Bin 0 -> 257273 bytes
imgs/blog/skywalking-service-consumer.png | Bin 0 -> 282541 bytes
imgs/blog/skywalking-service-provider.png | Bin 0 -> 366038 bytes
imgs/blog/skywalking-span-Info.png | Bin 0 -> 192403 bytes
imgs/blog/skywalking-topology.png | Bin 0 -> 173667 bytes
imgs/blog/skywalking-trace.png | Bin 0 -> 217096 bytes
imgs/blog/source-blog/1-zookeeper-data.png | Bin 0 -> 402843 bytes
imgs/blog/source-blog/1-zookeeper.png | Bin 0 -> 326294 bytes
imgs/blog/source-blog/13-config-1.png | Bin 0 -> 130882 bytes
imgs/blog/source-blog/13-config2.png | Bin 0 -> 104484 bytes
imgs/blog/source-blog/14-config.png | Bin 0 -> 73900 bytes
imgs/blog/source-blog/15-config.png | Bin 0 -> 46176 bytes
imgs/blog/source-blog/15-config2.png | Bin 0 -> 58689 bytes
imgs/blog/source-blog/16-deploy.png | Bin 0 -> 126253 bytes
imgs/blog/source-blog/16-deploy2.png | Bin 0 -> 132338 bytes
imgs/blog/source-blog/16-deploy3.png | Bin 0 -> 85607 bytes
imgs/blog/source-blog/16-deploy4.png | Bin 0 -> 57082 bytes
imgs/blog/source-blog/17-register.png | Bin 0 -> 46613 bytes
imgs/blog/source-blog/17-register10.png | Bin 0 -> 170282 bytes
imgs/blog/source-blog/17-register2.png | Bin 0 -> 69911 bytes
imgs/blog/source-blog/17-register3.png | Bin 0 -> 190531 bytes
imgs/blog/source-blog/17-register4.png | Bin 0 -> 127930 bytes
imgs/blog/source-blog/17-register5.png | Bin 0 -> 58471 bytes
imgs/blog/source-blog/17-register6.png | Bin 0 -> 52195 bytes
imgs/blog/source-blog/17-register7.png | Bin 0 -> 170254 bytes
imgs/blog/source-blog/17-register8.png | Bin 0 -> 121660 bytes
imgs/blog/source-blog/17-register9.png | Bin 0 -> 34491 bytes
imgs/blog/source-blog/18-metadata.png | Bin 0 -> 91782 bytes
imgs/blog/source-blog/18-metadata2.png | Bin 0 -> 365719 bytes
imgs/blog/source-blog/18-metadata3.png | Bin 0 -> 277631 bytes
imgs/blog/source-blog/18-metadata4.png | Bin 0 -> 452399 bytes
imgs/blog/source-blog/19-zk.png | Bin 0 -> 114706 bytes
imgs/blog/source-blog/19-zk2.png | Bin 0 -> 400829 bytes
imgs/blog/source-blog/2-ServiceConfig.png | Bin 0 -> 422176 bytes
imgs/blog/source-blog/20-refe.png | Bin 0 -> 558575 bytes
imgs/blog/source-blog/21-createInvokerRemote.png | Bin 0 -> 233141 bytes
imgs/blog/source-blog/3-extension.png | Bin 0 -> 74859 bytes
imgs/blog/source-blog/3-initextent.png | Bin 0 -> 141853 bytes
imgs/blog/source-blog/3-model.png | Bin 0 -> 53993 bytes
imgs/blog/source-blog/4-dubbo-arch.png | Bin 0 -> 161891 bytes
imgs/blog/source-blog/4-dubbo-arch2.png | Bin 0 -> 849298 bytes
imgs/blog/source-blog/4-dubbo-arch3.png | Bin 0 -> 200010 bytes
imgs/blog/source-blog/4-dubbo-extension.png | Bin 0 -> 71296 bytes
imgs/blog/source-blog/4-dubbo-extension2.png | Bin 0 -> 205415 bytes
imgs/blog/source-blog/register.png | Bin 0 -> 814937 bytes
imgs/blog/springmvc.png | Bin 0 -> 28524 bytes
imgs/blog/subscribe-only.jpg | Bin 0 -> 20626 bytes
imgs/blog/swagger-ui-execute.png | Bin 0 -> 431651 bytes
imgs/blog/swagger-ui.png | Bin 0 -> 160468 bytes
imgs/blog/trace-sample.png | Bin 0 -> 35537 bytes
imgs/blog/url-perf-tuning-1.png | Bin 0 -> 14586 bytes
imgs/blog/url-perf-tuning-2.png | Bin 0 -> 50785 bytes
imgs/blog/url-perf-tuning-3.png | Bin 0 -> 54053 bytes
imgs/blog/url-perf-tuning-4.png | Bin 0 -> 32461 bytes
imgs/blog/url-perf-tuning-5.png | Bin 0 -> 73539 bytes
imgs/blog/url-perf-tuning-6.png | Bin 0 -> 30489 bytes
imgs/blog/url-perf-tuning-7.png | Bin 0 -> 163554 bytes
imgs/blog/url-perf-tuning-8.png | Bin 0 -> 185862 bytes
imgs/blog/zipkin-architecture.png | Bin 0 -> 38500 bytes
imgs/blog/zipkin-dubbo-project.png | Bin 0 -> 147401 bytes
imgs/blog/zipkin-span.png | Bin 0 -> 363230 bytes
imgs/blog/zipkin-trace.png | Bin 0 -> 54776 bytes
imgs/blog/zipkin-web-screenshot.png | Bin 0 -> 356606 bytes
imgs/blog/zk-emsemble.png | Bin 0 -> 86220 bytes
imgs/blog/zk-tree.png | Bin 0 -> 34214 bytes
imgs/dev/checkstyle1.png | Bin 0 -> 72276 bytes
imgs/dev/checkstyle2.png | Bin 0 -> 34066 bytes
imgs/dev/checkstyle3.png | Bin 0 -> 13399 bytes
imgs/dev/checkstyle4.png | Bin 0 -> 29805 bytes
imgs/dev/close-expand.jpg | Bin 0 -> 19287 bytes
imgs/dev/cluster.jpg | Bin 0 -> 32874 bytes
imgs/dev/configcenter_nacos_model.jpg | Bin 0 -> 78352 bytes
imgs/dev/configcenter_zk_model.jpg | Bin 0 -> 189160 bytes
imgs/dev/configcenter_zk_properties.jpg | Bin 0 -> 92946 bytes
imgs/dev/configcenter_zk_rule.jpg | Bin 0 -> 131167 bytes
imgs/dev/configcenter_zk_singleitem.jpg | Bin 0 -> 53837 bytes
imgs/dev/configuration-override.png | Bin 0 -> 11422 bytes
imgs/dev/consistent-hash-data-incline.jpg | Bin 0 -> 101943 bytes
imgs/dev/consistent-hash-invoker.jpg | Bin 0 -> 87844 bytes
imgs/dev/consistent-hash.jpg | Bin 0 -> 95740 bytes
imgs/dev/data-format.jpg | Bin 0 -> 115165 bytes
imgs/dev/ddd.jpg | Bin 0 -> 19358 bytes
imgs/dev/design-step1.png | Bin 0 -> 121672 bytes
imgs/dev/design-step2.png | Bin 0 -> 141298 bytes
imgs/dev/design-step3.png | Bin 0 -> 165828 bytes
imgs/dev/design-step4.png | Bin 0 -> 240786 bytes
imgs/dev/directory-inherit-hierarchy.png | Bin 0 -> 69024 bytes
imgs/dev/dispatcher-location.jpg | Bin 0 -> 89871 bytes
imgs/dev/dubbo-export.jpg | Bin 0 -> 70132 bytes
imgs/dev/dubbo-extension.jpg | Bin 0 -> 112692 bytes
imgs/dev/dubbo-framework.jpg | Bin 0 -> 219759 bytes
imgs/dev/dubbo-modules.jpg | Bin 0 -> 25411 bytes
imgs/dev/dubbo-protocol.jpg | Bin 0 -> 19340 bytes
imgs/dev/dubbo-refer.jpg | Bin 0 -> 105967 bytes
imgs/dev/dubbo-relation.jpg | Bin 0 -> 30304 bytes
imgs/dev/dubbo-spi-result.jpg | Bin 0 -> 33007 bytes
imgs/dev/dubbo_protocol_header.png | Bin 0 -> 74833 bytes
imgs/dev/dubbo_rpc_export.jpg | Bin 0 -> 47624 bytes
imgs/dev/dubbo_rpc_invoke.jpg | Bin 0 -> 45874 bytes
imgs/dev/dubbo_rpc_refer.jpg | Bin 0 -> 50211 bytes
imgs/dev/event-listener.jpg | Bin 0 -> 13192 bytes
imgs/dev/filter-chain.jpg | Bin 0 -> 41029 bytes
imgs/dev/java-spi-result.jpg | Bin 0 -> 46805 bytes
imgs/dev/mix-api-spi.jpg | Bin 0 -> 17004 bytes
imgs/dev/open-expand.jpg | Bin 0 -> 10549 bytes
imgs/dev/request-id-application.jpg | Bin 0 -> 217379 bytes
imgs/dev/send-request-process.jpg | Bin 0 -> 83592 bytes
imgs/dev/send-request-thread-stack.jpg | Bin 0 -> 213679 bytes
imgs/dev/seperate-api-spi.jpg | Bin 0 -> 23683 bytes
imgs/dev/service-registry.png | Bin 0 -> 57116 bytes
...234531-b96c2c80-db46-11eb-8155-a77dbe059f07.png | Bin 0 -> 41542 bytes
...234564-c4bf5800-db46-11eb-94fc-a056af6089cb.png | Bin 0 -> 14336 bytes
...234654-e4568080-db46-11eb-9700-b30022ebee21.png | Bin 0 -> 14323 bytes
...234723-f89a7d80-db46-11eb-82d0-a8aee5322098.png | Bin 0 -> 17530 bytes
...180981-51a0df19-bb03-49c8-9128-a6e95dbabfcd.png | Bin 0 -> 474421 bytes
imgs/docs3-v2/golang-sdk/concept/dubbogo.png | Bin 0 -> 49850 bytes
.../454d1e31-0be3-41fe-97ec-f52673ebf74f.png | Bin 0 -> 488163 bytes
.../894c0e52-9d34-4490-b49b-24973ef4aabc.png | Bin 0 -> 123752 bytes
.../mesh/proxyless_service_mesh/service-mesh.svg | 1 +
.../concept/more/3.0_feature/dest_rule.png | Bin 0 -> 163706 bytes
.../golang-sdk/concept/more/3.0_feature/disc.png | Bin 0 -> 85858 bytes
.../golang-sdk/concept/more/3.0_feature/tri.png | Bin 0 -> 89161 bytes
.../concept/more/3.0_feature/virtual_service.png | Bin 0 -> 157054 bytes
.../more/app_and_interface/dubbogo-concept.png | Bin 0 -> 882144 bytes
.../concept/more/architecture/architecture.png | Bin 0 -> 16744 bytes
...941270-86ce9845-5a88-4cb5-8c8a-da8ae7eeb4d5.png | Bin 0 -> 34598 bytes
...075184-25939db4-f384-452e-a0b8-e1deff7971de.png | Bin 0 -> 53261 bytes
.../rpc/multi_language/dubbogo-3.0-invocation.png | Bin 0 -> 217736 bytes
.../samples/adaptive-service/adaptive.png | Bin 0 -> 26693 bytes
.../samples/pixiu-nacos-triple/triple-pixiu.png | Bin 0 -> 197924 bytes
.../tasks/pixiu/http_triple/triple-pixiu.png | Bin 0 -> 197924 bytes
.../triple-health-check/health-check.png | Bin 0 -> 3186 bytes
imgs/docs3-v2/java-sdk/seata/transaction-1.png | Bin 0 -> 68513 bytes
imgs/docs3-v2/java-sdk/seata/transaction-2.png | Bin 0 -> 263774 bytes
.../dev/source/refer-service/15417503733794.jpg | Bin 0 -> 146018 bytes
imgs/docsv2.7/user/examples/auth/auth.png | Bin 0 -> 43573 bytes
imgs/dubbo.ico | Bin 0 -> 16958 bytes
imgs/dubbo_colorful.png | Bin 0 -> 2529 bytes
imgs/dubbo_gray.png | Bin 0 -> 1343 bytes
imgs/dubbo_white.png | Bin 0 -> 1150 bytes
imgs/feature_hogh.png | Bin 0 -> 709 bytes
imgs/feature_loadbalances.png | Bin 0 -> 1049 bytes
imgs/feature_maintenance.png | Bin 0 -> 1062 bytes
imgs/feature_runtime.png | Bin 0 -> 1205 bytes
imgs/feature_service.png | Bin 0 -> 1115 bytes
imgs/feature_transpart.png | Bin 0 -> 1091 bytes
imgs/golang/3.0/config-consumer-config.png | Bin 0 -> 334010 bytes
imgs/golang/3.0/config-provider-config.png | Bin 0 -> 333420 bytes
imgs/golang/3.0/config-root-config.png | Bin 0 -> 453400 bytes
imgs/golang/3.0/dubbo-go3.0-arch.jpg | Bin 0 -> 244824 bytes
imgs/golang/3.0/dubbogo-concept.png | Bin 0 -> 882144 bytes
imgs/golang/3.0/module.jpg | Bin 0 -> 225978 bytes
imgs/golang/3.0/triple-go-arch.jpg | Bin 0 -> 215257 bytes
imgs/golang/dubbo-go-architecture.png | Bin 0 -> 17305 bytes
imgs/pixiu/overview/pixiu-overview.png | Bin 0 -> 276707 bytes
imgs/pixiu/overview/pixiu-sidecar.png | Bin 0 -> 41756 bytes
imgs/pixiu/overview/terminology.png | Bin 0 -> 102248 bytes
imgs/pixiu/trie-1.png | Bin 0 -> 176376 bytes
imgs/pixiu/trie-2.png | Bin 0 -> 108297 bytes
imgs/pixiu/trie-3.png | Bin 0 -> 371739 bytes
imgs/pixiu/trie-4.png | Bin 0 -> 437613 bytes
imgs/pixiu/trie-5.png | Bin 0 -> 574774 bytes
imgs/pixiu/trie-6.png | Bin 0 -> 249772 bytes
imgs/pixiu/trie-7.png | Bin 0 -> 459839 bytes
imgs/pixiu/user/appendix/img1.png | Bin 0 -> 699069 bytes
imgs/pixiu/user/appendix/img2.png | Bin 0 -> 94077 bytes
imgs/pixiu/user/quick_start_architecture.png | Bin 0 -> 9243 bytes
imgs/pixiu/user/samples/http_proxy.png | Bin 0 -> 6945 bytes
imgs/rust/dubbo-rust-mesh.png | Bin 0 -> 777430 bytes
imgs/rust/dubbo-rust-module.png | Bin 0 -> 28826 bytes
imgs/rust/dubbo-rust-tasks.png | Bin 0 -> 261957 bytes
imgs/user/1kres.png | Bin 0 -> 39384 bytes
imgs/user/1ktps.png | Bin 0 -> 38814 bytes
imgs/user/200kres.png | Bin 0 -> 39229 bytes
imgs/user/200ktps.png | Bin 0 -> 38997 bytes
imgs/user/50kres.png | Bin 0 -> 39733 bytes
imgs/user/50ktps.png | Bin 0 -> 39723 bytes
imgs/user/apollo-configcenter-application.jpg | Bin 0 -> 156394 bytes
imgs/user/apollo-configcenter-dubbo.jpg | Bin 0 -> 198809 bytes
imgs/user/apollo-configcenter-dubbo.png | Bin 0 -> 175064 bytes
imgs/user/apollo-configcenter-enhance.jpg | Bin 0 -> 244562 bytes
imgs/user/apollo-configcenter-governance-dubbo.png | Bin 0 -> 193607 bytes
imgs/user/apollo-configcenter-governance.jpg | Bin 0 -> 213599 bytes
imgs/user/arch.png | Bin 0 -> 15546 bytes
imgs/user/cluster.jpg | Bin 0 -> 32874 bytes
imgs/user/code-coverage.jpg | Bin 0 -> 141776 bytes
imgs/user/code-dependency.jpg | Bin 0 -> 138868 bytes
imgs/user/code-quality1.jpg | Bin 0 -> 56913 bytes
imgs/user/code-quality2.jpg | Bin 0 -> 56913 bytes
imgs/user/code-quality3.jpg | Bin 0 -> 56913 bytes
imgs/user/code-quality4.jpg | Bin 0 -> 56913 bytes
imgs/user/code-quality5.jpg | Bin 0 -> 41672 bytes
imgs/user/code-quality6.jpg | Bin 0 -> 41672 bytes
imgs/user/code-quality7.jpg | Bin 0 -> 41672 bytes
imgs/user/code-tendency.jpg | Bin 0 -> 54729 bytes
imgs/user/consumer-threadpool0.png | Bin 0 -> 314209 bytes
imgs/user/consumer-threadpool1.png | Bin 0 -> 421182 bytes
imgs/user/context.png | Bin 0 -> 46114 bytes
imgs/user/dubbo-architecture-future.jpg | Bin 0 -> 55605 bytes
imgs/user/dubbo-architecture-roadmap.jpg | Bin 0 -> 33931 bytes
imgs/user/dubbo-architecture.jpg | Bin 0 -> 18810 bytes
imgs/user/dubbo-config-override.jpg | Bin 0 -> 68132 bytes
imgs/user/dubbo-config.jpg | Bin 0 -> 69630 bytes
imgs/user/dubbo-directly.jpg | Bin 0 -> 38922 bytes
imgs/user/dubbo-properties-override.jpg | Bin 0 -> 24590 bytes
imgs/user/dubbo-protocol.jpg | Bin 0 -> 19340 bytes
imgs/user/dubbo-redis-registry.jpg | Bin 0 -> 47205 bytes
imgs/user/dubbo-service-governance.jpg | Bin 0 -> 67000 bytes
imgs/user/dubbo-token.jpg | Bin 0 -> 17153 bytes
imgs/user/eleme/elem-arc.png | Bin 0 -> 107405 bytes
imgs/user/eleme/elem-result.png | Bin 0 -> 78649 bytes
imgs/user/eleme/elem-upgrade-consumer.png | Bin 0 -> 160777 bytes
imgs/user/eleme/elem-upgrade-consumer1.png | Bin 0 -> 119591 bytes
imgs/user/eleme/elem-upgrade-provider.png | Bin 0 -> 202140 bytes
imgs/user/eleme/elem-upgrade1.png | Bin 0 -> 115362 bytes
imgs/user/future.jpg | Bin 0 -> 20793 bytes
imgs/user/icbc/icbc-analyze.png | Bin 0 -> 93318 bytes
imgs/user/icbc/icbc-data1.png | Bin 0 -> 609563 bytes
imgs/user/icbc/icbc-data2.png | Bin 0 -> 751871 bytes
imgs/user/jta-xa.jpg | Bin 0 -> 37931 bytes
imgs/user/lock-get-bean.jpg | Bin 0 -> 109801 bytes
imgs/user/lock-init-context.jpg | Bin 0 -> 39227 bytes
imgs/user/multicast.jpg | Bin 0 -> 20269 bytes
.../nacos-configcenter-application-properties.png | Bin 0 -> 155792 bytes
imgs/user/nacos-configcenter-global-properties.png | Bin 0 -> 166881 bytes
imgs/user/nacos-configcenter-governance.png | Bin 0 -> 192062 bytes
.../nacos-metadata-report-application-metadata.png | Bin 0 -> 425167 bytes
.../nacos-metadata-report-consumer-metadata.png | Bin 0 -> 175292 bytes
.../nacos-metadata-report-provider-metadata.png | Bin 0 -> 311744 bytes
.../nacos-metadata-report-service-name-mapping.png | Bin 0 -> 142215 bytes
imgs/user/pojores.png | Bin 0 -> 37733 bytes
imgs/user/pojotps.png | Bin 0 -> 39797 bytes
imgs/user/rest.jpg | Bin 0 -> 206610 bytes
imgs/user/route-rule1.png | Bin 0 -> 233685 bytes
imgs/user/route-rule2.png | Bin 0 -> 24570 bytes
imgs/user/route-rule3.png | Bin 0 -> 233685 bytes
imgs/user/rt.png | Bin 0 -> 31098 bytes
imgs/user/stub.jpg | Bin 0 -> 28646 bytes
imgs/user/subscribe-only.jpg | Bin 0 -> 20626 bytes
...pg-version=1&modificationDate=1326468174000.jpg | Bin 0 -> 20626 bytes
imgs/user/tps.png | Bin 0 -> 33114 bytes
imgs/user/zk-configcenter-governance.jpg | Bin 0 -> 301240 bytes
imgs/user/zk-configcenter.jpg | Bin 0 -> 247992 bytes
imgs/user/zookeeper.jpg | Bin 0 -> 31272 bytes
imgs/users_alibaba.png | Bin 0 -> 1884 bytes
imgs/users_chinalife.png | Bin 0 -> 3047 bytes
imgs/users_dangdang.png | Bin 0 -> 2060 bytes
imgs/users_didi.png | Bin 0 -> 3229 bytes
imgs/users_handu.png | Bin 0 -> 6884 bytes
imgs/users_icbc.png | Bin 0 -> 1696 bytes
imgs/users_kaola.png | Bin 0 -> 2514 bytes
imgs/users_kingdee.png | Bin 0 -> 1831 bytes
imgs/users_qunar.png | Bin 0 -> 3420 bytes
imgs/users_telecom.png | Bin 0 -> 2617 bytes
imgs/users_wanglian.png | Bin 0 -> 1790 bytes
imgs/users_weidian.png | Bin 0 -> 2442 bytes
imgs/users_yinlian.png | Bin 0 -> 2293 bytes
imgs/users_zhengcaiyun.png | Bin 0 -> 1423 bytes
imgs/v3/concepts/application-instance.png | Bin 0 -> 18706 bytes
imgs/v3/concepts/application-rpc-mapping.png | Bin 0 -> 72162 bytes
imgs/v3/concepts/architecture-1.png | Bin 0 -> 15318 bytes
imgs/v3/concepts/capacity.png | Bin 0 -> 103042 bytes
imgs/v3/concepts/centers-config.png | Bin 0 -> 103809 bytes
imgs/v3/concepts/centers-metadata.png | Bin 0 -> 106862 bytes
imgs/v3/concepts/centers-registry.png | Bin 0 -> 101211 bytes
imgs/v3/concepts/dubbo-hsf.png | Bin 0 -> 22917 bytes
imgs/v3/concepts/dubbo.png | Bin 0 -> 31499 bytes
imgs/v3/concepts/dubbo3-goals.png | Bin 0 -> 51955 bytes
imgs/v3/concepts/extension-load.png | Bin 0 -> 84561 bytes
imgs/v3/concepts/extension-use.png | Bin 0 -> 138943 bytes
imgs/v3/concepts/filter-arch.jpg | Bin 0 -> 193805 bytes
imgs/v3/concepts/invoke-arch.jpg | Bin 0 -> 121885 bytes
imgs/v3/concepts/metadatacenter.png | Bin 0 -> 25468 bytes
imgs/v3/concepts/metadataservice-rpc.png | Bin 0 -> 10079 bytes
.../multiple-registry-deployment-architecture.png | Bin 0 -> 52826 bytes
imgs/v3/concepts/proxyless-mesh.png | Bin 0 -> 43666 bytes
imgs/v3/concepts/rpc-application-mapping.png | Bin 0 -> 55274 bytes
imgs/v3/concepts/rpc.png | Bin 0 -> 22695 bytes
imgs/v3/concepts/rpccontext.png | Bin 0 -> 222532 bytes
imgs/v3/concepts/servicediscovery_k8s.png | Bin 0 -> 170454 bytes
imgs/v3/concepts/servicediscovery_mem.png | Bin 0 -> 581805 bytes
imgs/v3/concepts/servicediscovery_old.png | Bin 0 -> 188631 bytes
imgs/v3/concepts/spring-cloud.png | Bin 0 -> 30793 bytes
imgs/v3/concepts/threecenters.png | Bin 0 -> 113151 bytes
imgs/v3/concepts/triple-protocol.png | Bin 0 -> 8808 bytes
imgs/v3/concepts/triple.png | Bin 0 -> 56249 bytes
imgs/v3/concepts/what-is-traffic-control.png | Bin 0 -> 307011 bytes
imgs/v3/config-center/nacos-extenal-properties.png | Bin 0 -> 148997 bytes
imgs/v3/config/config-load.svg | 1 +
imgs/v3/config/properties-override.svg | 1 +
...dubbbo-provider-connectionOrderedDispatcher.png | Bin 0 -> 94704 bytes
.../dubbo-provider-alldispatcher.png | Bin 0 -> 82195 bytes
.../dubbo-provider-directDispatcher.png | Bin 0 -> 84703 bytes
.../dubbo-provider-executionDispatcher.png | Bin 0 -> 80491 bytes
.../dubbo-provider-messageOnlyDispatcher.png | Bin 0 -> 80491 bytes
.../threading-model/triple-consumer.png | Bin 0 -> 72914 bytes
.../threading-model/triple-provider.png | Bin 0 -> 57135 bytes
imgs/v3/mesh/dubbo-mesh-arc.png | Bin 0 -> 25742 bytes
imgs/v3/mesh/dubbo-proxyless.png | Bin 0 -> 118155 bytes
imgs/v3/mesh/dubbo-sidecar.png | Bin 0 -> 127440 bytes
imgs/v3/mesh/istio.jpg | Bin 0 -> 44471 bytes
imgs/v3/mesh/mix-mesh.png | Bin 0 -> 126151 bytes
imgs/v3/mesh/thinsdk-envoy.png | Bin 0 -> 7418 bytes
imgs/v3/migration/consumer-subscription.png | Bin 0 -> 225748 bytes
imgs/v3/migration/migration-1.png | Bin 0 -> 309735 bytes
imgs/v3/migration/migration-2.png | Bin 0 -> 107011 bytes
imgs/v3/migration/migration-3.png | Bin 0 -> 145475 bytes
imgs/v3/migration/migration-4.png | Bin 0 -> 269864 bytes
imgs/v3/migration/migration-5.png | Bin 0 -> 271929 bytes
imgs/v3/migration/migration-6.png | Bin 0 -> 260915 bytes
imgs/v3/migration/migration-cluster-invoker.png | Bin 0 -> 87874 bytes
imgs/v3/migration/migtaion-1.png | Bin 0 -> 309735 bytes
imgs/v3/migration/migtaion-2.png | Bin 0 -> 107011 bytes
imgs/v3/migration/migtaion-3.png | Bin 0 -> 145475 bytes
imgs/v3/migration/migtaion-4.png | Bin 0 -> 269864 bytes
imgs/v3/migration/migtaion-5.png | Bin 0 -> 271929 bytes
imgs/v3/migration/migtaion-6.png | Bin 0 -> 260915 bytes
imgs/v3/migration/nacos-migration-item.png | Bin 0 -> 114326 bytes
imgs/v3/migration/provider-registration.png | Bin 0 -> 233292 bytes
.../dubbo3-tri-migration-both-dubbo-tri-result.png | Bin 0 -> 823923 bytes
.../dubbo3-tri-migration-dubbo-dubbo-result.png | Bin 0 -> 931399 bytes
.../tri/dubbo3-tri-migration-tri-tri-result.png | Bin 0 -> 968885 bytes
.../dubbo3-tri-mirgration-protobuf-tri-result.png | Bin 0 -> 882985 bytes
imgs/v3/migration/tri/migrate-bi-stream.png | Bin 0 -> 171870 bytes
imgs/v3/migration/tri/migrate-client-stream.png | Bin 0 -> 112051 bytes
imgs/v3/migration/tri/migrate-dubbo-tri-strust.png | Bin 0 -> 195043 bytes
imgs/v3/migration/tri/migrate-only-tri-strust.png | Bin 0 -> 197407 bytes
imgs/v3/migration/tri/migrate-server-stream.png | Bin 0 -> 148588 bytes
imgs/v3/performance/registry-gc.svg | 3 +
imgs/v3/performance/registry-mem.svg | 3 +
imgs/v3/performance/rpc-dubbo.svg | 3 +
imgs/v3/performance/rpc-triple.svg | 3 +
imgs/v3/registry/aggregation.png | Bin 0 -> 39102 bytes
imgs/v3/registry/no-aggregation.png | Bin 0 -> 35253 bytes
imgs/v3/tasks/config-rule/BasicProvider1_check.png | Bin 0 -> 54564 bytes
imgs/v3/tasks/config-rule/BasicProvider2_check.png | Bin 0 -> 64323 bytes
imgs/v3/tasks/config-rule/BasicProvider_run.png | Bin 0 -> 178743 bytes
imgs/v3/tasks/config-rule/demo_architecture.png | Bin 0 -> 15088 bytes
imgs/v3/tasks/config-rule/dubbo_console.png | Bin 0 -> 20891 bytes
imgs/v3/tasks/config-rule/service_timeout.png | Bin 0 -> 105959 bytes
imgs/v3/users/pingan-2.png | Bin 0 -> 171346 bytes
imgs/v3/users/pingan-3.png | Bin 0 -> 98272 bytes
imgs/v3/users/pingan-4.png | Bin 0 -> 114615 bytes
imgs/v3/users/pingan-5.png | Bin 0 -> 112844 bytes
imgs/v3/users/pingan-6.png | Bin 0 -> 112176 bytes
imgs/v3/users/pingan-7.png | Bin 0 -> 71509 bytes
imgs/v3/users/pingan-8.png | Bin 0 -> 62863 bytes
imgs/v3/users/yunxiaomi-1.png | Bin 0 -> 633721 bytes
imgs/v3/users/yunxiaomi-2.png | Bin 0 -> 302005 bytes
imgs/v3/users/yunxiaomi-3.png | Bin 0 -> 129716 bytes
imgs/v3/users/yunxiaomi-4.png | Bin 0 -> 94913 bytes
imgs/v3/users/zhonglunwangluo-1.png | Bin 0 -> 286881 bytes
imgs/v3/users/zhonglunwangluo-2.png | Bin 0 -> 76830 bytes
imgs/v3/users/zhonglunwangluo-3.png | Bin 0 -> 71265 bytes
imgs/v3/users/zhonglunwangluo-4.png | Bin 0 -> 118708 bytes
index.html | 1 +
js/bootstrap.min.js | 7 +
js/deflate.js | 1652 +++
js/jquery-3.5.1.min.js | 2 +
js/lunr.min.js | 6 +
...8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js | 1 +
js/mermaid.min.js | 32 +
js/popper.min.js | 5 +
js/prism.js | 21 +
js/swagger-ui-bundle.js | 134 +
js/swagger-ui-standalone-preset.js | 22 +
js/tabpane-persist.js | 19 +
robots.txt | 1 +
schema/dubbo/dubbo.xsd | 1723 +++
...e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css | 7 +
sitemap.xml | 1 +
webfonts/fa-brands-400.eot | Bin 0 -> 129734 bytes
webfonts/fa-brands-400.svg | 3451 +++++
webfonts/fa-brands-400.ttf | Bin 0 -> 129428 bytes
webfonts/fa-brands-400.woff | Bin 0 -> 87644 bytes
webfonts/fa-brands-400.woff2 | Bin 0 -> 74740 bytes
webfonts/fa-regular-400.eot | Bin 0 -> 34394 bytes
webfonts/fa-regular-400.svg | 803 +
webfonts/fa-regular-400.ttf | Bin 0 -> 34096 bytes
webfonts/fa-regular-400.woff | Bin 0 -> 16804 bytes
webfonts/fa-regular-400.woff2 | Bin 0 -> 13656 bytes
webfonts/fa-solid-900.eot | Bin 0 -> 192122 bytes
webfonts/fa-solid-900.svg | 4649 ++++++
webfonts/fa-solid-900.ttf | Bin 0 -> 191836 bytes
webfonts/fa-solid-900.woff | Bin 0 -> 98020 bytes
webfonts/fa-solid-900.woff2 | Bin 0 -> 75336 bytes
zh/404.html | 7 +
.../index.html" | 31 +
.../index.html" | 14 +
.../index.html" | 98 +
.../index.html" | 211 +
.../index.html" | 26 +
.../index.html" | 29 +
.../index.html" | 46 +
.../index.html" | 12 +
.../index.html" | 28 +
.../index.html" | 23 +
.../index.html" | 50 +
.../index.html" | 11 +
.../index.html" | 20 +
.../index.html" | 11 +
.../index.html" | 105 +
.../index.html" | 92 +
.../index.html" | 75 +
.../index.html" | 13 +
.../index.html" | 13 +
.../index.html" | 13 +
.../index.html" | 19 +
.../index.html" | 13 +
.../index.html" | 13 +
.../index.html" | 10 +
.../index.html" | 290 +
.../index.html" | 20 +
.../index.html" | 353 +
.../index.html" | 10 +
.../index.html" | 76 +
.../index.html" | 152 +
.../index.html" | 14 +
.../index.html" | 282 +
.../index.html" | 80 +
.../index.html" | 23 +
.../index.html" | 10 +
zh/blog/2018/08/07/dubbo-101/index.html | 147 +
.../index.html" | 416 +
.../index.html" | 40 +
.../index.html" | 198 +
.../index.html" | 147 +
.../index.html" | 99 +
.../index.html" | 34 +
.../index.html" | 101 +
.../index.html" | 94 +
.../index.html" | 132 +
.../index.html" | 102 +
.../index.html" | 122 +
.../index.html" | 123 +
.../index.html" | 123 +
.../index.html" | 56 +
.../index.html" | 154 +
.../index.html" | 71 +
.../index.html" | 108 +
.../index.html" | 10 +
.../index.html" | 244 +
.../index.html" | 206 +
.../index.html" | 15 +
.../index.html" | 21 +
.../index.html" | 33 +
.../index.html" | 143 +
.../index.html" | 307 +
.../index.html" | 10 +
.../index.html" | 74 +
.../index.html" | 20 +
.../01/07/\346\265\205\350\260\210-rpc/index.html" | 50 +
.../index.html" | 152 +
.../26/\351\201\207\350\247\201dubbo/index.html" | 13 +
.../index.html" | 204 +
.../index.html" | 107 +
.../index.html" | 74 +
.../index.html" | 118 +
.../index.html" | 281 +
.../index.html" | 59 +
.../index.html" | 443 +
.../index.html" | 61 +
.../index.html" | 35 +
zh/blog/2019/08/26/service-test/index.html | 132 +
.../index.html" | 219 +
.../index.html" | 72 +
.../index.html" | 140 +
.../2-grpc-\345\222\214-protobuf/index.html" | 365 +
.../index.html" | 31 +
.../index.html" | 35 +
.../index.html" | 14 +
.../index.html" | 58 +
.../index.html" | 44 +
.../index.html" | 88 +
.../index.html" | 123 +
.../index.html" | 96 +
.../index.html" | 48 +
.../index.html" | 14 +
.../index.html" | 104 +
.../index.html" | 65 +
.../index.html" | 10 +
.../index.html" | 95 +
.../index.html" | 10 +
.../index.html" | 117 +
.../index.html" | 10 +
.../index.html" | 83 +
.../index.html" | 10 +
zh/blog/2021/01/12/dubbo-go-1.4.0/index.html | 18 +
.../index.html" | 87 +
.../index.html" | 97 +
zh/blog/2021/01/14/dubbo-go-1.5.0/index.html | 13 +
zh/blog/2021/01/14/dubbo-go-1.5.1/index.html | 58 +
.../2021/01/14/dubbo-go-hessian2-v1.6.0/index.html | 18 +
.../2021/01/14/dubbo-go-hessian2-v1.7.0/index.html | 140 +
.../index.html" | 111 +
.../index.html" | 26 +
.../index.html" | 62 +
.../index.html" | 175 +
.../index.html" | 23 +
.../index.html" | 13 +
.../index.html" | 181 +
.../index.html" | 89 +
.../index.html" | 158 +
.../index.html" | 28 +
.../index.html" | 271 +
.../index.html" | 13 +
.../index.html" | 331 +
.../index.html" | 14 +
.../index.html" | 494 +
.../index.html" | 417 +
.../index.html" | 130 +
.../index.html" | 18 +
.../index.html" | 55 +
.../index.html" | 14 +
.../index.html" | 13 +
.../index.html" | 140 +
.../index.html" | 138 +
.../index.html" | 102 +
.../index.html" | 88 +
.../index.html" | 85 +
.../index.html" | 138 +
.../index.html" | 601 +
.../index.html" | 211 +
.../index.html" | 613 +
.../index.html" | 254 +
.../index.html" | 190 +
.../index.html" | 86 +
.../index.html" | 110 +
.../index.html" | 135 +
.../index.html" | 39 +
.../index.html" | 265 +
.../index.html" | 336 +
.../index.html" | 337 +
.../index.html" | 632 +
.../index.html" | 742 +
.../index.html" | 622 +
.../index.html" | 414 +
.../index.html" | 105 +
.../index.html" | 17 +
.../index.html" | 375 +
.../index.html" | 207 +
.../index.html" | 261 +
.../index.html" | 112 +
.../index.html" | 13 +
zh/blog/contact/committer/index.html | 11 +
zh/blog/contact/committer/index.xml | 154 +
zh/blog/contact/committer/release-guide/index.html | 11 +
zh/blog/contact/committer/release-guide/index.xml | 454 +
zh/blog/contact/contributor/index.html | 11 +
zh/blog/contact/contributor/index.xml | 355 +
zh/blog/contact/index.html | 18 +
zh/blog/contact/index.xml | 1 +
zh/blog/golang/index.html | 28 +
zh/blog/golang/index.xml | 4953 +++++++
zh/blog/golang/page/1/index.html | 1 +
zh/blog/golang/page/2/index.html | 30 +
zh/blog/golang/page/3/index.html | 18 +
zh/blog/index.html | 18 +
zh/blog/index.xml | 14676 +++++++++++++++++++
zh/blog/integration/index.html | 26 +
zh/blog/integration/index.xml | 3411 +++++
zh/blog/integration/page/1/index.html | 1 +
zh/blog/integration/page/2/index.html | 16 +
zh/blog/java/codeanalysis/3.0.8/index.html | 21 +
zh/blog/java/codeanalysis/3.0.8/index.xml | 9511 ++++++++++++
zh/blog/java/codeanalysis/3.0.8/page/1/index.html | 1 +
zh/blog/java/codeanalysis/3.0.8/page/2/index.html | 22 +
zh/blog/java/codeanalysis/3.0.8/page/3/index.html | 12 +
zh/blog/java/codeanalysis/index.html | 15 +
zh/blog/java/codeanalysis/index.xml | 526 +
zh/blog/java/codeanalysis/page/1/index.html | 1 +
zh/blog/java/demos/index.html | 23 +
zh/blog/java/demos/index.xml | 9567 ++++++++++++
zh/blog/java/demos/page/1/index.html | 1 +
zh/blog/java/demos/page/2/index.html | 23 +
zh/blog/java/demos/page/3/index.html | 26 +
zh/blog/java/demos/page/4/index.html | 27 +
zh/blog/java/demos/page/5/index.html | 20 +
zh/blog/java/index.html | 10 +
zh/blog/java/index.xml | 1 +
zh/blog/java/page/1/index.html | 1 +
zh/blog/news/index.html | 28 +
zh/blog/news/index.xml | 1115 ++
zh/blog/news/page/1/index.html | 1 +
zh/blog/news/page/2/index.html | 16 +
zh/blog/news/releases/index.html | 23 +
zh/blog/news/releases/index.xml | 1210 ++
zh/blog/news/releases/page/1/index.html | 1 +
zh/blog/news/releases/page/2/index.html | 11 +
zh/blog/notices/index.html | 11 +
zh/blog/notices/index.xml | 57 +
zh/blog/page/1/index.html | 1 +
zh/blog/page/10/index.html | 25 +
zh/blog/page/11/index.html | 29 +
zh/blog/page/12/index.html | 27 +
zh/blog/page/13/index.html | 25 +
zh/blog/page/14/index.html | 25 +
zh/blog/page/15/index.html | 30 +
zh/blog/page/16/index.html | 25 +
zh/blog/page/2/index.html | 23 +
zh/blog/page/3/index.html | 23 +
zh/blog/page/4/index.html | 26 +
zh/blog/page/5/index.html | 26 +
zh/blog/page/6/index.html | 28 +
zh/blog/page/7/index.html | 28 +
zh/blog/page/8/index.html | 22 +
zh/blog/page/9/index.html | 22 +
zh/blog/pixiu/index.html | 12 +
zh/blog/pixiu/index.xml | 326 +
zh/blog/pixiu/page/1/index.html | 1 +
zh/blog/rust/index.html | 11 +
zh/blog/rust/index.xml | 198 +
zh/blog/rust/page/1/index.html | 1 +
zh/docs/advanced/accesslog/index.html | 13 +
zh/docs/advanced/async-call/index.html | 62 +
.../advanced/async-execute-on-provider/index.html | 52 +
zh/docs/advanced/attachment/index.html | 21 +
zh/docs/advanced/auth/index.html | 14 +
zh/docs/advanced/callback-parameter/index.html | 86 +
zh/docs/advanced/concurrency-control/index.html | 25 +
zh/docs/advanced/config-connections/index.html | 15 +
zh/docs/advanced/config-rule-deprecated/index.html | 18 +
zh/docs/advanced/config-rule/index.html | 101 +
zh/docs/advanced/consumer-threadpool/index.html | 11 +
zh/docs/advanced/context/index.html | 36 +
zh/docs/advanced/delay-publish/index.html | 14 +
.../advanced/distributed-transaction/index.html | 11 +
zh/docs/advanced/dump/index.html | 16 +
zh/docs/advanced/echo-service/index.html | 21 +
zh/docs/advanced/events-notify/index.html | 58 +
zh/docs/advanced/explicit-target/index.html | 15 +
.../advanced/fault-tolerent-strategy/index.html | 27 +
zh/docs/advanced/generic-reference/index.html | 71 +
zh/docs/advanced/generic-service/index.html | 36 +
zh/docs/advanced/graceful-shutdown/index.html | 14 +
zh/docs/advanced/group-merger/index.html | 25 +
zh/docs/advanced/hostname-binding/index.html | 16 +
zh/docs/advanced/index.html | 11 +
zh/docs/advanced/index.xml | 2816 ++++
zh/docs/advanced/lazy-connect/index.html | 12 +
zh/docs/advanced/loadbalance/index.html | 19 +
zh/docs/advanced/local-call/index.html | 19 +
zh/docs/advanced/local-mock/index.html | 34 +
zh/docs/advanced/local-stub/index.html | 32 +
zh/docs/advanced/logger-strategy/index.html | 14 +
zh/docs/advanced/migration-invoker/index.html | 77 +
zh/docs/advanced/multi-protocols/index.html | 39 +
zh/docs/advanced/multi-registry/index.html | 62 +
zh/docs/advanced/multi-versions/index.html | 16 +
zh/docs/advanced/netty4/index.html | 20 +
zh/docs/advanced/parameter-validation/index.html | 144 +
zh/docs/advanced/pb-generic-reference/index.html | 64 +
zh/docs/advanced/preflight-check/index.html | 20 +
zh/docs/advanced/protobuf-idl/index.html | 35 +
zh/docs/advanced/protobufinterface/index.html | 38 +
zh/docs/advanced/reference-config-cache/index.html | 25 +
zh/docs/advanced/registry-only/index.html | 15 +
zh/docs/advanced/result-cache/index.html | 15 +
.../advanced/routing-rule-deprecated/index.html | 53 +
zh/docs/advanced/routing-rule/index.html | 65 +
zh/docs/advanced/serialization-security/index.html | 12 +
zh/docs/advanced/serialization/index.html | 57 +
zh/docs/advanced/service-container/index.html | 16 +
zh/docs/advanced/service-downgrade/index.html | 14 +
zh/docs/advanced/service-group/index.html | 16 +
zh/docs/advanced/set-host/index.html | 18 +
zh/docs/advanced/simplify-registry-data/index.html | 106 +
zh/docs/advanced/static-service/index.html | 16 +
zh/docs/advanced/stickiness/index.html | 15 +
zh/docs/advanced/subscribe-only/index.html | 13 +
zh/docs/advanced/thread-model/index.html | 12 +
zh/docs/advanced/tls/index.html | 28 +
zh/docs/advanced/token-authorization/index.html | 19 +
zh/docs/concepts/configuration/index.html | 11 +
zh/docs/concepts/extensibility/index.html | 18 +
zh/docs/concepts/index.html | 12 +
zh/docs/concepts/index.xml | 442 +
.../registry-configcenter-metadata/index.html | 14 +
zh/docs/concepts/rpc-protocol/index.html | 17 +
zh/docs/concepts/service-discovery/index.html | 27 +
zh/docs/concepts/traffic-management/index.html | 11 +
zh/docs/examples/configuration-override/index.html | 11 +
zh/docs/examples/index.html | 11 +
zh/docs/examples/index.xml | 140 +
.../routing/ab-testing-deployment/index.html | 11 +
.../routing/blue-green-deployment/index.html | 11 +
.../examples/routing/canary-deployment/index.html | 11 +
.../routing/demo-rule-deployment/index.html | 224 +
.../routing/dynamic-rule-deployment/index.html | 79 +
zh/docs/examples/routing/index.html | 11 +
zh/docs/examples/routing/index.xml | 432 +
.../routing/weight-rule-deployment/index.html | 48 +
zh/docs/examples/service-discovery/index.html | 55 +
zh/docs/index.html | 11 +
zh/docs/index.xml | 7484 ++++++++++
zh/docs/introduction/index.html | 13 +
zh/docs/languages/erlang/index.html | 11 +
zh/docs/languages/erlang/index.xml | 130 +
zh/docs/languages/erlang/quick-start/index.html | 27 +
zh/docs/languages/erlang/reference/index.html | 19 +
zh/docs/languages/erlang/serialization/index.html | 15 +
zh/docs/languages/erlang/service/index.html | 19 +
.../dubbo-go-1.5/configuration/client/index.html | 147 +
.../golang/dubbo-go-1.5/configuration/index.html | 11 +
.../golang/dubbo-go-1.5/configuration/index.xml | 351 +
.../dubbo-go-1.5/configuration/provider/index.html | 138 +
zh/docs/languages/golang/dubbo-go-1.5/index.html | 11 +
zh/docs/languages/golang/dubbo-go-1.5/index.xml | 185 +
.../golang/dubbo-go-1.5/quick-start/index.html | 96 +
.../concept/app_and_interface/index.html | 11 +
.../dubbo-go-3.0/concept/configuration/index.html | 176 +
.../golang/dubbo-go-3.0/concept/index.html | 11 +
.../golang/dubbo-go-3.0/concept/index.xml | 530 +
.../dubbo-go-3.0/concept/protocol/index.html | 54 +
.../dubbo-go-3.0/concept/registry/index.html | 116 +
.../dubbo-go-3.0/developer/design/index.html | 11 +
.../golang/dubbo-go-3.0/developer/index.html | 11 +
.../golang/dubbo-go-3.0/developer/index.xml | 8 +
zh/docs/languages/golang/dubbo-go-3.0/index.html | 11 +
zh/docs/languages/golang/dubbo-go-3.0/index.xml | 16 +
.../dubbo-go-3.0/preface/3.0_feature/index.html | 11 +
.../dubbo-go-3.0/preface/architecture/index.html | 11 +
.../golang/dubbo-go-3.0/preface/index.html | 11 +
.../golang/dubbo-go-3.0/preface/index.xml | 64 +
.../golang/dubbo-go-3.0/quickstart/index.html | 11 +
.../golang/dubbo-go-3.0/quickstart/index.xml | 459 +
.../quickstart/quickstart_dubbo/index.html | 162 +
.../quickstart/quickstart_triple/index.html | 226 +
.../samples/config-center-dynamic/index.html | 111 +
.../dubbo-go-3.0/samples/custom-filter/index.html | 46 +
.../dubbo-go-3.0/samples/custom-logger/index.html | 68 +
.../samples/exception_response/index.html | 93 +
.../golang/dubbo-go-3.0/samples/generic/index.html | 72 +
.../samples/go_java_interactive/index.html | 541 +
.../golang/dubbo-go-3.0/samples/index.html | 11 +
.../golang/dubbo-go-3.0/samples/index.xml | 1750 +++
.../dubbo-go-3.0/samples/mesh_router/index.html | 82 +
.../golang/dubbo-go-3.0/samples/metrics/index.html | 174 +
.../dubbo-go-3.0/samples/registry/index.html | 85 +
.../dubbo-go-3.0/samples/samples_repo/index.html | 51 +
.../samples/service-discovery/index.html | 42 +
.../dubbo-go-3.0/samples/start-check/index.html | 18 +
zh/docs/languages/golang/go-specific/index.html | 11 +
zh/docs/languages/golang/index.html | 11 +
zh/docs/languages/golang/index.xml | 192 +
zh/docs/languages/golang/quick-start/index.html | 114 +
zh/docs/languages/index.html | 11 +
zh/docs/languages/index.xml | 10 +
zh/docs/languages/java/index.html | 11 +
zh/docs/languages/java/index.xml | 228 +
zh/docs/languages/java/java-specific/index.html | 58 +
zh/docs/languages/java/quick-start/index.html | 137 +
zh/docs/migration/index.html | 11 +
zh/docs/migration/index.xml | 416 +
.../migration-and-compatibility-guide/index.html | 16 +
zh/docs/migration/migration-routingrule/index.html | 11 +
.../migration-service-discovery/index.html | 28 +
zh/docs/migration/migration-triple/index.html | 163 +
zh/docs/new-in-dubbo3/index.html | 59 +
zh/docs/performance/benchmarking/index.html | 23 +
zh/docs/performance/index.html | 11 +
zh/docs/performance/index.xml | 141 +
zh/docs/quick-start/index.html | 90 +
zh/docs/references/api/index.html | 30 +
zh/docs/references/config-center/index.html | 15 +
.../references/configuration/annotation/index.html | 56 +
zh/docs/references/configuration/api/index.html | 257 +
.../configuration/environment-variables/index.html | 19 +
.../configuration/external-config/index.html | 42 +
zh/docs/references/configuration/index.html | 11 +
zh/docs/references/configuration/index.xml | 1009 ++
.../references/configuration/overview/index.html | 71 +
.../references/configuration/properties/index.html | 125 +
zh/docs/references/configuration/xml/index.html | 41 +
zh/docs/references/graalvm/index.html | 11 +
zh/docs/references/graalvm/index.xml | 177 +
.../references/graalvm/support-graalvm/index.html | 181 +
zh/docs/references/index.html | 11 +
zh/docs/references/index.xml | 1079 ++
zh/docs/references/lifecycle/brief/index.html | 47 +
zh/docs/references/lifecycle/index.html | 11 +
zh/docs/references/lifecycle/index.xml | 1010 ++
zh/docs/references/lifecycle/liveness/index.html | 54 +
zh/docs/references/lifecycle/readiness/index.html | 51 +
zh/docs/references/lifecycle/rest/index.html | 363 +
zh/docs/references/lifecycle/startup/index.html | 51 +
zh/docs/references/maven/index.html | 13 +
zh/docs/references/metadata/index.html | 307 +
zh/docs/references/protobuf/idl/index.html | 11 +
zh/docs/references/protobuf/index.html | 11 +
zh/docs/references/protobuf/index.xml | 6 +
zh/docs/references/protocols/dubbo/index.html | 20 +
zh/docs/references/protocols/grpc/index.html | 12 +
zh/docs/references/protocols/hessian/index.html | 22 +
zh/docs/references/protocols/http/index.html | 23 +
zh/docs/references/protocols/index.html | 11 +
zh/docs/references/protocols/index.xml | 1597 ++
zh/docs/references/protocols/memcached/index.html | 18 +
zh/docs/references/protocols/redis/index.html | 18 +
zh/docs/references/protocols/rest/index.html | 363 +
zh/docs/references/protocols/rmi/index.html | 20 +
zh/docs/references/protocols/thrift/index.html | 17 +
zh/docs/references/protocols/tri/index.html | 212 +
zh/docs/references/protocols/webservice/index.html | 39 +
zh/docs/references/qos/index.html | 119 +
zh/docs/references/registry/index.html | 11 +
zh/docs/references/registry/index.xml | 299 +
zh/docs/references/registry/multicast/index.html | 19 +
zh/docs/references/registry/nacos/index.html | 69 +
zh/docs/references/registry/redis/index.html | 15 +
zh/docs/references/registry/simple/index.html | 31 +
zh/docs/references/registry/zookeeper/index.html | 53 +
.../references/routers/destination-rule/index.html | 43 +
zh/docs/references/routers/index.html | 210 +
zh/docs/references/routers/index.xml | 1109 ++
.../references/routers/virtualservice/index.html | 251 +
zh/docs/references/spis/cache/index.html | 69 +
zh/docs/references/spis/cluster/index.html | 60 +
zh/docs/references/spis/compiler/index.html | 52 +
zh/docs/references/spis/config-center/index.html | 39 +
zh/docs/references/spis/container/index.html | 54 +
zh/docs/references/spis/dispatcher/index.html | 52 +
zh/docs/references/spis/dubbo-spi/index.html | 509 +
zh/docs/references/spis/exchanger/index.html | 70 +
.../references/spis/exporter-listener/index.html | 59 +
.../references/spis/extension-factory/index.html | 50 +
zh/docs/references/spis/filter/index.html | 58 +
zh/docs/references/spis/index.html | 11 +
zh/docs/references/spis/index.xml | 2205 +++
.../references/spis/invoker-listener/index.html | 58 +
zh/docs/references/spis/load-balance/index.html | 55 +
zh/docs/references/spis/logger-adapter/index.html | 67 +
zh/docs/references/spis/merger/index.html | 50 +
zh/docs/references/spis/monitor/index.html | 63 +
zh/docs/references/spis/networker/index.html | 52 +
zh/docs/references/spis/page/index.html | 52 +
zh/docs/references/spis/protocol/index.html | 111 +
zh/docs/references/spis/proxy-factory/index.html | 55 +
zh/docs/references/spis/registry/index.html | 167 +
zh/docs/references/spis/remoting/index.html | 96 +
zh/docs/references/spis/router/index.html | 49 +
zh/docs/references/spis/serialize/index.html | 55 +
zh/docs/references/spis/status-checker/index.html | 52 +
zh/docs/references/spis/telnet-handler/index.html | 53 +
zh/docs/references/spis/threadpool/index.html | 53 +
zh/docs/references/spis/validation/index.html | 67 +
zh/docs/references/telnet/index.html | 13 +
.../references/xml/dubbo-application/index.html | 11 +
zh/docs/references/xml/dubbo-argument/index.html | 14 +
.../references/xml/dubbo-config-center/index.html | 11 +
zh/docs/references/xml/dubbo-consumer/index.html | 11 +
zh/docs/references/xml/dubbo-method/index.html | 14 +
zh/docs/references/xml/dubbo-module/index.html | 11 +
zh/docs/references/xml/dubbo-monitor/index.html | 11 +
zh/docs/references/xml/dubbo-parameter/index.html | 15 +
zh/docs/references/xml/dubbo-protocol/index.html | 11 +
zh/docs/references/xml/dubbo-provider/index.html | 11 +
zh/docs/references/xml/dubbo-reference/index.html | 11 +
zh/docs/references/xml/dubbo-registry/index.html | 11 +
zh/docs/references/xml/dubbo-service/index.html | 11 +
zh/docs/references/xml/index.html | 11 +
zh/docs/references/xml/index.xml | 2382 +++
.../dubbo-go-pixiu/dev/dubbo-pilot/index.html | 82 +
.../dubbo-go-pixiu/dev/filter-extension/index.html | 111 +
zh/docs3-v2/dubbo-go-pixiu/dev/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/dev/index.xml | 379 +
zh/docs3-v2/dubbo-go-pixiu/dev/trie/index.html | 60 +
zh/docs3-v2/dubbo-go-pixiu/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/index.xml | 1 +
zh/docs3-v2/dubbo-go-pixiu/overview/faq/index.html | 22 +
zh/docs3-v2/dubbo-go-pixiu/overview/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/overview/index.xml | 39 +
.../dubbo-go-pixiu/overview/terminology/index.html | 26 +
.../overview/what-is-pixiu/index.html | 13 +
.../dubbo-go-pixiu/user/adapter/dubbo/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/adapter/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/adapter/index.xml | 1 +
.../user/adapter/springcloud/index.html | 11 +
.../http-to-dubbo-default-stragety/index.html | 38 +
.../dubbo-go-pixiu/user/appendix/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/appendix/index.xml | 394 +
.../dubbo-go-pixiu/user/configurations/index.html | 90 +
.../dubbo-go-pixiu/user/deployment/index.html | 50 +
.../user/httpfilter/dubbo/index.html | 11 +
.../user/httpfilter/hystrix/index.html | 11 +
.../dubbo-go-pixiu/user/httpfilter/index.html | 11 +
.../dubbo-go-pixiu/user/httpfilter/index.xml | 4 +
.../user/httpfilter/ratelimit/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/index.xml | 265 +
.../dubbo-go-pixiu/user/listener/http/index.html | 41 +
.../dubbo-go-pixiu/user/listener/http2/index.html | 11 +
.../dubbo-go-pixiu/user/listener/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/listener/index.xml | 31 +
.../dubbo-go-pixiu/user/listener/tcp/index.html | 11 +
.../dubbo-go-pixiu/user/listener/triple/index.html | 11 +
.../user/networkfilter/dubbo/index.html | 11 +
.../user/networkfilter/grpc/index.html | 11 +
.../user/networkfilter/http/index.html | 11 +
.../dubbo-go-pixiu/user/networkfilter/index.html | 11 +
.../dubbo-go-pixiu/user/networkfilter/index.xml | 4 +
zh/docs3-v2/dubbo-go-pixiu/user/quality/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/quality/index.xml | 3 +
.../user/quality/performance/index.html | 11 +
.../user/quality/stability/index.html | 11 +
.../dubbo-go-pixiu/user/quickstart/index.html | 129 +
.../user/samples/http_proxy/index.html | 55 +
.../user/samples/http_to_dubbo/index.html | 11 +
.../dubbo-go-pixiu/user/samples/https/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/samples/index.html | 11 +
zh/docs3-v2/dubbo-go-pixiu/user/samples/index.xml | 45 +
zh/docs3-v2/erlang-sdk/index.html | 11 +
zh/docs3-v2/erlang-sdk/index.xml | 118 +
zh/docs3-v2/erlang-sdk/quick-start/index.html | 27 +
zh/docs3-v2/erlang-sdk/reference/index.html | 19 +
zh/docs3-v2/erlang-sdk/serialization/index.html | 15 +
zh/docs3-v2/erlang-sdk/service/index.html | 19 +
.../concept/config/basic_concept/index.html | 38 +
zh/docs3-v2/golang-sdk/concept/config/index.html | 11 +
zh/docs3-v2/golang-sdk/concept/config/index.xml | 17 +
zh/docs3-v2/golang-sdk/concept/index.html | 11 +
zh/docs3-v2/golang-sdk/concept/index.xml | 1 +
zh/docs3-v2/golang-sdk/concept/mesh/index.html | 11 +
zh/docs3-v2/golang-sdk/concept/mesh/index.xml | 80 +
.../concept/mesh/proxyless_service_mesh/index.html | 38 +
.../golang-sdk/concept/more/3.0_feature/index.html | 62 +
.../concept/more/app_and_interface/index.html | 11 +
.../concept/more/architecture/index.html | 14 +
zh/docs3-v2/golang-sdk/concept/more/index.html | 11 +
zh/docs3-v2/golang-sdk/concept/more/index.xml | 118 +
.../golang-sdk/concept/rpc/generic/index.html | 82 +
zh/docs3-v2/golang-sdk/concept/rpc/index.html | 11 +
zh/docs3-v2/golang-sdk/concept/rpc/index.xml | 212 +
.../concept/rpc/multi_language/index.html | 20 +
.../golang-sdk/concept/rpc/protocol/index.html | 73 +
.../service_management/adaptive_lb/index.html | 11 +
.../aop_and_extension/index.html | 52 +
.../graceful_shutdown/index.html | 11 +
.../concept/service_management/index.html | 11 +
.../concept/service_management/index.xml | 194 +
.../concept/service_management/registry/index.html | 11 +
.../service_management/visualization/index.html | 11 +
zh/docs3-v2/golang-sdk/index.html | 11 +
zh/docs3-v2/golang-sdk/index.xml | 5 +
zh/docs3-v2/golang-sdk/quickstart/index.html | 11 +
zh/docs3-v2/golang-sdk/quickstart/index.xml | 103 +
.../golang-sdk/quickstart/install/index.html | 46 +
.../quickstart/quickstart_triple/index.html | 79 +
.../golang-sdk/refer/compatible_version/index.html | 14 +
zh/docs3-v2/golang-sdk/refer/config/index.html | 85 +
zh/docs3-v2/golang-sdk/refer/ecology/index.html | 44 +
zh/docs3-v2/golang-sdk/refer/index.html | 11 +
zh/docs3-v2/golang-sdk/refer/index.xml | 512 +
.../golang-sdk/refer/use_dubbogo_cli/index.html | 240 +
.../golang-sdk/samples/adaptive-service/index.html | 7 +
.../samples/config-center-dynamic/index.html | 132 +
.../golang-sdk/samples/custom-filter/index.html | 49 +
.../golang-sdk/samples/custom-logger/index.html | 74 +
.../samples/exception_response/index.html | 102 +
zh/docs3-v2/golang-sdk/samples/generic/index.html | 78 +
.../samples/go_java_interactive/index.html | 553 +
zh/docs3-v2/golang-sdk/samples/grpc_cli/index.html | 20 +
zh/docs3-v2/golang-sdk/samples/index.html | 11 +
zh/docs3-v2/golang-sdk/samples/index.xml | 1760 +++
.../golang-sdk/samples/mesh_router/index.html | 112 +
zh/docs3-v2/golang-sdk/samples/metrics/index.html | 180 +
.../samples/pixiu-nacos-triple/index.html | 57 +
zh/docs3-v2/golang-sdk/samples/registry/index.html | 88 +
.../golang-sdk/samples/samples_repo/index.html | 51 +
.../samples/service-discovery/index.html | 48 +
.../golang-sdk/samples/start-check/index.html | 18 +
zh/docs3-v2/golang-sdk/sourcecode/index.html | 11 +
zh/docs3-v2/golang-sdk/sourcecode/index.xml | 54 +
.../golang-sdk/sourcecode/protocol/index.html | 28 +
.../golang-sdk/sourcecode/registry/index.html | 52 +
.../golang-sdk/tasks/cli/app_template/index.html | 50 +
zh/docs3-v2/golang-sdk/tasks/cli/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/cli/index.xml | 100 +
.../golang-sdk/tasks/config/config_api/index.html | 69 +
zh/docs3-v2/golang-sdk/tasks/config/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/config/index.xml | 106 +
.../tasks/config/remote_config/index.html | 40 +
.../golang-sdk/tasks/debug/dubbogo_cli/index.html | 101 +
.../golang-sdk/tasks/debug/grpc_cli/index.html | 44 +
zh/docs3-v2/golang-sdk/tasks/debug/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/debug/index.xml | 166 +
zh/docs3-v2/golang-sdk/tasks/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/index.xml | 1 +
zh/docs3-v2/golang-sdk/tasks/mesh/app/index.html | 193 +
zh/docs3-v2/golang-sdk/tasks/mesh/build/index.html | 22 +
zh/docs3-v2/golang-sdk/tasks/mesh/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/mesh/index.xml | 665 +
.../golang-sdk/tasks/mesh/ingress/index.html | 11 +
.../tasks/mesh/traffic_management/index.html | 213 +
.../golang-sdk/tasks/pixiu/http_triple/index.html | 48 +
zh/docs3-v2/golang-sdk/tasks/pixiu/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/pixiu/index.xml | 45 +
zh/docs3-v2/golang-sdk/tasks/registry/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/registry/index.xml | 135 +
.../tasks/registry/multi_registry/index.html | 90 +
.../golang-sdk/tasks/registry/nacos/index.html | 43 +
.../golang-sdk/tasks/rpc/call_grpc/index.html | 11 +
.../golang-sdk/tasks/rpc/call_java/index.html | 548 +
.../tasks/rpc/choose_protocol/index.html | 155 +
.../golang-sdk/tasks/rpc/context/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/rpc/error/index.html | 102 +
.../golang-sdk/tasks/rpc/generic/index.html | 78 +
zh/docs3-v2/golang-sdk/tasks/rpc/index.html | 11 +
zh/docs3-v2/golang-sdk/tasks/rpc/index.xml | 1218 ++
.../golang-sdk/tasks/rpc/rpc_metrics/index.html | 40 +
.../golang-sdk/tasks/rpc/timeout/index.html | 35 +
.../golang-sdk/tasks/rpc/tps_limiter/index.html | 82 +
.../tasks/service_management/aop/index.html | 53 +
.../graceful_shutdown/index.html | 11 +
.../golang-sdk/tasks/service_management/index.html | 11 +
.../golang-sdk/tasks/service_management/index.xml | 141 +
.../triple-health-check/index.html | 85 +
.../golang-sdk/tasks/visualization/index.html | 11 +
.../golang-sdk/tasks/visualization/index.xml | 2 +
.../tasks/visualization/logger/index.html | 11 +
.../tasks/visualization/metrics/index.html | 11 +
.../tasks/visualization/opentelementry/index.html | 11 +
.../tasks/visualization/tracing/index.html | 11 +
zh/docs3-v2/index.html | 11 +
zh/docs3-v2/index.xml | 192 +
.../advanced-features-and-usage/index.html | 11 +
.../java-sdk/advanced-features-and-usage/index.xml | 23 +
.../others/dubbo-kubernetes-probe/index.html | 29 +
.../others/graceful-shutdown/index.html | 19 +
.../advanced-features-and-usage/others/index.html | 11 +
.../advanced-features-and-usage/others/index.xml | 276 +
.../others/logger-management/index.html | 55 +
.../others/service-container/index.html | 16 +
.../others/set-host/index.html | 18 +
.../performance/concurrency-control/index.html | 25 +
.../performance/config-connections/index.html | 15 +
.../performance/dump/index.html | 25 +
.../performance/index.html | 11 +
.../performance/index.xml | 1221 ++
.../performance/lazy-connect/index.html | 12 +
.../performance/loadbalance/index.html | 19 +
.../performance/profiler/index.html | 140 +
.../performance/reference-config-cache/index.html | 25 +
.../performance/result-cache/index.html | 15 +
.../performance/router-snapshot/index.html | 41 +
.../performance/serialization/index.html | 68 +
.../performance/simplify-registry-data/index.html | 102 +
.../performance/stickiness/index.html | 15 +
.../performance/support-graalvm/index.html | 178 +
.../threading-model/consumer/index.html | 11 +
.../performance/threading-model/index.html | 11 +
.../performance/threading-model/index.xml | 153 +
.../threading-model/provider/index.html | 25 +
.../security/auth/index.html | 14 +
.../security/index.html | 11 +
.../advanced-features-and-usage/security/index.xml | 80 +
.../security/tls/index.html | 28 +
.../security/token-authorization/index.html | 21 +
.../service/accesslog/index.html | 13 +
.../service/async-call/index.html | 87 +
.../service/async-execute-on-provider/index.html | 52 +
.../service/attachment/index.html | 48 +
.../service/callback-parameter/index.html | 86 +
.../service/consistent-hash/index.html | 19 +
.../service/context/index.html | 36 +
.../service/delay-publish/index.html | 14 +
.../service/distributed-transaction/index.html | 11 +
.../service/echo-service/index.html | 21 +
.../service/events-notify/index.html | 58 +
.../service/explicit-target/index.html | 15 +
.../service/fault-tolerent-strategy/index.html | 27 +
.../service/generic-reference/index.html | 240 +
.../service/generic-service/index.html | 36 +
.../service/group-merger/index.html | 25 +
.../advanced-features-and-usage/service/index.html | 11 +
.../advanced-features-and-usage/service/index.xml | 2602 ++++
.../service/isolation-executor/index.html | 192 +
.../service/local-call/index.html | 19 +
.../service/local-mock/index.html | 56 +
.../service/local-stub/index.html | 32 +
.../service/multi-protocols/index.html | 39 +
.../service/multi-registry/index.html | 62 +
.../service/multi-versions/index.html | 16 +
.../service/parameter-validation/index.html | 144 +
.../service/port-unification/index.html | 43 +
.../service/preflight-check/index.html | 20 +
.../service/reactive/index.html | 173 +
.../service/registry-only/index.html | 15 +
.../service/service-downgrade/index.html | 19 +
.../service/service-group/index.html | 90 +
.../service/specify-ip/index.html | 62 +
.../service/streaming/index.html | 11 +
.../service/subscribe-only/index.html | 13 +
.../service/transaction/index.html | 288 +
.../traffic/config-rule/index.html | 99 +
.../advanced-features-and-usage/traffic/index.html | 11 +
.../advanced-features-and-usage/traffic/index.xml | 589 +
.../mesh-style/ab-testing-deployment/index.html | 11 +
.../mesh-style/blue-green-deployment/index.html | 11 +
.../mesh-style/canary-deployment/index.html | 11 +
.../mesh-style/demo-rule-deployment/index.html | 224 +
.../traffic/mesh-style/destination-rule/index.html | 43 +
.../mesh-style/dynamic-rule-deployment/index.html | 79 +
.../traffic/mesh-style/index.html | 210 +
.../traffic/mesh-style/index.xml | 1516 ++
.../traffic/mesh-style/virtualservice/index.html | 251 +
.../mesh-style/weight-rule-deployment/index.html | 48 +
.../traffic/routing-rule/index.html | 65 +
.../code-architecture/index.html | 14 +
.../java-sdk/concepts-and-architecture/index.html | 11 +
.../java-sdk/concepts-and-architecture/index.xml | 407 +
.../concepts-and-architecture/mesh/index.html | 25 +
.../overall-architecture/index.html | 20 +
.../service-discovery/index.html | 49 +
.../service-invocation/index.html | 79 +
.../concepts-and-architecture/triple/index.html | 22 +
zh/docs3-v2/java-sdk/faq/0/1/index.html | 16 +
zh/docs3-v2/java-sdk/faq/0/10/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/11/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/12/index.html | 17 +
zh/docs3-v2/java-sdk/faq/0/13/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/14/index.html | 18 +
zh/docs3-v2/java-sdk/faq/0/15/index.html | 11 +
zh/docs3-v2/java-sdk/faq/0/16/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/17/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/18/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/19/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/2/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/20/index.html | 12 +
zh/docs3-v2/java-sdk/faq/0/21/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/22/index.html | 11 +
zh/docs3-v2/java-sdk/faq/0/23/index.html | 11 +
zh/docs3-v2/java-sdk/faq/0/24/index.html | 11 +
zh/docs3-v2/java-sdk/faq/0/25/index.html | 15 +
zh/docs3-v2/java-sdk/faq/0/26/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/3/index.html | 25 +
zh/docs3-v2/java-sdk/faq/0/4/index.html | 20 +
zh/docs3-v2/java-sdk/faq/0/5/index.html | 18 +
zh/docs3-v2/java-sdk/faq/0/6/index.html | 15 +
zh/docs3-v2/java-sdk/faq/0/7/index.html | 11 +
zh/docs3-v2/java-sdk/faq/0/8/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/9/index.html | 14 +
zh/docs3-v2/java-sdk/faq/0/index.html | 11 +
zh/docs3-v2/java-sdk/faq/0/index.xml | 250 +
zh/docs3-v2/java-sdk/faq/1/1/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/10/index.html | 15 +
zh/docs3-v2/java-sdk/faq/1/11/index.html | 18 +
zh/docs3-v2/java-sdk/faq/1/12/index.html | 18 +
zh/docs3-v2/java-sdk/faq/1/13/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/14/index.html | 17 +
zh/docs3-v2/java-sdk/faq/1/15/index.html | 17 +
zh/docs3-v2/java-sdk/faq/1/16/index.html | 17 +
zh/docs3-v2/java-sdk/faq/1/17/index.html | 18 +
zh/docs3-v2/java-sdk/faq/1/18/index.html | 18 +
zh/docs3-v2/java-sdk/faq/1/19/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/20/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/21/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/22/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/23/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/24/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/25/index.html | 15 +
zh/docs3-v2/java-sdk/faq/1/26/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/27/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/28/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/29/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/3/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/30/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/31/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/32/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/33/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/34/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/35/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/36/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/37/index.html | 14 +
zh/docs3-v2/java-sdk/faq/1/38/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/39/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/4/index.html | 12 +
zh/docs3-v2/java-sdk/faq/1/5/index.html | 18 +
zh/docs3-v2/java-sdk/faq/1/6/index.html | 18 +
zh/docs3-v2/java-sdk/faq/1/7/index.html | 12 +
zh/docs3-v2/java-sdk/faq/1/8/index.html | 12 +
zh/docs3-v2/java-sdk/faq/1/9/index.html | 17 +
zh/docs3-v2/java-sdk/faq/1/index.html | 11 +
zh/docs3-v2/java-sdk/faq/1/index.xml | 346 +
zh/docs3-v2/java-sdk/faq/2/1/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/10/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/11/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/12/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/13/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/14/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/15/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/16/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/17/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/18/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/19/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/2/index.html | 17 +
zh/docs3-v2/java-sdk/faq/2/20/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/3/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/4/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/5/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/6/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/7/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/8/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/9/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/index.html | 11 +
zh/docs3-v2/java-sdk/faq/2/index.xml | 195 +
zh/docs3-v2/java-sdk/faq/3/1/index.html | 17 +
zh/docs3-v2/java-sdk/faq/3/2/index.html | 11 +
zh/docs3-v2/java-sdk/faq/3/3/index.html | 14 +
zh/docs3-v2/java-sdk/faq/3/4/index.html | 11 +
zh/docs3-v2/java-sdk/faq/3/5/index.html | 11 +
zh/docs3-v2/java-sdk/faq/3/6/index.html | 11 +
zh/docs3-v2/java-sdk/faq/3/7/index.html | 14 +
zh/docs3-v2/java-sdk/faq/3/index.html | 11 +
zh/docs3-v2/java-sdk/faq/3/index.xml | 80 +
zh/docs3-v2/java-sdk/faq/4/1/index.html | 17 +
zh/docs3-v2/java-sdk/faq/4/10/index.html | 15 +
zh/docs3-v2/java-sdk/faq/4/11/index.html | 11 +
zh/docs3-v2/java-sdk/faq/4/12/index.html | 15 +
zh/docs3-v2/java-sdk/faq/4/13/index.html | 11 +
zh/docs3-v2/java-sdk/faq/4/14/index.html | 11 +
zh/docs3-v2/java-sdk/faq/4/15/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/16/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/17/index.html | 15 +
zh/docs3-v2/java-sdk/faq/4/18/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/19/index.html | 15 +
zh/docs3-v2/java-sdk/faq/4/2/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/20/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/3/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/4/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/5/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/6/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/7/index.html | 11 +
zh/docs3-v2/java-sdk/faq/4/8/index.html | 11 +
zh/docs3-v2/java-sdk/faq/4/9/index.html | 14 +
zh/docs3-v2/java-sdk/faq/4/index.html | 11 +
zh/docs3-v2/java-sdk/faq/4/index.xml | 129 +
zh/docs3-v2/java-sdk/faq/5/1/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/10/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/11/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/12/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/13/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/14/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/15/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/16/index.html | 17 +
zh/docs3-v2/java-sdk/faq/5/17/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/18/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/19/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/2/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/20/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/21/index.html | 17 +
zh/docs3-v2/java-sdk/faq/5/22/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/23/index.html | 17 +
zh/docs3-v2/java-sdk/faq/5/24/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/25/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/26/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/27/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/28/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/29/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/3/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/30/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/31/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/32/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/33/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/34/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/35/index.html | 17 +
zh/docs3-v2/java-sdk/faq/5/36/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/37/index.html | 17 +
zh/docs3-v2/java-sdk/faq/5/38/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/39/index.html | 15 +
zh/docs3-v2/java-sdk/faq/5/4/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/40/index.html | 15 +
zh/docs3-v2/java-sdk/faq/5/5/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/6/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/7/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/8/index.html | 14 +
zh/docs3-v2/java-sdk/faq/5/9/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/index.html | 11 +
zh/docs3-v2/java-sdk/faq/5/index.xml | 294 +
zh/docs3-v2/java-sdk/faq/6/1/index.html | 17 +
zh/docs3-v2/java-sdk/faq/6/10/index.html | 14 +
zh/docs3-v2/java-sdk/faq/6/11/index.html | 14 +
zh/docs3-v2/java-sdk/faq/6/12/index.html | 15 +
zh/docs3-v2/java-sdk/faq/6/13/index.html | 14 +
zh/docs3-v2/java-sdk/faq/6/14/index.html | 14 +
zh/docs3-v2/java-sdk/faq/6/15/index.html | 14 +
zh/docs3-v2/java-sdk/faq/6/16/index.html | 17 +
zh/docs3-v2/java-sdk/faq/6/2/index.html | 18 +
zh/docs3-v2/java-sdk/faq/6/3/index.html | 17 +
zh/docs3-v2/java-sdk/faq/6/4/index.html | 20 +
zh/docs3-v2/java-sdk/faq/6/5/index.html | 17 +
zh/docs3-v2/java-sdk/faq/6/6/index.html | 17 +
zh/docs3-v2/java-sdk/faq/6/7/index.html | 17 +
zh/docs3-v2/java-sdk/faq/6/8/index.html | 14 +
zh/docs3-v2/java-sdk/faq/6/9/index.html | 12 +
zh/docs3-v2/java-sdk/faq/6/index.html | 11 +
zh/docs3-v2/java-sdk/faq/6/index.xml | 113 +
zh/docs3-v2/java-sdk/faq/7/1/index.html | 14 +
zh/docs3-v2/java-sdk/faq/7/2/index.html | 14 +
zh/docs3-v2/java-sdk/faq/7/3/index.html | 14 +
zh/docs3-v2/java-sdk/faq/7/4/index.html | 14 +
zh/docs3-v2/java-sdk/faq/7/5/index.html | 11 +
zh/docs3-v2/java-sdk/faq/7/6/index.html | 11 +
zh/docs3-v2/java-sdk/faq/7/index.html | 11 +
zh/docs3-v2/java-sdk/faq/7/index.xml | 41 +
zh/docs3-v2/java-sdk/faq/99/0/index.html | 14 +
zh/docs3-v2/java-sdk/faq/99/index.html | 11 +
zh/docs3-v2/java-sdk/faq/99/index.xml | 11 +
zh/docs3-v2/java-sdk/faq/index.html | 11 +
zh/docs3-v2/java-sdk/faq/index.xml | 22 +
zh/docs3-v2/java-sdk/faq/intro/index.html | 29 +
zh/docs3-v2/java-sdk/index.html | 11 +
zh/docs3-v2/java-sdk/index.xml | 203 +
zh/docs3-v2/java-sdk/quick-start/idl/index.html | 187 +
zh/docs3-v2/java-sdk/quick-start/index.html | 11 +
zh/docs3-v2/java-sdk/quick-start/index.xml | 351 +
.../java-sdk/quick-start/spring-boot/index.html | 96 +
.../config-center/apollo/index.html | 42 +
.../reference-manual/config-center/index.html | 11 +
.../reference-manual/config-center/index.xml | 200 +
.../config-center/nacos/index.html | 31 +
.../config-center/zookeeper/index.html | 28 +
.../reference-manual/config/annotation/index.html | 126 +
.../reference-manual/config/api/index.html | 256 +
.../java-sdk/reference-manual/config/index.html | 11 +
.../java-sdk/reference-manual/config/index.xml | 4657 ++++++
.../reference-manual/config/overview/index.html | 69 +
.../reference-manual/config/principle/index.html | 152 +
.../reference-manual/config/properties/index.html | 37 +
.../reference-manual/config/xml/index.html | 75 +
.../java-sdk/reference-manual/graalvm/index.html | 133 +
.../java-sdk/reference-manual/graalvm/index.xml | 1 +
zh/docs3-v2/java-sdk/reference-manual/index.html | 11 +
zh/docs3-v2/java-sdk/reference-manual/index.xml | 189 +
.../reference-manual/metadata-center/index.html | 11 +
.../reference-manual/metadata-center/index.xml | 347 +
.../metadata-center/nacos/index.html | 27 +
.../metadata-center/overview/index.html | 147 +
.../metadata-center/redis/index.html | 11 +
.../metadata-center/zookeeper/index.html | 80 +
.../performance/benchmarking/index.html | 23 +
.../reference-manual/performance/index.html | 11 +
.../reference-manual/performance/index.xml | 131 +
.../performance/rpc-benchmarking/index.html | 26 +
.../reference-manual/protocol/dubbo/index.html | 32 +
.../reference-manual/protocol/grpc/index.html | 18 +
.../reference-manual/protocol/hessian/index.html | 39 +
.../reference-manual/protocol/http/index.html | 37 +
.../java-sdk/reference-manual/protocol/index.html | 11 +
.../java-sdk/reference-manual/protocol/index.xml | 1081 ++
.../reference-manual/protocol/memcached/index.html | 50 +
.../reference-manual/protocol/overview/index.html | 31 +
.../reference-manual/protocol/redis/index.html | 50 +
.../reference-manual/protocol/rest/index.html | 307 +
.../reference-manual/protocol/rmi/index.html | 40 +
.../reference-manual/protocol/thrift/index.html | 43 +
.../protocol/triple/guide/index.html | 219 +
.../protocol/triple/idl/index.html | 192 +
.../reference-manual/protocol/triple/index.html | 11 +
.../reference-manual/protocol/triple/index.xml | 861 ++
.../protocol/triple/migration/index.html | 48 +
.../protocol/triple/overview/index.html | 28 +
.../protocol/triple/pojo/index.html | 152 +
.../protocol/triple/streaming/index.html | 133 +
.../protocol/webservice/index.html | 59 +
.../reference-manual/qos/command/index.html | 31 +
.../java-sdk/reference-manual/qos/index.html | 11 +
.../java-sdk/reference-manual/qos/index.xml | 474 +
.../qos/logger-management/index.html | 52 +
.../reference-manual/qos/overview/index.html | 96 +
.../java-sdk/reference-manual/qos/probe/index.html | 23 +
.../reference-manual/qos/profiler/index.html | 33 +
.../qos/router-snapshot/index.html | 63 +
.../qos/service-management/index.html | 40 +
.../java-sdk/reference-manual/registry/index.html | 11 +
.../java-sdk/reference-manual/registry/index.xml | 636 +
.../reference-manual/registry/multicast/index.html | 20 +
.../reference-manual/registry/multicast/index.xml | 1 +
.../registry/multiple-registry/index.html | 72 +
.../registry/multiple-registry/index.xml | 1 +
.../reference-manual/registry/nacos/index.html | 69 +
.../reference-manual/registry/nacos/index.xml | 1 +
.../reference-manual/registry/overview/index.html | 29 +
.../reference-manual/registry/overview/index.xml | 1 +
.../reference-manual/registry/redis/index.html | 15 +
.../reference-manual/registry/redis/index.xml | 1 +
.../reference-manual/registry/simple/index.html | 31 +
.../reference-manual/registry/zookeeper/index.html | 53 +
.../reference-manual/registry/zookeeper/index.xml | 1 +
.../spi/description/cache/index.html | 66 +
.../spi/description/cluster/index.html | 57 +
.../spi/description/compiler/index.html | 49 +
.../spi/description/config-center/index.html | 36 +
.../spi/description/container/index.html | 51 +
.../spi/description/dispatcher/index.html | 49 +
.../spi/description/dubbo-spi/index.html | 522 +
.../spi/description/exchanger/index.html | 67 +
.../spi/description/exporter-listener/index.html | 56 +
.../spi/description/extension-factory/index.html | 47 +
.../spi/description/filter/index.html | 55 +
.../reference-manual/spi/description/index.html | 11 +
.../reference-manual/spi/description/index.xml | 2329 +++
.../spi/description/invoker-listener/index.html | 55 +
.../spi/description/liveness/index.html | 51 +
.../spi/description/load-balance/index.html | 52 +
.../spi/description/logger-adapter/index.html | 64 +
.../spi/description/merger/index.html | 47 +
.../spi/description/metadata-report/index.html | 60 +
.../spi/description/monitor/index.html | 60 +
.../spi/description/networker/index.html | 49 +
.../spi/description/page/index.html | 49 +
.../spi/description/protocol/index.html | 108 +
.../spi/description/proxy-factory/index.html | 52 +
.../spi/description/qos-permission/index.html | 54 +
.../spi/description/readiness/index.html | 48 +
.../spi/description/registry/index.html | 167 +
.../spi/description/remoting/index.html | 93 +
.../spi/description/router/index.html | 46 +
.../spi/description/serialize/index.html | 52 +
.../spi/description/startup/index.html | 48 +
.../spi/description/status-checker/index.html | 49 +
.../spi/description/telnet-handler/index.html | 50 +
.../spi/description/threadpool/index.html | 50 +
.../spi/description/validation/index.html | 64 +
.../java-sdk/reference-manual/spi/index.html | 11 +
.../java-sdk/reference-manual/spi/index.xml | 65 +
.../reference-manual/spi/overview/index.html | 18 +
.../2.x-to-3.x-compatibility-guide/index.html | 16 +
.../3.0-to-3.1-compatibility-guide/index.html | 11 +
.../3.1-to-3.2-compatibility-guide/index.html | 19 +
.../java-sdk/upgrades-and-compatibility/index.html | 11 +
.../java-sdk/upgrades-and-compatibility/index.xml | 649 +
.../migration-triple/index.html | 163 +
.../protobufinterface/index.html | 38 +
.../serialization-upgrade/index.html | 13 +
.../service-discovery/index.html | 11 +
.../service-discovery/index.xml | 279 +
.../migration-service-discovery/index.html | 29 +
.../service-discovery-rule/index.html | 77 +
.../service-discovery-samples/index.html | 26 +
zh/docs3-v2/rust-sdk/index.html | 11 +
zh/docs3-v2/rust-sdk/index.xml | 700 +
.../rust-sdk/java-interoperability/index.html | 47 +
zh/docs3-v2/rust-sdk/quick-start/index.html | 153 +
zh/docs3-v2/rust-sdk/streaming/index.html | 343 +
zh/docs3-v2/rust-sdk/unix-transport/index.html | 115 +
zh/docsv2.7/admin/index.html | 11 +
zh/docsv2.7/admin/index.xml | 15 +
zh/docsv2.7/admin/install/admin-console/index.html | 41 +
zh/docsv2.7/admin/install/consumer-demo/index.html | 24 +
zh/docsv2.7/admin/install/index.html | 11 +
zh/docsv2.7/admin/install/index.xml | 145 +
.../admin/install/monitor-center/index.html | 11 +
zh/docsv2.7/admin/install/provider-demo/index.html | 24 +
zh/docsv2.7/admin/install/redis/index.html | 52 +
zh/docsv2.7/admin/install/zookeeper/index.html | 65 +
zh/docsv2.7/admin/ops/apidocs/index.html | 45 +
zh/docsv2.7/admin/ops/functions/index.html | 14 +
zh/docsv2.7/admin/ops/governance/index.html | 59 +
zh/docsv2.7/admin/ops/index.html | 11 +
zh/docsv2.7/admin/ops/index.xml | 691 +
zh/docsv2.7/admin/ops/introduction/index.html | 49 +
zh/docsv2.7/admin/ops/pinpoint/index.html | 313 +
zh/docsv2.7/admin/ops/search/index.html | 14 +
zh/docsv2.7/admin/ops/skywalking/index.html | 67 +
zh/docsv2.7/admin/ops/test/index.html | 11 +
zh/docsv2.7/dev/build/index.html | 19 +
zh/docsv2.7/dev/checklist/index.html | 11 +
zh/docsv2.7/dev/code-smell/index.html | 58 +
zh/docsv2.7/dev/coding/index.html | 11 +
zh/docsv2.7/dev/contract/index.html | 11 +
zh/docsv2.7/dev/design/index.html | 11 +
zh/docsv2.7/dev/implementation/index.html | 36 +
zh/docsv2.7/dev/impls/cache/index.html | 66 +
zh/docsv2.7/dev/impls/cluster/index.html | 57 +
zh/docsv2.7/dev/impls/compiler/index.html | 49 +
zh/docsv2.7/dev/impls/config-center/index.html | 36 +
zh/docsv2.7/dev/impls/container/index.html | 51 +
zh/docsv2.7/dev/impls/dispatcher/index.html | 49 +
zh/docsv2.7/dev/impls/exchanger/index.html | 67 +
zh/docsv2.7/dev/impls/exporter-listener/index.html | 56 +
zh/docsv2.7/dev/impls/extension-factory/index.html | 47 +
zh/docsv2.7/dev/impls/filter/index.html | 55 +
zh/docsv2.7/dev/impls/index.html | 11 +
zh/docsv2.7/dev/impls/index.xml | 1554 ++
zh/docsv2.7/dev/impls/invoker-listener/index.html | 55 +
zh/docsv2.7/dev/impls/load-balance/index.html | 52 +
zh/docsv2.7/dev/impls/logger-adapter/index.html | 64 +
zh/docsv2.7/dev/impls/merger/index.html | 47 +
zh/docsv2.7/dev/impls/monitor/index.html | 60 +
zh/docsv2.7/dev/impls/networker/index.html | 49 +
zh/docsv2.7/dev/impls/page/index.html | 45 +
zh/docsv2.7/dev/impls/protocol/index.html | 108 +
zh/docsv2.7/dev/impls/proxy-factory/index.html | 52 +
zh/docsv2.7/dev/impls/registry/index.html | 167 +
zh/docsv2.7/dev/impls/remoting/index.html | 93 +
zh/docsv2.7/dev/impls/router/index.html | 46 +
zh/docsv2.7/dev/impls/serialize/index.html | 52 +
zh/docsv2.7/dev/impls/status-checker/index.html | 49 +
zh/docsv2.7/dev/impls/telnet-handler/index.html | 50 +
zh/docsv2.7/dev/impls/threadpool/index.html | 50 +
zh/docsv2.7/dev/impls/validation/index.html | 64 +
zh/docsv2.7/dev/index.html | 11 +
zh/docsv2.7/dev/index.xml | 722 +
zh/docsv2.7/dev/principals/code-detail/index.html | 35 +
.../dev/principals/configuration/index.html | 48 +
zh/docsv2.7/dev/principals/dummy/index.html | 173 +
.../dev/principals/expansibility/index.html | 20 +
zh/docsv2.7/dev/principals/extension/index.html | 87 +
.../dev/principals/general-knowledge/index.html | 24 +
zh/docsv2.7/dev/principals/index.html | 11 +
zh/docsv2.7/dev/principals/index.xml | 408 +
zh/docsv2.7/dev/principals/introduction/index.html | 7 +
zh/docsv2.7/dev/principals/robustness/index.html | 68 +
zh/docsv2.7/dev/release/index.html | 11 +
.../dev/source/adaptive-extension/index.html | 572 +
zh/docsv2.7/dev/source/cluster/index.html | 472 +
zh/docsv2.7/dev/source/directory/index.html | 437 +
zh/docsv2.7/dev/source/dubbo-spi/index.html | 315 +
zh/docsv2.7/dev/source/export-service/index.html | 1212 ++
zh/docsv2.7/dev/source/index.html | 11 +
zh/docsv2.7/dev/source/index.xml | 7066 +++++++++
zh/docsv2.7/dev/source/loadbalance/index.html | 583 +
zh/docsv2.7/dev/source/refer-service/index.html | 782 +
zh/docsv2.7/dev/source/router/index.html | 362 +
.../dev/source/service-invoking-process/index.html | 1701 +++
zh/docsv2.7/dev/spi/index.html | 111 +
zh/docsv2.7/dev/tck/index.html | 11 +
zh/docsv2.7/index.html | 11 +
zh/docsv2.7/index.xml | 179 +
zh/docsv2.7/user/benchmark-tool/index.html | 15 +
zh/docsv2.7/user/best-practice/index.html | 11 +
zh/docsv2.7/user/capacity-plan/index.html | 11 +
.../user/configuration/annotation/index.html | 56 +
zh/docsv2.7/user/configuration/api/index.html | 103 +
.../user/configuration/config-center/index.html | 39 +
.../configuration-load-process/index.html | 91 +
.../configuration/environment-variables/index.html | 19 +
zh/docsv2.7/user/configuration/index.html | 11 +
zh/docsv2.7/user/configuration/index.xml | 557 +
.../user/configuration/properties/index.html | 14 +
zh/docsv2.7/user/configuration/xml/index.html | 41 +
zh/docsv2.7/user/coveragence/index.html | 12 +
zh/docsv2.7/user/dependencies/index.html | 15 +
zh/docsv2.7/user/examples/accesslog/index.html | 13 +
zh/docsv2.7/user/examples/async-call/index.html | 62 +
.../examples/async-execute-on-provider/index.html | 52 +
zh/docsv2.7/user/examples/attachment/index.html | 21 +
zh/docsv2.7/user/examples/auth/index.html | 31 +
.../examples/broadcast-resp-collect/index.html | 42 +
.../user/examples/callback-parameter/index.html | 86 +
.../user/examples/concurrency-control/index.html | 25 +
.../user/examples/config-connections/index.html | 15 +
.../examples/config-rule-deprecated/index.html | 18 +
zh/docsv2.7/user/examples/config-rule/index.html | 101 +
.../user/examples/consumer-threadpool/index.html | 11 +
zh/docsv2.7/user/examples/context/index.html | 36 +
zh/docsv2.7/user/examples/delay-publish/index.html | 14 +
.../examples/distributed-transaction/index.html | 11 +
zh/docsv2.7/user/examples/dump/index.html | 16 +
zh/docsv2.7/user/examples/echo-service/index.html | 21 +
zh/docsv2.7/user/examples/events-notify/index.html | 58 +
.../user/examples/explicit-target/index.html | 15 +
.../examples/fault-tolerent-strategy/index.html | 22 +
.../examples/generic-invoke-with-json/index.html | 51 +
.../user/examples/generic-reference/index.html | 71 +
.../user/examples/generic-service/index.html | 36 +
.../user/examples/graceful-shutdown/index.html | 14 +
zh/docsv2.7/user/examples/group-merger/index.html | 25 +
.../user/examples/hostname-binding/index.html | 16 +
zh/docsv2.7/user/examples/index.html | 12 +
zh/docsv2.7/user/examples/index.xml | 2556 ++++
.../examples/invoke-with-specified-ip/index.html | 51 +
zh/docsv2.7/user/examples/lazy-connect/index.html | 12 +
zh/docsv2.7/user/examples/loadbalance/index.html | 19 +
zh/docsv2.7/user/examples/local-call/index.html | 19 +
zh/docsv2.7/user/examples/local-mock/index.html | 34 +
zh/docsv2.7/user/examples/local-stub/index.html | 32 +
.../user/examples/logger-strategy/index.html | 14 +
.../user/examples/msgpack-serialization/index.html | 85 +
.../user/examples/multi-protocols/index.html | 39 +
.../user/examples/multi-registry/index.html | 62 +
.../user/examples/multi-versions/index.html | 16 +
zh/docsv2.7/user/examples/netty4/index.html | 20 +
.../user/examples/parameter-validation/index.html | 144 +
.../user/examples/pb-generic-reference/index.html | 64 +
.../user/examples/preflight-check/index.html | 22 +
zh/docsv2.7/user/examples/protobuf-idl/index.html | 35 +
.../examples/provider-timeout-release/index.html | 112 +
.../examples/reference-config-cache/index.html | 25 +
zh/docsv2.7/user/examples/registry-only/index.html | 15 +
zh/docsv2.7/user/examples/result-cache/index.html | 15 +
.../examples/routing-rule-deprecated/index.html | 53 +
zh/docsv2.7/user/examples/routing-rule/index.html | 65 +
zh/docsv2.7/user/examples/serialization/index.html | 57 +
.../user/examples/service-container/index.html | 16 +
.../user/examples/service-downgrade/index.html | 14 +
zh/docsv2.7/user/examples/service-group/index.html | 16 +
zh/docsv2.7/user/examples/set-host/index.html | 18 +
.../examples/simplify-registry-data/index.html | 106 +
.../user/examples/static-service/index.html | 16 +
zh/docsv2.7/user/examples/stickiness/index.html | 15 +
.../user/examples/subscribe-only/index.html | 13 +
zh/docsv2.7/user/examples/thread-model/index.html | 12 +
zh/docsv2.7/user/examples/tls/index.html | 28 +
.../user/examples/token-authorization/index.html | 19 +
.../index.html" | 15 +
zh/docsv2.7/user/index.html | 11 +
zh/docsv2.7/user/index.xml | 2638 ++++
zh/docsv2.7/user/languages/erlang/index.html | 11 +
zh/docsv2.7/user/languages/erlang/index.xml | 118 +
.../user/languages/erlang/quick-start/index.html | 27 +
.../user/languages/erlang/reference/index.html | 19 +
.../user/languages/erlang/serialization/index.html | 15 +
.../user/languages/erlang/service/index.html | 19 +
zh/docsv2.7/user/languages/index.html | 11 +
zh/docsv2.7/user/languages/index.xml | 1 +
zh/docsv2.7/user/maturity/index.html | 11 +
.../user/new-features-in-a-glance/index.html | 22 +
zh/docsv2.7/user/perf-test/index.html | 14 +
zh/docsv2.7/user/preface/architecture/index.html | 11 +
zh/docsv2.7/user/preface/background/index.html | 11 +
zh/docsv2.7/user/preface/index.html | 11 +
zh/docsv2.7/user/preface/index.xml | 147 +
zh/docsv2.7/user/preface/requirements/index.html | 11 +
zh/docsv2.7/user/preface/usage/index.html | 25 +
zh/docsv2.7/user/quick-start/index.html | 83 +
zh/docsv2.7/user/recommend/index.html | 36 +
zh/docsv2.7/user/references/api/index.html | 30 +
zh/docsv2.7/user/references/index.html | 11 +
zh/docsv2.7/user/references/index.xml | 627 +
zh/docsv2.7/user/references/maven/index.html | 13 +
zh/docsv2.7/user/references/metadata/index.html | 224 +
.../user/references/protocol/dubbo/index.html | 21 +
.../user/references/protocol/grpc/index.html | 12 +
.../user/references/protocol/hessian/index.html | 22 +
.../user/references/protocol/http/index.html | 23 +
zh/docsv2.7/user/references/protocol/index.html | 11 +
zh/docsv2.7/user/references/protocol/index.xml | 889 ++
.../user/references/protocol/memcached/index.html | 18 +
.../user/references/protocol/redis/index.html | 18 +
.../user/references/protocol/rest/index.html | 288 +
.../user/references/protocol/rmi/index.html | 21 +
.../user/references/protocol/thrift/index.html | 17 +
.../user/references/protocol/webservice/index.html | 39 +
zh/docsv2.7/user/references/qos/index.html | 119 +
zh/docsv2.7/user/references/registry/index.html | 11 +
zh/docsv2.7/user/references/registry/index.xml | 284 +
.../user/references/registry/multicast/index.html | 19 +
.../user/references/registry/nacos/index.html | 69 +
.../user/references/registry/redis/index.html | 15 +
.../user/references/registry/simple/index.html | 31 +
.../user/references/registry/zookeeper/index.html | 53 +
zh/docsv2.7/user/references/telnet/index.html | 13 +
.../references/xml/dubbo-application/index.html | 11 +
.../user/references/xml/dubbo-argument/index.html | 14 +
.../references/xml/dubbo-config-center/index.html | 11 +
.../user/references/xml/dubbo-consumer/index.html | 11 +
.../user/references/xml/dubbo-method/index.html | 14 +
.../user/references/xml/dubbo-module/index.html | 11 +
.../user/references/xml/dubbo-monitor/index.html | 11 +
.../user/references/xml/dubbo-parameter/index.html | 15 +
.../user/references/xml/dubbo-protocol/index.html | 11 +
.../user/references/xml/dubbo-provider/index.html | 11 +
.../user/references/xml/dubbo-reference/index.html | 11 +
.../user/references/xml/dubbo-registry/index.html | 11 +
.../user/references/xml/dubbo-service/index.html | 11 +
zh/docsv2.7/user/references/xml/index.html | 11 +
zh/docsv2.7/user/references/xml/index.xml | 2323 +++
zh/docsv2.7/user/rest/index.html | 363 +
zh/docsv2.7/user/serialization/index.html | 57 +
zh/docsv2.7/user/simple-monitor/index.html | 51 +
zh/docsv2.7/user/versions/index.html | 11 +
zh/docsv2.7/user/versions/index.xml | 297 +
zh/docsv2.7/user/versions/version-270/index.html | 95 +
zh/featured-background.jpg | Bin 0 -> 146971 bytes
...a2_146971_1920x1080_fill_q75_catmullrom_top.jpg | Bin 0 -> 49146 bytes
...9fa2_146971_960x540_fill_q75_catmullrom_top.jpg | Bin 0 -> 15763 bytes
zh/index.html | 14 +
zh/index.xml | 14676 +++++++++++++++++++
zh/overview/history-version/index.html | 11 +
zh/overview/history-version/index.xml | 1 +
zh/overview/index.html | 11 +
zh/overview/index.xml | 1 +
zh/overview/mannual/index.html | 11 +
zh/overview/mannual/index.xml | 1 +
zh/overview/quickstart/index.html | 11 +
zh/overview/quickstart/index.xml | 1 +
zh/overview/tasks/ecosystem/index.html | 11 +
zh/overview/tasks/ecosystem/index.xml | 269 +
zh/overview/tasks/ecosystem/rate-limit/index.html | 47 +
zh/overview/tasks/ecosystem/transaction/index.html | 180 +
zh/overview/tasks/index.html | 11 +
zh/overview/tasks/index.xml | 311 +
.../tasks/kubernetes/deploy-on-k8s/index.html | 195 +
zh/overview/tasks/kubernetes/index.html | 11 +
zh/overview/tasks/kubernetes/index.xml | 242 +
zh/overview/tasks/mesh/dubbo-mesh/index.html | 138 +
zh/overview/tasks/mesh/index.html | 11 +
zh/overview/tasks/mesh/index.xml | 386 +
zh/overview/tasks/mesh/proxyless/index.html | 124 +
zh/overview/tasks/migration/2to3/index.html | 16 +
zh/overview/tasks/migration/index.html | 11 +
zh/overview/tasks/migration/index.xml | 114 +
.../tasks/migration/migration-triple/index.html | 11 +
.../migration/service-discovery-samples/index.html | 26 +
zh/overview/tasks/traffic-management/index.html | 11 +
zh/overview/tasks/traffic-management/index.xml | 430 +
.../tasks/traffic-management/isolation/index.html | 34 +
.../tasks/traffic-management/timeout/index.html | 34 +
.../traffic-condition/index.html | 22 +
.../traffic-management/traffic-gray/index.html | 31 +
.../traffic-management/traffic-routing/index.html | 20 +
.../tasks/traffic-management/weight/index.html | 12 +
.../tasks/traffic-management/zone/index.html | 22 +
zh/overview/tasks/triple/idl/index.html | 182 +
zh/overview/tasks/triple/index.html | 11 +
zh/overview/tasks/triple/index.xml | 630 +
zh/overview/tasks/triple/streaming/index.html | 239 +
zh/overview/tasks/triple/wrap/index.html | 140 +
zh/overview/what/architecture/index.html | 43 +
zh/overview/what/dubbo3/index.html | 23 +
zh/overview/what/ecosystem/index.html | 17 +
zh/overview/what/extensibility/index.html | 33 +
zh/overview/what/index.html | 11 +
zh/overview/what/index.xml | 423 +
zh/overview/what/overview/index.html | 23 +
zh/release/dubbo-admin/index.html | 19 +
zh/release/dubbo-go-pixiu/index.html | 14 +
zh/release/dubbo-spi-extensions/index.html | 24 +
zh/release/go/index.html | 14 +
zh/release/index.html | 11 +
zh/release/index.xml | 1 +
zh/release/java/index.html | 48 +
zh/release/past-releases/dubbo-admin/index.html | 19 +
zh/release/past-releases/dubbo-go-pixiu/index.html | 14 +
.../past-releases/dubbo-spi-extensions/index.html | 31 +
zh/release/past-releases/go/index.html | 14 +
zh/release/past-releases/index.html | 11 +
zh/release/past-releases/index.xml | 623 +
zh/release/past-releases/java/index.html | 204 +
zh/sitemap.xml | 1 +
zh/users/alibaba/index.html | 23 +
zh/users/dianxiaomi/index.html | 56 +
zh/users/eleme/index.html | 40 +
zh/users/guazi/index.html | 87 +
zh/users/icbc/index.html | 26 +
zh/users/index.html | 7 +
zh/users/index.xml | 1 +
zh/users/pingan/index.html | 35 +
zh/users/xiaomi/index.html | 17 +
zh/users/zhonglunwangluo/index.html | 45 +
2730 files changed, 282583 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000000..dcac7060468
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,35 @@
+# no cahce for root index redirection
+<If "%{REQUEST_URI} =~ m#^/?([\w\-]+\.html)?$#">
+ <IfModule mod_expires.c>
+ ExpiresActive off
+ </IfModule>
+
+ <IfModule mod_headers.c>
+ Header always set Cache-Control "no-store, no-cache, must-revalidate"
+ Header always set Expires "Thu, 01 Dec 1994 16:00:00 GMT"
+ Header always merge Vary "Accept-Language"
+ </IfModule>
+</If>
+
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ RewriteCond %{SERVER_PORT} !^443$
+ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
+
+ RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
+ RewriteRule ^/?(index\.html)?$ "/zh/index.html" [L,R=302]
+
+ RewriteRule ^/?(index\.html)?$ "/en/index.html" [L,R=302]
+
+ # special redirection for examples & handbook
+ RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
+ RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh/docs3-v2/java-sdk/faq/$1" [L,R=302]
+
+ RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs/java-sdk/faq/$1" [L,R=302]
+
+ RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
+ RewriteRule ^/?([\w\-]+)\.html$ "/zh/$1.html" [L,R=302]
+
+ RewriteRule ^/?([\w\-]+)\.html$ "/en/$1.html" [L,R=302]
+
+</IfModule>
diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/CNAME b/CNAME
new file mode 100644
index 00000000000..21513514687
--- /dev/null
+++ b/CNAME
@@ -0,0 +1 @@
+dubbo.io
diff --git a/css/open-sans.css b/css/open-sans.css
new file mode 100644
index 00000000000..823533dee5e
--- /dev/null
+++ b/css/open-sans.css
@@ -0,0 +1,130 @@
+/* open-sans-300 - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 300;
+ src: url('/fonts/open-sans-v18-latin-300.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Light'), local('OpenSans-Light'),
+ url('/fonts/open-sans-v18-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-300.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-300italic - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 300;
+ src: url('/fonts/open-sans-v18-latin-300italic.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
+ url('/fonts/open-sans-v18-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-300italic.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-regular - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: url('/fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Regular'), local('OpenSans-Regular'),
+ url('/fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-italic - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 400;
+ src: url('/fonts/open-sans-v18-latin-italic.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Italic'), local('OpenSans-Italic'),
+ url('/fonts/open-sans-v18-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-italic.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-600 - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 600;
+ src: url('/fonts/open-sans-v18-latin-600.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
+ url('/fonts/open-sans-v18-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-600.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-600italic - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 600;
+ src: url('/fonts/open-sans-v18-latin-600italic.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'),
+ url('/fonts/open-sans-v18-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-600italic.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-700 - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 700;
+ src: url('/fonts/open-sans-v18-latin-700.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Bold'), local('OpenSans-Bold'),
+ url('/fonts/open-sans-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-700.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-800 - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 800;
+ src: url('/fonts/open-sans-v18-latin-800.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
+ url('/fonts/open-sans-v18-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-800.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-700italic - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 700;
+ src: url('/fonts/open-sans-v18-latin-700italic.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
+ url('/fonts/open-sans-v18-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-700italic.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
+/* open-sans-800italic - latin */
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 800;
+ src: url('/fonts/open-sans-v18-latin-800italic.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'),
+ url('/fonts/open-sans-v18-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('/fonts/open-sans-v18-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
+ url('/fonts/open-sans-v18-latin-800italic.woff') format('woff'), /* Modern Browsers */
+ url('/fonts/open-sans-v18-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('/fonts/open-sans-v18-latin-800italic.svg#OpenSans') format('svg'); /* Legacy iOS */
+}
\ No newline at end of file
diff --git a/css/prism.css b/css/prism.css
new file mode 100644
index 00000000000..f55c4c6e892
--- /dev/null
+++ b/css/prism.css
@@ -0,0 +1,208 @@
+/* PrismJS 1.21.0
+https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard */
+/**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+
+code[class*="language-"],
+pre[class*="language-"] {
+ color: black;
+ background: none;
+ text-shadow: 0 1px white;
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+ font-size: 1em;
+ text-align: left;
+ white-space: pre;
+ word-spacing: normal;
+ word-break: normal;
+ word-wrap: normal;
+ line-height: 1.5;
+
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+
+ -webkit-hyphens: none;
+ -moz-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+}
+
+pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
+code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
+ text-shadow: none;
+ background: #b3d4fc;
+}
+
+pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
+code[class*="language-"]::selection, code[class*="language-"] ::selection {
+ text-shadow: none;
+ background: #b3d4fc;
+}
+
+@media print {
+ code[class*="language-"],
+ pre[class*="language-"] {
+ text-shadow: none;
+ }
+}
+
+/* Code blocks */
+pre[class*="language-"] {
+ padding: 1em;
+ margin: .5em 0;
+ overflow: auto;
+}
+
+:not(pre) > code[class*="language-"],
+pre[class*="language-"] {
+ background: #f5f2f0;
+}
+
+/* Inline code */
+:not(pre) > code[class*="language-"] {
+ padding: .1em;
+ border-radius: .3em;
+ white-space: normal;
+}
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+ color: slategray;
+}
+
+.token.punctuation {
+ color: #999;
+}
+
+.token.namespace {
+ opacity: .7;
+}
+
+.token.property,
+.token.tag,
+.token.boolean,
+.token.number,
+.token.constant,
+.token.symbol,
+.token.deleted {
+ color: #905;
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted {
+ color: #690;
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string {
+ color: #9a6e3a;
+ /* This background color was intended by the author of this theme. */
+ background: hsla(0, 0%, 100%, .5);
+}
+
+.token.atrule,
+.token.attr-value,
+.token.keyword {
+ color: #07a;
+}
+
+.token.function,
+.token.class-name {
+ color: #DD4A68;
+}
+
+.token.regex,
+.token.important,
+.token.variable {
+ color: #e90;
+}
+
+.token.important,
+.token.bold {
+ font-weight: bold;
+}
+.token.italic {
+ font-style: italic;
+}
+
+.token.entity {
+ cursor: help;
+}
+
+div.code-toolbar {
+ position: relative;
+}
+
+div.code-toolbar > .toolbar {
+ position: absolute;
+ top: .3em;
+ right: .2em;
+ transition: opacity 0.3s ease-in-out;
+ opacity: 0;
+}
+
+div.code-toolbar:hover > .toolbar {
+ opacity: 1;
+}
+
+/* Separate line b/c rules are thrown out if selector is invalid.
+ IE11 and old Edge versions don't support :focus-within. */
+div.code-toolbar:focus-within > .toolbar {
+ opacity: 1;
+}
+
+div.code-toolbar > .toolbar .toolbar-item {
+ display: inline-block;
+}
+
+div.code-toolbar > .toolbar a {
+ cursor: pointer;
+}
+
+div.code-toolbar > .toolbar button {
+ background: none;
+ border: 0;
+ color: inherit;
+ font: inherit;
+ line-height: normal;
+ overflow: visible;
+ padding: 0;
+ -webkit-user-select: none; /* for button */
+ -moz-user-select: none;
+ -ms-user-select: none;
+}
+
+div.code-toolbar > .toolbar a,
+div.code-toolbar > .toolbar button,
+div.code-toolbar > .toolbar span {
+ color: #bbb;
+ font-size: .8em;
+ padding: 0 .5em;
+ background: #f5f2f0;
+ background: rgba(224, 224, 224, 0.2);
+ box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
+ border-radius: .5em;
+}
+
+div.code-toolbar > .toolbar a:hover,
+div.code-toolbar > .toolbar a:focus,
+div.code-toolbar > .toolbar button:hover,
+div.code-toolbar > .toolbar button:focus,
+div.code-toolbar > .toolbar span:hover,
+div.code-toolbar > .toolbar span:focus {
+ color: inherit;
+ text-decoration: none;
+}
+
diff --git a/css/shortcodes.css b/css/shortcodes.css
new file mode 100644
index 00000000000..0aa1c0f8304
--- /dev/null
+++ b/css/shortcodes.css
@@ -0,0 +1,2 @@
+@import "shortcodes/tabbed-pane.css";
+@import "shortcodes/cards-pane.css";
diff --git a/css/shortcodes/cards-pane.css b/css/shortcodes/cards-pane.css
new file mode 100644
index 00000000000..34c85450dd1
--- /dev/null
+++ b/css/shortcodes/cards-pane.css
@@ -0,0 +1,21 @@
+.card-deck {
+ max-width: 83%;
+}
+
+.card {
+ max-width: 80%;
+}
+
+.card-body.code {
+ background-color: #f8f9fa;
+ padding: 0 0 0 1ex;
+}
+
+.card-body pre {
+ margin: 0;
+ padding: 0 1rem 1rem 1rem;
+}
+
+.card .highlight {
+ border: none;
+}
diff --git a/css/shortcodes/tabbed-pane.css b/css/shortcodes/tabbed-pane.css
new file mode 100644
index 00000000000..30163987280
--- /dev/null
+++ b/css/shortcodes/tabbed-pane.css
@@ -0,0 +1,18 @@
+.td-content .highlight {
+ margin: 0rem 0 2rem 0;
+}
+
+.tab-content .highlight {
+ border: none;
+}
+
+.tab-content {
+ margin: 0rem;
+ max-width: 80%;
+}
+
+.tab-content pre {
+ border-left: 1px solid rgba(0, 0, 0, 0.125);
+ border-right: 1px solid rgba(0, 0, 0, 0.125);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.125);
+}
diff --git a/css/swagger-ui.css b/css/swagger-ui.css
new file mode 100644
index 00000000000..c61e5a85f7a
--- /dev/null
+++ b/css/swagger-ui.css
@@ -0,0 +1,4 @@
+.swagger-ui{
+ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */font-family:sans-serif;color:#3b4151}.swagger-ui html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure [...]
+
+/*# sourceMappingURL=swagger-ui.css.map*/
\ No newline at end of file
diff --git a/dubbo-go/resource/dubbo-go-arch.pptx b/dubbo-go/resource/dubbo-go-arch.pptx
new file mode 100644
index 00000000000..f4ed151431b
Binary files /dev/null and b/dubbo-go/resource/dubbo-go-arch.pptx differ
diff --git a/dubbo-go/v3 b/dubbo-go/v3
new file mode 100644
index 00000000000..5bbc92e9fef
--- /dev/null
+++ b/dubbo-go/v3
@@ -0,0 +1,10 @@
+<html>
+ <head>
+ <meta name="go-import" content="dubbo.apache.org/dubbo-go/v3 git https://github.com/apache/dubbo-go">
+ <meta name="go-source" content="dubbo.apache.org/dubbo-go/v3 git https://github.com/apache/dubbo-go/tree/3.0{/dir} https://github.com/apache/dubbo-go/blob/3.0{/dir}/{file}#L{line}">
+ <meta http-equiv="refresh" content="0; url=https://pkg.go.dev/dubbo.apache.org/dubbo-go/v3">
+ </head>
+ <body>
+ <p>Redirecting to <a href="https://pkg.go.dev/dubbo.apache.org/dubbo-go/v3">pkg.go.dev/dubbo.apache.org/dubbo-go/v3</a>...</p>
+ </body>
+</html>
diff --git a/en/404.html b/en/404.html
new file mode 100644
index 00000000000..808d2b1c94e
--- /dev/null
+++ b/en/404.html
@@ -0,0 +1,7 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class=td-404><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V31H89.7zm0 2 [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/04/22/dubbo-roadmap-is-announced-in-qcon-beijing-2018/index.html b/en/blog/2018/04/22/dubbo-roadmap-is-announced-in-qcon-beijing-2018/index.html
new file mode 100644
index 00000000000..e47090d8f04
--- /dev/null
+++ b/en/blog/2018/04/22/dubbo-roadmap-is-announced-in-qcon-beijing-2018/index.html
@@ -0,0 +1,13 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/04/22/dubbo-roadmap-is-announced-in-qcon-beijing-2018/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-04-22T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo roadmap is announced in QCon B [...]
+"><meta itemprop=datePublished content="2018-04-22T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="24"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo roadmap is announced in QCon Beijing 2018"><meta name=twitter:description content="This article will introduce you that Dubbo roadmap is announced in QCon Beijing 2018.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/qcon-beijing-2018.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%20roadmap%20is%20announced%20in%20QCon%20Beijing%202018" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>Dubbo roadmap is announced in QCon Beijing 2018</h1><div class=lead>This article will intr [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/04/25/the-gsocgoogle-summer-of-code-2018/index.html b/en/blog/2018/04/25/the-gsocgoogle-summer-of-code-2018/index.html
new file mode 100644
index 00000000000..5d75579d526
--- /dev/null
+++ b/en/blog/2018/04/25/the-gsocgoogle-summer-of-code-2018/index.html
@@ -0,0 +1,13 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/04/25/the-gsocgoogle-summer-of-code-2018/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-04-25T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="The GSoC(Google Summer of Code) 2018"><meta itemp [...]
+"><meta itemprop=datePublished content="2018-04-25T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="24"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="The GSoC(Google Summer of Code) 2018"><meta name=twitter:description content="The GSoC(Google Summer of Code) 2018 projects has been announced
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/gsoc-2018.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+t [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20GSoC%28Google%20Summer%20of%20Code%29%202018" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>The GSoC(Google Summer of Code) 2018</h1><div class=lead>The GSoC(Google Summer of Code) 2 [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/05/02/the-apachecon-na-schedule-has-been-announced/index.html b/en/blog/2018/05/02/the-apachecon-na-schedule-has-been-announced/index.html
new file mode 100644
index 00000000000..eff04887e74
--- /dev/null
+++ b/en/blog/2018/05/02/the-apachecon-na-schedule-has-been-announced/index.html
@@ -0,0 +1,13 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/05/02/the-apachecon-na-schedule-has-been-announced/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-05-02T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="The ApacheCon NA schedule has been anno [...]
+"><meta itemprop=datePublished content="2018-05-02T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="34"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="The ApacheCon NA schedule has been announced"><meta name=twitter:description content="This article will introduce you that the ApacheCon NA schedule has been announced attention.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/apachecon-na-2018.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20ApacheCon%20NA%20schedule%20has%20been%20announced" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>The ApacheCon NA schedule has been announced</h1><div class=lead>This article will introdu [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/05/12/the-first-dubbo-meetup-has-been-held-in-beijing/index.html b/en/blog/2018/05/12/the-first-dubbo-meetup-has-been-held-in-beijing/index.html
new file mode 100644
index 00000000000..d8f85e7c816
--- /dev/null
+++ b/en/blog/2018/05/12/the-first-dubbo-meetup-has-been-held-in-beijing/index.html
@@ -0,0 +1,10 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-meetup-beijing.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+secti [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20first%20Dubbo%20meetup%20has%20been%20held%20in%20Beijing" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>The first Dubbo meetup has been held in Beijing</h1><div class=lead>The first Dubbo meetup [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/06/23/the-second-dubbo-shanghai-meetup-has-been-held-successfully/index.html b/en/blog/2018/06/23/the-second-dubbo-shanghai-meetup-has-been-held-successfully/index.html
new file mode 100644
index 00000000000..29728642b8d
--- /dev/null
+++ b/en/blog/2018/06/23/the-second-dubbo-shanghai-meetup-has-been-held-successfully/index.html
@@ -0,0 +1,10 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-meetup-shanghai.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+sect [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20second%20Dubbo%20Shanghai%20meetup%20has%20been%20held%20successfully" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>The second Dubbo Shanghai meetup has been held successfully</h1><div class=lead>The second [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/07/01/your-first-dubbo-filter/index.html b/en/blog/2018/07/01/your-first-dubbo-filter/index.html
new file mode 100644
index 00000000000..d70903d49ad
--- /dev/null
+++ b/en/blog/2018/07/01/your-first-dubbo-filter/index.html
@@ -0,0 +1,168 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/07/01/your-first-dubbo-filter/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-07-01T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Your First Dubbo Filter"><meta itemprop=description content= [...]
+"><meta itemprop=datePublished content="2018-07-01T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="824"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Your First Dubbo Filter"><meta name=twitter:description content="This article will introduce you that how to implement a dubbo filter
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/first-dubbo-filter.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Your%20First%20Dubbo%20Filter" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>Your First Dubbo Filter</h1><div class=lead>This article will introduce you that how to im [...]
+extension point, and the Filter interception will be executed during each call.</p><h4 id=extension-mechanism-of-dubbo-filter>Extension Mechanism of Dubbo Filter</h4><p>There are already about 20 Filters implemented in Dubbo. Their entry is ProtocolFilterWrapper, ProtocolFilterWrapper
+makes a Wrapper on Protocol and will be loaded when the extension is loaded. Then, let’s see how
+the Filter chain is constructed.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#586e75>//ProtocolFilterWrapper.java
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#268bd2>public</span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>refer</span><span style=color:#719e07>(</span>Class<span style=color:#719e07><</span>T<span style=color:#719e07>></span> type<span style=color:#719e07>,</span> URL url<span sty [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>Constants<span style=color:#719e07>.</span>REGISTRY_PROTOCOL<span style=color:#719e07>.</span>equals<span style=color:#719e07>(</span>url<span style=color:#719e07>.</span>getProtocol<span style=color:#719e07>()))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> protocol<span style=color:#719e07>.</span>refer<span style=color:#719e07>(</span>type<span style=color:#719e07>,</span> url<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> buildInvokerChain<span style=color:#719e07>(</span>protocol<span style=color:#719e07>.</span>refer<span style=color:#719e07>(</span>type<span style=color:#719e07>,</span> url<span style=color:#719e07>),</span> Constants<span style=color:#719e07>.</span>REFERENCE_FILTER_KEY<span style=color:#719e07>,</span> Constants<span style=color:#719e07>.</span>CONSUMER<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> <span style=color:#268bd2>static</span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>buildInvokerChain</span><span style=color:#719e07>(</span><span style=color:#268bd2>final</span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></spa [...]
+</span></span><span style=display:flex><span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> last <span style=color:#719e07>=</span> invoker<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> List<span style=color:#719e07><</span>Filter<span style=color:#719e07>></span> filters <span style=color:#719e07>=</span> ExtensionLoader<span style=color:#719e07>.</span>getExtensionLoader<span style=color:#719e07>(</span>Filter<span style=color:#719e07>.</span>class<span style=color:#719e07>).</span>getActivateExtension<span style=color:#719e07>(</span>invoker<span style=color:#719e07>.</span>getUrl<span style=color:#719e07>(), [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>filters<span style=color:#719e07>.</span>size<span style=color:#719e07>()</span> <span style=color:#719e07>></span> <span style=color:#2aa198>0</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span><span style=color:#dc322f>int</span> i <span style=color:#719e07>=</span> filters<span style=color:#719e07>.</span>size<span style=color:#719e07>()</span> <span style=color:#719e07>-</span> <span style=color:#2aa198>1</span><span style=color:#719e07>;</span> i <span style=color:#719e07>>=</span> <span style=color:#2aa198>0</span><span style=color:#719e07>;</s [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> Filter filter <span style=color:#719e07>=</span> filters<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>i<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> next <span style=color:#719e07>=</span> last<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> last <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Class<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>getInterface</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invoker<span style=color:#719e07>.</span>getInterface<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> URL <span style=color:#268bd2>getUrl</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invoker<span style=color:#719e07>.</span>getUrl<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>boolean</span> <span style=color:#268bd2>isAvailable</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invoker<span style=color:#719e07>.</span>isAvailable<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Result <span style=color:#268bd2>invoke</span><span style=color:#719e07>(</span>Invocation invocation<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> RpcException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> filter<span style=color:#719e07>.</span>invoke<span style=color:#719e07>(</span>next<span style=color:#719e07>,</span> invocation<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>destroy</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> invoker<span style=color:#719e07>.</span>destroy<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>toString</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invoker<span style=color:#719e07>.</span>toString<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>};</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> last<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><h4 id=activation-mechanism-of-dubbo-filter>Activation Mechanism of Dubbo Filter</h4><p>Through the above code we can see that, in the method buildInvokerChain, first get all
+activated chains, the chain here is already sorted. Then construct a call chain of Filter
+through the Invoker, finally the constructed call chain can be roughly expressed as: Filter1->Filter2->Filter3->……->Invoker,
+now let’s see the detailed flow of the activated chain in the above step.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span> <span style=color:#268bd2>public</span> List<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>getActivateExtension</span><span style=color:#719e07>(</span>URL [...]
+</span></span><span style=display:flex><span> String value <span style=color:#719e07>=</span> url<span style=color:#719e07>.</span>getParameter<span style=color:#719e07>(</span>key<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> getActivateExtension<span style=color:#719e07>(</span>url<span style=color:#719e07>,</span> value <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>||</span> value<span style=color:#719e07>.</span>length<span style=color:#719e07>()</span> <span style=color:#719e07>==</span> <span style=color:#2aa198>0</span> <span style=color:#719e07>?</span> <spa [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> List<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>getActivateExtension</span><span style=color:#719e07>(</span>URL url<span style=color:#719e07>,</span> String<span style=color:#719e07>[]</span> values<span style=color:#719e07>,</span> String group<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> List<span style=color:#719e07><</span>T<span style=color:#719e07>></span> exts <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ArrayList<span style=color:#719e07><</span>T<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> List<span style=color:#719e07><</span>String<span style=color:#719e07>></span> names <span style=color:#719e07>=</span> values <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>?</span> <span style=color:#719e07>new</span> ArrayList<span style=color:#719e07><</span>String<span style=color:#719e07>>(</span><span style=color:#2aa198>0</span><span style=color:#719e07>)</span> < [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(!</span> names<span style=color:#719e07>.</span>contains<span style=color:#719e07>(</span>Constants<span style=color:#719e07>.</span>REMOVE_VALUE_PREFIX <span style=color:#719e07>+</span> Constants<span style=color:#719e07>.</span>DEFAULT_KEY<span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> getExtensionClasses<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>Map<span style=color:#719e07>.</span>Entry<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Activate<span style=color:#719e07>></span> entry <span style=color:#719e07>:</span> cachedActivates<span style=color:#719e07>.</span>entrySet<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> String name <span style=color:#719e07>=</span> entry<span style=color:#719e07>.</span>getKey<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> Activate activate <span style=color:#719e07>=</span> entry<span style=color:#719e07>.</span>getValue<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>isMatchGroup<span style=color:#719e07>(</span>group<span style=color:#719e07>,</span> activate<span style=color:#719e07>.</span>group<span style=color:#719e07>()))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> T ext <span style=color:#719e07>=</span> getExtension<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(!</span> names<span style=color:#719e07>.</span>contains<span style=color:#719e07>(</span>name<span style=color:#719e07>)</span> <span style=color:#719e07>&&</span> <span style=color:#719e07>!</span> names<span style=color:#719e07>.</span>contains<span style=color:#719e07>(</span>Constants<span style=color:#719e07>.</span>REMOVE_VALUE_PREFIX <span style= [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>&&</span> isActive<span style=color:#719e07>(</span>activate<span style=color:#719e07>,</span> url<span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> exts<span style=color:#719e07>.</span>add<span style=color:#719e07>(</span>ext<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> Collections<span style=color:#719e07>.</span>sort<span style=color:#719e07>(</span>exts<span style=color:#719e07>,</span> ActivateComparator<span style=color:#719e07>.</span>COMPARATOR<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> List<span style=color:#719e07><</span>T<span style=color:#719e07>></span> usrs <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ArrayList<span style=color:#719e07><</span>T<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span><span style=color:#dc322f>int</span> i <span style=color:#719e07>=</span> <span style=color:#2aa198>0</span><span style=color:#719e07>;</span> i <span style=color:#719e07><</span> names<span style=color:#719e07>.</span>size<span style=color:#719e07>();</span> i <span style=color:#719e07>++)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> String name <span style=color:#719e07>=</span> names<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>i<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(!</span> name<span style=color:#719e07>.</span>startsWith<span style=color:#719e07>(</span>Constants<span style=color:#719e07>.</span>REMOVE_VALUE_PREFIX<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>&&</span> <span style=color:#719e07>!</span> names<span style=color:#719e07>.</span>contains<span style=color:#719e07>(</span>Constants<span style=color:#719e07>.</span>REMOVE_VALUE_PREFIX <span style=color:#719e07>+</span> name<span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>Constants<span style=color:#719e07>.</span>DEFAULT_KEY<span style=color:#719e07>.</span>equals<span style=color:#719e07>(</span>name<span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>usrs<span style=color:#719e07>.</span>size<span style=color:#719e07>()</span> <span style=color:#719e07>></span> <span style=color:#2aa198>0</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> exts<span style=color:#719e07>.</span>addAll<span style=color:#719e07>(</span><span style=color:#2aa198>0</span><span style=color:#719e07>,</span> usrs<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> usrs<span style=color:#719e07>.</span>clear<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>else</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> T ext <span style=color:#719e07>=</span> getExtension<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> usrs<span style=color:#719e07>.</span>add<span style=color:#719e07>(</span>ext<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>usrs<span style=color:#719e07>.</span>size<span style=color:#719e07>()</span> <span style=color:#719e07>></span> <span style=color:#2aa198>0</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> exts<span style=color:#719e07>.</span>addAll<span style=color:#719e07>(</span>usrs<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> exts<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Through the above code we can see that, some of the Filters configured by the user are activated by default,
+and some need to be activated by the configuration file. The loading order of all Filters is to process Dubbo’s
+default Filter first, and then to process the Filter defined by the user. With the “-” configuration, Dubbo’s defualt Filter
+can be replaced, with this configuration, the user can flexibly replace or modify the Filter’s load order.</p><h4 id=built-in-filter-of-dubbo>Built-in Filter of Dubbo</h4><p>Dubbo has lots of built-in Filter. RpcContext, accesslog and other functions can be implemented by Dubbo.
+Now let’s see the ConsumerContextFilter which used by the Consumer side for context delivery:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> Result <span style=color:#268bd2>invoke</span><span style=color:#719e07>(</span>Invoker<span style=color:#719e07><?></span> invoker<span style=color [...]
+</span></span><span style=display:flex><span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>()</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>.</span>setInvoker<span style=color:#719e07>(</span>invoker<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>.</span>setInvocation<span style=color:#719e07>(</span>invocation<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>.</span>setLocalAddress<span style=color:#719e07>(</span>NetUtils<span style=color:#719e07>.</span>getLocalHost<span style=color:#719e07>(),</span> <span style=color:#2aa198>0</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>.</span>setRemoteAddress<span style=color:#719e07>(</span>invoker<span style=color:#719e07>.</span>getUrl<span style=color:#719e07>().</span>getHost<span style=color:#719e07>(),</span>
+</span></span><span style=display:flex><span> invoker<span style=color:#719e07>.</span>getUrl<span style=color:#719e07>().</span>getPort<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>invocation <span style=color:#719e07>instanceof</span> RpcInvocation<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>((</span>RpcInvocation<span style=color:#719e07>)</span>invocation<span style=color:#719e07>).</span>setInvoker<span style=color:#719e07>(</span>invoker<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invoker<span style=color:#719e07>.</span>invoke<span style=color:#719e07>(</span>invocation<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>finally</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>().</span>clearAttachments<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>This Filter records the state information during call, and passes the attachments parameter set
+by the client to the server through the invocation object, and these parameters will be cleared
+after the call is completed, which is why the request status information can be recorded by times
+and delivered.</p><h4 id=implement-a-dubbo-filter>Implement A Dubbo Filter</h4><p>Because of Dubbo’s flexible design and good scalability, we can implement business logic
+in the call chain by implementing our own Dubbo Filter, such as time-consuming statistics, monitor information statistics, etc.
+Now, let’s implement a simple Filter:</p><p>Maven project structure:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>src
+</span></span><span style=display:flex><span> |-main
+</span></span><span style=display:flex><span> |-java
+</span></span><span style=display:flex><span> |-com
+</span></span><span style=display:flex><span> |-xxx
+</span></span><span style=display:flex><span> |-XxxFilter.java (impelement Filter interface)
+</span></span><span style=display:flex><span> |-resources
+</span></span><span style=display:flex><span> |-META-INF
+</span></span><span style=display:flex><span> |-dubbo
+</span></span><span style=display:flex><span> |-com.alibaba.dubbo.rpc.Filter (Plain text file with content:xxx=com.xxx.XxxFilter)
+</span></span></code></pre></div><p>XxxFilter.java:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>XxxFilter</span> <span style=color:#268bd2>implements</span> Filter <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Result <span style=color:#268bd2>invoke</span><span style=color:#719e07>(</span>Invoker<span style=color:#719e07><?></span> invoker<span style=color:#719e07>,</span> Invocation invocation<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> RpcException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// before filter ...
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> Result result <span style=color:#719e07>=</span> invoker<span style=color:#719e07>.</span>invoke<span style=color:#719e07>(</span>invocation<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// after filter ...
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>return</span> result<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>META-INF/dubbo/com.alibaba.dubbo.rpc.Filter:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>xxx=com.xxx.XxxFilter
+</span></span></code></pre></div><p>configure in xml as:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#586e75><!-- Consumer call process interception --></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> filter=<span style=color:#2aa198>"xxx"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#586e75><!-- Consumer call process default interception,intercept all reference --></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:consumer</span> filter=<span style=color:#2aa198>"xxx"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#586e75><!-- Provider call process interception --></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:service</span> filter=<span style=color:#2aa198>"xxx"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#586e75><!-- Provider call process default interception,intercept all service --></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:provider</span> filter=<span style=color:#2aa198>"xxx"</span><span style=color:#268bd2>/></span>
+</span></span></code></pre></div><p>or use annotation as:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@Activate</span><span style=color:#719e07>(</span>group <span style=color:#719e07>=</span> <span style=color:#2aa198>"consumer"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>XxxFilter</span> <span style=color:#268bd2>implements</span> Filter <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// ...
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Using xml configuration is more flexible and granular.</p><p>In before and after, you can implement your own business logic to give the filter a certain function.
+Once written and configured, the filter is activated by the Dubbo and executed in the call chain.</p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/06/23/the-second-dubbo-shanghai-meetup-has-been-held-successfully/ aria-label="Previous - The second Dubbo Shanghai meetup has been held successfully" class="btn btn-primary"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2018/07/12/tracking-with-pinpoint/ aria-label [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/07/12/tracking-with-pinpoint/index.html b/en/blog/2018/07/12/tracking-with-pinpoint/index.html
new file mode 100644
index 00000000000..2abfab107b4
--- /dev/null
+++ b/en/blog/2018/07/12/tracking-with-pinpoint/index.html
@@ -0,0 +1,285 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/07/12/tracking-with-pinpoint/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-07-12T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Tracking with Pinpoint"><meta itemprop=description content="T [...]
+"><meta itemprop=datePublished content="2018-07-12T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="888"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Tracking with Pinpoint"><meta name=twitter:description content="This article introduces how to use Pinpoint to track Dubbo applications and monitor applications' performance.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/pinpoint.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+to [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Tracking%20with%20Pinpoint" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#what-is-pinpoint>What is Pinpoint</a><ul><li><a href=#servermap>ServerMap</a></li><li><a href=#realtime-active-thread-chart>Realtime Active Thread Chart</a></li><li><a href=#requestresponse-scatter-chart>Request/Response Scatter Chart</a></li><li><a href=#callstack>CallStack</a></li><li><a href=#inspec [...]
+monitor your application in Real-Time
+gain code-level visibility to every transaction
+install APM Agents without changing a single line of code
+have minimal impact on the performance (approximately 3% increase in resource usage)</p><h3 id=servermap>ServerMap</h3><p>Understand the topology of any distributed systems by visualizing how their components are interconnected. Clicking on a node reveals details about the component, such as its current status, and transaction count.</p><h3 id=realtime-active-thread-chart>Realtime Active Thread Chart</h3><p>Monitor active threads inside applications in real-time.</p><h3 id=requestrespons [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><project</span> xmlns=<span style=color:#2aa198>"http://maven.apache.org/POM/4.0.0"</span>
+</span></span><span style=display:flex><span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><modelVersion></span>4.0.0<span style=color:#268bd2></modelVersion></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.example<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>demo-api<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.0.1-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></project></span>
+</span></span></code></pre></div><p>Create API interface:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-go data-lang=go><span style=display:flex><span><span style=color:#719e07>package</span> com.example.demoapi;
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>public <span style=color:#268bd2>interface</span> HelloService {
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span>(String name);
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><h4 id=dubbo-provider>Dubbo provider</h4><p>pom.xml</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#719e07><?xml version="1.0" encoding="UTF-8"?></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><project</span> xmlns=<span style=color:#2aa198>"http://maven.apache.org/POM/4.0.0"</span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><modelVersion></span>4.0.0<span style=color:#268bd2></modelVersion></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.example<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>demo-provider<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.0.1-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><packaging></span>jar<span style=color:#268bd2></packaging></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><name></span>demo-provider<span style=color:#268bd2></name></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><parent></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-starter-parent<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>2.0.3.RELEASE<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><relativePath/></span> <span style=color:#586e75><!-- lookup parent from repository --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></parent></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><properties></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><project.build.sourceEncoding></span>UTF-8<span style=color:#268bd2></project.build.sourceEncoding></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><project.reporting.outputEncoding></span>UTF-8<span style=color:#268bd2></project.reporting.outputEncoding></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><java.version></span>1.8<span style=color:#268bd2></java.version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></properties></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><repositories></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><repository></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><id></span>sonatype-nexus-snapshots<span style=color:#268bd2></id></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><url></span>https://oss.sonatype.org/content/repositories/snapshots<span style=color:#268bd2></url></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><releases></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><enabled></span>false<span style=color:#268bd2></enabled></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></releases></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><snapshots></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><enabled></span>true<span style=color:#268bd2></enabled></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></snapshots></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></repository></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></repositories></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependencies></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-starter<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.alibaba.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>dubbo-spring-boot-starter<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.2.0<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.example<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>demo-api<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.0.1-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-starter-test<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><scope></span>test<span style=color:#268bd2></scope></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependencies></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><build></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><plugins></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><plugin></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-maven-plugin<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></plugin></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></plugins></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></build></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></project></span>
+</span></span></code></pre></div><ol><li><code>HelloService</code> interface:</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> com.example.demoprovider.provider<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> com.alibaba.dubbo.config.annotation.Service<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> com.example.demoapi.HelloService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Service</span><span style=color:#719e07>(</span>version <span style=color:#719e07>=</span> <span style=color:#2aa198>"${demo.service.version}"</span><span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> application <span style=color:#719e07>=</span> <span style=color:#2aa198>"${dubbo.application.id}"</span><span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> protocol <span style=color:#719e07>=</span> <span style=color:#2aa198>"${dubbo.protocol.id}"</span><span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> registry <span style=color:#719e07>=</span> <span style=color:#2aa198>"${dubbo.registry.id}"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>HelloServiceImpl</span> <span style=color:#268bd2>implements</span> HelloService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>int</span> i <span style=color:#719e07>=</span> <span style=color:#2aa198>0</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> i<span style=color:#719e07>++;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>i <span style=color:#719e07>%</span> <span style=color:#2aa198>3</span> <span style=color:#719e07>==</span> <span style=color:#2aa198>0</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> RuntimeException<span style=color:#719e07>(</span><span style=color:#2aa198>"ex"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"Hello "</span> <span style=color:#719e07>+</span> name <span style=color:#719e07>+</span> <span style=color:#2aa198>"!"</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=2><li>Spring Boot bootstrap:</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> com.example.demoprovider<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.boot.SpringApplication<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.boot.autoconfigure.SpringBootApplication<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@SpringBootApplication</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoProviderApplication</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> SpringApplication<span style=color:#719e07>.</span>run<span style=color:#719e07>(</span>DemoProviderApplication<span style=color:#719e07>.</span>class<span style=color:#719e07>,</span> args<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=3><li><code>application.properties</code>:</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span><span style=color:#586e75># Spring boot application</span>
+</span></span><span style=display:flex><span>spring.application.name <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo-provider-demo</span>
+</span></span><span style=display:flex><span>server.port <span style=color:#719e07>=</span> <span style=color:#2aa198>9090</span>
+</span></span><span style=display:flex><span>management.port <span style=color:#719e07>=</span> <span style=color:#2aa198>9091</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># Service version</span>
+</span></span><span style=display:flex><span>demo.service.version <span style=color:#719e07>=</span> <span style=color:#2aa198>1.0.0</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># Base packages to scan Dubbo Components (e.g @Service , @Reference)</span>
+</span></span><span style=display:flex><span>dubbo.scan.basePackages <span style=color:#719e07>=</span> <span style=color:#2aa198>com.example.demoprovider</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># Dubbo Config properties</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## ApplicationConfig Bean</span>
+</span></span><span style=display:flex><span>dubbo.application.id <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo-provider-demo</span>
+</span></span><span style=display:flex><span>dubbo.application.name <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo-provider-demo</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## ProtocolConfig Bean</span>
+</span></span><span style=display:flex><span>dubbo.protocol.id <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo</span>
+</span></span><span style=display:flex><span>dubbo.protocol.name <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo</span>
+</span></span><span style=display:flex><span>dubbo.protocol.port <span style=color:#719e07>=</span> <span style=color:#2aa198>12345</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## RegistryConfig Bean</span>
+</span></span><span style=display:flex><span>dubbo.registry.id <span style=color:#719e07>=</span> <span style=color:#2aa198>my-registry</span>
+</span></span><span style=display:flex><span>dubbo.registry.address <span style=color:#719e07>=</span> <span style=color:#2aa198>N/A</span>
+</span></span></code></pre></div><h4 id=dubbo-consumer>Dubbo consumer</h4><p>pom.xml</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#719e07><?xml version="1.0" encoding="UTF-8"?></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><project</span> xmlns=<span style=color:#2aa198>"http://maven.apache.org/POM/4.0.0"</span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><modelVersion></span>4.0.0<span style=color:#268bd2></modelVersion></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.example<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>demo-consumer<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.0.1-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><packaging></span>jar<span style=color:#268bd2></packaging></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><name></span>demo-consumer<span style=color:#268bd2></name></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><parent></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-starter-parent<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>2.0.3.RELEASE<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><relativePath/></span> <span style=color:#586e75><!-- lookup parent from repository --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></parent></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><properties></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><project.build.sourceEncoding></span>UTF-8<span style=color:#268bd2></project.build.sourceEncoding></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><project.reporting.outputEncoding></span>UTF-8<span style=color:#268bd2></project.reporting.outputEncoding></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><java.version></span>1.8<span style=color:#268bd2></java.version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></properties></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><repositories></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><repository></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><id></span>sonatype-nexus-snapshots<span style=color:#268bd2></id></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><url></span>https://oss.sonatype.org/content/repositories/snapshots<span style=color:#268bd2></url></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><releases></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><enabled></span>false<span style=color:#268bd2></enabled></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></releases></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><snapshots></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><enabled></span>true<span style=color:#268bd2></enabled></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></snapshots></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></repository></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></repositories></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependencies></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-starter-web<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.alibaba.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>dubbo-spring-boot-starter<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.2.0<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.example<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>demo-api<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.0.1-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-starter-test<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><scope></span>test<span style=color:#268bd2></scope></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependencies></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><build></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><plugins></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><plugin></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.springframework.boot<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-boot-maven-plugin<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><configuration></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><classifier></span>exec<span style=color:#268bd2></classifier></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></configuration></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></plugin></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></plugins></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></build></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></project></span>
+</span></span></code></pre></div><ol><li><code>@Reference</code> injection <code>HelloService</code></li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> com.example.democonsumer.controller<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> com.alibaba.dubbo.config.annotation.Reference<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> com.example.demoapi.HelloService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.web.bind.annotation.RequestMapping<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.web.bind.annotation.RequestParam<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.web.bind.annotation.RestController<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@RestController</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoConsumerController</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Reference</span><span style=color:#719e07>(</span>version <span style=color:#719e07>=</span> <span style=color:#2aa198>"${demo.service.version}"</span><span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> application <span style=color:#719e07>=</span> <span style=color:#2aa198>"${dubbo.application.id}"</span><span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> url <span style=color:#719e07>=</span> <span style=color:#2aa198>"dubbo://<Real IP Address>:12345"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> HelloService helloService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@RequestMapping</span><span style=color:#719e07>(</span><span style=color:#2aa198>"/sayHello"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span><span style=color:#268bd2>@RequestParam</span> String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> helloService<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=2><li>Spring Boot bootstrap:</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> com.example.democonsumer<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.boot.SpringApplication<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.boot.autoconfigure.SpringBootApplication<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@SpringBootApplication</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoConsumerApplication</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> SpringApplication<span style=color:#719e07>.</span>run<span style=color:#719e07>(</span>DemoConsumerApplication<span style=color:#719e07>.</span>class<span style=color:#719e07>,</span> args<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=3><li><code>application.properties</code>:</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span><span style=color:#586e75># Spring boot application</span>
+</span></span><span style=display:flex><span>spring.application.name<span style=color:#719e07>=</span><span style=color:#2aa198>dubbo-consumer-demo</span>
+</span></span><span style=display:flex><span>server.port<span style=color:#719e07>=</span><span style=color:#2aa198>8080</span>
+</span></span><span style=display:flex><span>management.port<span style=color:#719e07>=</span><span style=color:#2aa198>8081</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># Service Version</span>
+</span></span><span style=display:flex><span>demo.service.version<span style=color:#719e07>=</span><span style=color:#2aa198>1.0.0</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># Dubbo Config properties</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## ApplicationConfig Bean</span>
+</span></span><span style=display:flex><span>dubbo.application.id<span style=color:#719e07>=</span><span style=color:#2aa198>dubbo-consumer-demo</span>
+</span></span><span style=display:flex><span>dubbo.application.name<span style=color:#719e07>=</span><span style=color:#2aa198>dubbo-consumer-demo</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## ProtocolConfig Bean</span>
+</span></span><span style=display:flex><span>dubbo.protocol.id<span style=color:#719e07>=</span><span style=color:#2aa198>dubbo</span>
+</span></span><span style=display:flex><span>dubbo.protocol.name<span style=color:#719e07>=</span><span style=color:#2aa198>dubbo</span>
+</span></span><span style=display:flex><span>dubbo.protocol.port<span style=color:#719e07>=</span><span style=color:#2aa198>12345</span>
+</span></span></code></pre></div><h3 id=using-pinpoint-agent-to-start-dubbo-provider-and-dubbo-consumer>Using Pinpoint-agent to start <code>Dubbo provider</code> and <code>Dubbo consumer</code></h3><ol><li>Maven clean package</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>mvn clean package
+</span></span></code></pre></div><ol start=2><li>Start provider</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>java -jar -javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar -Dpinpoint.agentId=demo-provider -Dpinpoint.applicationName=DP target/demo-provider-0.0.1-SNAPSHOT.jar
+</span></span></code></pre></div><ol start=3><li>Start consumer</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>java -jar -javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar -Dpinpoint.agentId=demo-consumer -Dpinpoint.applicationName=DC target/demo-comsumer-0.0.1-SNAPSHOT-exec.jar
+</span></span></code></pre></div><ol start=4><li>Access the consumer address to simulate user requests</li></ol><p><code>http://localhost:8080/sayHello?name=ABC</code></p><h2 id=using-pinpoint-locate-problems>Using Pinpoint locate problems</h2><h3 id=homepage>Homepage</h3><p><img src=/imgs/blog/en_pinpoint-home.png alt=/admin-guide/images/pinpoint-home.png></p><blockquote><p>The user request here is double the number of requests for DubboProvider, because the favicon.ico icon request is [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/07/27/sentinel-the-flow-sentinel-of-dubbo-services/index.html b/en/blog/2018/07/27/sentinel-the-flow-sentinel-of-dubbo-services/index.html
new file mode 100644
index 00000000000..7385fd8c57f
--- /dev/null
+++ b/en/blog/2018/07/27/sentinel-the-flow-sentinel-of-dubbo-services/index.html
@@ -0,0 +1,29 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/07/27/sentinel-the-flow-sentinel-of-dubbo-services/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-07-27T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Sentinel: The flow sentinel of Dubbo se [...]
+"><meta itemprop=datePublished content="2018-07-27T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1305"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Sentinel: The flow sentinel of Dubbo services"><meta name=twitter:description content="This article introduces the Sentinel and how to integrate it with Dubbo.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/sentinel-introduction-for-dubbo.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matt [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Sentinel:%20The%20flow%20sentinel%20of%20Dubbo%20services" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#introduction-to-sentinel>Introduction to Sentinel</a></li><li><a href=#best-practice-for-using-dubbo-with-sentinel>Best Practice for using Dubbo with Sentinel</a><ul><li><a href=#service-provider>Service Provider</a></li><li><a href=#service-consumer>Service Consumer</a></li><li><a href=#sentinel-dashb [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.alibaba.csp<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>sentinel-dubbo-adapter<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>x.y.z<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dependency></span>
+</span></span></code></pre></div><p>The two filters are enabled by default. Once you add the dependency, the Dubbo services and methods will become protected resources in Sentinel, which can leverage Sentinel’s flow control and guard ability when rules are configured. If you don’t want to enable the filter, you can manually disable it. For example:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><co [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> ConsumerConfig <span style=color:#268bd2>consumerConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ConsumerConfig consumerConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ConsumerConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> consumerConfig<span style=color:#719e07>.</span>setFilter<span style=color:#719e07>(</span><span style=color:#2aa198>"-sentinel.dubbo.consumer.filter"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> consumerConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>We’ve provided sereval demos, you can check here: <a href=https://github.com/alibaba/Sentinel/tree/master/sentinel-demo/sentinel-demo-dubbo>sentinel-demo-dubbo</a>。</p><h3 id=service-provider>Service Provider</h3><p>Dubbo service providers provide services for outside world and handle requests from consumers. To protect the service provider from suffering the proliferation of traffic flow, you can set flow rules in <strong>QPS mode</strong> to th [...]
+</span></span></code></pre></div><p>Log messages will also appear in provider’s metric log:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>1532423623000|2018-07-24 17:13:43|com.alibaba.csp.sentinel.demo.dubbo.FooService|15|0|15|0|3
+</span></span><span style=display:flex><span>1532423623000|2018-07-24 17:13:43|com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String)|10|5|10|0|0
+</span></span></code></pre></div><p>In many circumstances, it’s also significant to control traffic flow based on the <strong>caller</strong>. For example, assuming that there are two services A and B, both of them initiate remote call requests to the service provider. If we want to limit the calls from service B only, we can set the <code>limitApp</code> of flow rule as the identifier of service B (e.g. service name). The Sentinel Dubbo Adapter will automatically resolve the Dubbo [...]
+</span></span></code></pre></div><p>The <code>demo-consumer</code> in the log is the caller name (origin).</p><h3 id=service-consumer>Service Consumer</h3><p>Dubbo service consumers act as a client to invoke the remote service. Each service may depend on several downstream services. If a service A depends on the downstream service B, and service B is unstable (i.e. the response time becomes longer), the number of threads where service A invokes service B will accumulate, thus may eventua [...]
+</span></span></code></pre></div><p>After launching the service provider demo, we can find our application in the Sentinel dashboard. It’s convenient to configure the rules in the dashboard:</p><p><img src=/imgs/blog/sentinel-dashboard-view-rules.png alt="Rule List"></p><p>Or view real-time metrics:</p><p><img src=/imgs/blog/sentinel-dashboard-metrics.png alt="Real-time metrics monitoring"></p><h2 id=summary>Summary</h2><p>This blog post only introduces the simplest scenario in Sen [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/07/30/the-third-dubbo-meetup-has-been-held-in-shenzhen/index.html b/en/blog/2018/07/30/the-third-dubbo-meetup-has-been-held-in-shenzhen/index.html
new file mode 100644
index 00000000000..774f8bd9a03
--- /dev/null
+++ b/en/blog/2018/07/30/the-third-dubbo-meetup-has-been-held-in-shenzhen/index.html
@@ -0,0 +1,10 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-meetup-shenzhen.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+sect [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20third%20Dubbo%20meetup%20has%20been%20held%20in%20Shenzhen" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>The third Dubbo meetup has been held in Shenzhen</h1><div class=lead>The third Dubbo meetu [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/07/dubbo-101/index.html b/en/blog/2018/08/07/dubbo-101/index.html
new file mode 100644
index 00000000000..c0f2dda5653
--- /dev/null
+++ b/en/blog/2018/08/07/dubbo-101/index.html
@@ -0,0 +1,148 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/07/dubbo-101/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Your First Dubbo Demo"><meta itemprop=description content="Modern distribu [...]
+"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="2182"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Your First Dubbo Demo"><meta name=twitter:description content="Modern distributed frameworks is similiar to RMI in terms of concepts. They both use Java interface as a service contract, archive service registry an [...]
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-101.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+t [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Your%20First%20Dubbo%20Demo" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#java-rmi-introduction>Java RMI Introduction</a><ul><li><a href=#java-rmi-work-flow>Java RMI Work Flow</a></li><li><a href=#java-rmi-concepts>Java RMI Concepts</a></li></ul></li><li><a href=#basic-concepts-of-dubbo>Basic Concepts of Dubbo</a></li><li><a href=#dubbo-applications-based-on-api>Dubbo Applic [...]
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>Hello stub <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>Hello<span style=color:#719e07>)</span> UnicastRemoteObject<span style=color:#719e07>.</span>exportObject<span style=color:#719e07>(</span>obj<span style=color:#719e07>,</span> <span style=color:#2aa198>0</span><span style=color:#719e07>);</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>Registry registry <span style=color:#719e07>=</span> LocateRegistry<span style=color:#719e07>.</span>createRegistry<span style=color:#719e07>(</span><span style=color:#2aa198>1099</span><span style=color:#719e07>);</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>registry<span style=color:#719e07>.</span>rebind<span style=color:#719e07>(</span><span style=color:#2aa198>"Hello"</span><span style=color:#719e07>,</span> stub<span style=color:#719e07>);</span> <span style=color:#586e75>// #4
+</span></span></span></code></pre></div><p>Notes:</p><ol><li><p>Initiate service object instance.</p></li><li><p>Create stub object to communicate with the server by UnicastRemoteObject.exportObject.</p></li><li><p>Create a local RMI registry service on port 1099 which is run on server. It can also be registered as an independent process.</p></li><li><p>Bind stub object into registry so the client can find the remote object by looking up Hello.</p></li></ol><h4 id=client-service-look-up> [...]
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>Hello stub <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>Hello<span style=color:#719e07>)</span> registry<span style=color:#719e07>.</span>lookup<span style=color:#719e07>(</span><span style=color:#2aa198>"Hello"</span><span style=color:#719e07>);</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>String response <span style=color:#719e07>=</span> stub<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>();</span> <span style=color:#586e75>// #3
+</span></span></span></code></pre></div><p>Notes:</p><ol><li>Acquire registry service instances. In this case, there is no input parameters so it is assumed that the acquired instance is located on port 1099.</li><li>Look up the remote object named Hello in registry service.</li><li>Run a RMI invocation via acquired Stub object and get results.
+Understand the work flow and basic concepts of RMI is helpful to handle current framework of distributed service. It is recommended to refer to RMI official documents for further information[^1].</li></ol><h2 id=basic-concepts-of-dubbo>Basic Concepts of Dubbo</h2><p>The basic concepts of current framework of distributed service is similar to the one of RMI. They both use Java interface as service contract, register and look up by registry center and use agency to block the details of rem [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHi</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><strong>Notes</strong>:</p><ol><li>The codes define a simple service contract where there is only one function, sayHi, can be invoked. The type of input parameter and return value are both String.</li></ol><h3 id=provide-contract-implementation>Provide Contract Implementation</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style [...]
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHi</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hi, "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>;</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><strong>Notes</strong>:</p><ol><li>Service providers need to implement the interface of service contract, GreetingsService.</li><li>This function simply returns a welcome message. For example, if the input value is <em>dubbo</em>,it will return <em>hi, dubbo</em>.</li></ol><h3 id=implement-dubbo-service-provider>Implement Dubbo Service Provider</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab- [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ServiceConfig<span style=color:#719e07><</span>GreetingsService<span style=color:#719e07>></span> service <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ServiceConfig<span style=color:#719e07><>();</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> service<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span><span style=color:#719e07>new</span> ApplicationConfig<span style=color:#719e07>(</span><span style=color:#2aa198>"first-dubbo-provider"</span><span style=color:#719e07>));</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> service<span style=color:#719e07>.</span>setRegistry<span style=color:#719e07>(</span><span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>(</span><span style=color:#2aa198>"multicast://224.5.6.7:1234"</span><span style=color:#719e07>));</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> service<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span>GreetingsService<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> service<span style=color:#719e07>.</span>setRef<span style=color:#719e07>(</span><span style=color:#719e07>new</span> GreetingsServiceImpl<span style=color:#719e07>());</span> <span style=color:#586e75>// #5
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> service<span style=color:#719e07>.</span>export<span style=color:#719e07>();</span> <span style=color:#586e75>// #6
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span> <span style=color:#586e75>// #7
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><strong>Notes</strong>:</p><ol><li>Create an instance <em>ServiceConfig</em> with service interface type as generics parameters, which is <em>GreetingsService</em> in this example.</li><li>Generate an instance of <em>ApplicationConfig</em> and assemble it into <em>ServiceConfig</em>.</li><li>Generate an instance <em>RegistryConfig</em> and assemble it into <em>ServiceConfig</em>. Since the assembled way is applied here, the parameter should be <code>mu [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ReferenceConfig<span style=color:#719e07><</span>GreetingsService<span style=color:#719e07>></span> reference <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ReferenceConfig<span style=color:#719e07><>();</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> reference<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span><span style=color:#719e07>new</span> ApplicationConfig<span style=color:#719e07>(</span><span style=color:#2aa198>"first-dubbo-client"</span><span style=color:#719e07>));</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> reference<span style=color:#719e07>.</span>setRegistry<span style=color:#719e07>(</span><span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>(</span><span style=color:#2aa198>"multicast://224.5.6.7:1234"</span><span style=color:#719e07>));</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> reference<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span>GreetingsService<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> GreetingsService greetingsService <span style=color:#719e07>=</span> reference<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span> <span style=color:#586e75>// #5
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String message <span style=color:#719e07>=</span> greetingsService<span style=color:#719e07>.</span>sayHi<span style=color:#719e07>(</span><span style=color:#2aa198>"dubbo"</span><span style=color:#719e07>);</span> <span style=color:#586e75>// #6
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>message<span style=color:#719e07>);</span> <span style=color:#586e75>// #7
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><strong>Notes</strong>:</p><ol><li>Create an instance of <em>ReferenceConfig</em> with service interface type as generics parameters, which is <em>GreetingsService</em> in this example.</li><li>Create an instance of <em>ApplicationConfig</em>, and assemble it into <em>ReferenceConfig</em>.</li><li>Generate an instance <em>RegistryConfig</em>, and assemble it into <em>ReferenceConfig</em>. Note that the address information here should be the same as the [...]
+</span></span><span style=display:flex><span>$ <span style=color:#b58900>cd</span> dubbo-samples/java/dubbo-samples-api/
+</span></span><span style=display:flex><span>$ mvn clean package
+</span></span><span style=display:flex><span>INFO<span style=color:#719e07>]</span> Scanning <span style=color:#719e07>for</span> projects...
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Building dubbo-samples-api 1.0-SNAPSHOT
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> --- maven-clean-plugin:2.5:clean <span style=color:#719e07>(</span>default-clean<span style=color:#719e07>)</span> @ dubbo-samples-api ---
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> BUILD SUCCESS
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Total time: 2.182 s
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Finished at: 2018-05-28T14:56:08+08:00
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Final Memory: 20M/353M
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span></code></pre></div><p>The build is finished when it shows <code>BUILD SUCCESS</code>. Then comes the running stage.</p><h4 id=run-the-server>Run the server</h4><p>Run the service provider by the following maven command lines:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span>$ mvn -Djava.net.preferIPv4Stack<span style=color:#719 [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Scanning <span style=color:#719e07>for</span> projects...
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Building dubbo-samples-api 1.0-SNAPSHOT
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> --- exec-maven-plugin:1.6.0:java <span style=color:#719e07>(</span>default-cli<span style=color:#719e07>)</span> @ dubbo-samples-api ---
+</span></span><span style=display:flex><span>log4j:WARN No appenders could be found <span style=color:#719e07>for</span> logger <span style=color:#719e07>(</span>org.apache.dubbo.common.logger.LoggerFactory<span style=color:#719e07>)</span>.
+</span></span><span style=display:flex><span>log4j:WARN Please initialize the log4j system properly.
+</span></span><span style=display:flex><span>log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig <span style=color:#719e07>for</span> more info.
+</span></span><span style=display:flex><span>first-dubbo-provider is running.
+</span></span></code></pre></div><p>When <em>first-dubbo-provider is running</em> appears, the service provider is ready to be called by the client.</p><h4 id=run-the-client>Run the client</h4><p>Run the service consumer by the following maven command lines:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span>$ mvn -Djava.net.preferIPv4Stack<sp [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Scanning <span style=color:#719e07>for</span> projects...
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> Building dubbo-samples-api 1.0-SNAPSHOT
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> ------------------------------------------------------------------------
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>INFO<span style=color:#719e07>]</span> --- exec-maven-plugin:1.6.0:java <span style=color:#719e07>(</span>default-cli<span style=color:#719e07>)</span> @ dubbo-samples-api ---
+</span></span><span style=display:flex><span>log4j:WARN No appenders could be found <span style=color:#719e07>for</span> logger <span style=color:#719e07>(</span>org.apache.dubbo.common.logger.LoggerFactory<span style=color:#719e07>)</span>.
+</span></span><span style=display:flex><span>log4j:WARN Please initialize the log4j system properly.
+</span></span><span style=display:flex><span>log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig <span style=color:#719e07>for</span> more info.
+</span></span><span style=display:flex><span>hi, dubbo
+</span></span></code></pre></div><p><code>hi, dubbo</code> is the execution results from service provider.</p><h2 id=quick-creation-of-a-dubbo-application>Quick Creation of A Dubbo Application</h2><p>Dubbo also provides a public platform that can create a Dubbo application quickly based on Spring Boot. Visit <a href=http://start.dubbo.io>http://start.dubbo.io</a> and follow the figure below to create an example project:</p><p><img src=/imgs/blog/dubbo-initializr.png alt="dubbo initializr [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoApplication</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> EmbeddedZooKeeper<span style=color:#719e07>(</span><span style=color:#2aa198>2181</span><span style=color:#719e07>,</span> <span style=color:#cb4b16>false</span><span style=color:#719e07>).</span>start<span style=color:#719e07>();</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> SpringApplication<span style=color:#719e07>.</span>run<span style=color:#719e07>(</span>DemoApplication<span style=color:#719e07>.</span>class<span style=color:#719e07>,</span> args<span style=color:#719e07>);</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><strong>Notes</strong>:</p><ol><li>Launch embedded <em>ZooKeeper</em> on port <em>2181</em>.</li><li>Launch the context of <em>Spring Boot</em>.</li></ol><p>Run it directly in IDE and here are the results:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span>2018-05-28 16:59:38.072 INFO <span style=color:#2aa [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> ████████▄ ███ █▄ ▀█████████▄ ▀█████████▄ ▄██████▄
+</span></span><span style=display:flex><span> ███ ▀███ ███ ███ ███ ███ ███ ███ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ▄███▄▄▄██▀ ▄███▄▄▄██▀ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ▀▀███▀▀▀██▄ ▀▀███▀▀▀██▄ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ███ ██▄ ███ ██▄ ███ ███
+</span></span><span style=display:flex><span> ███ ▄███ ███ ███ ███ ███ ███ ███ ███ ███
+</span></span><span style=display:flex><span> ████████▀ ████████▀ ▄█████████▀ ▄█████████▀ ▀██████▀
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> :: Dubbo Spring Boot <span style=color:#719e07>(</span>v0.1.0<span style=color:#719e07>)</span> : https://github.com/dubbo/dubbo-spring-boot-project
+</span></span><span style=display:flex><span> :: Dubbo <span style=color:#719e07>(</span>v2.0.1<span style=color:#719e07>)</span> : https://github.com/alibaba/dubbo
+</span></span><span style=display:flex><span> :: Google group : http://groups.google.com/group/dubbo
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>2018-05-28 16:59:38.079 INFO <span style=color:#2aa198>59943</span> --- <span style=color:#719e07>[</span> main<span style=color:#719e07>]</span> e.OverrideDubboConfigApplicationListener : Dubbo Config was overridden by externalized configuration <span style=color:#719e07>{</span>dubbo.application.name<span style=color:#719e07>=</span>dubbo-demo-server, dubbo.application.qosAcceptForeignIp<span style=color:#719e07>=</span>false, dub [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>2018-05-28 16:59:39.624 INFO <span style=color:#2aa198>59943</span> --- <span style=color:#719e07>[</span> main<span style=color:#719e07>]</span> com.example.demo.DemoApplication : Started DemoApplication in 1.746 seconds <span style=color:#719e07>(</span>JVM running <span style=color:#719e07>for</span> 2.963<span style=color:#719e07>)</span>
+</span></span></code></pre></div><p><strong>Notes</strong>:</p><ol><li>In the printouts, the configuration starting with <code>dubbo.</code> Is defined in <em>main/resources/application.properties</em>.</li></ol><h3 id=manage-service-by-telnet>Manage service by Telnet</h3><p>If <em>qos</em> is activated during generation, the service can be watched and managed by <em>telnet</em> or <em>nc</em>.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab- [...]
+</span></span><span style=display:flex><span>Trying 127.0.0.1...
+</span></span><span style=display:flex><span>Connected to localhost.
+</span></span><span style=display:flex><span>Escape character is <span style=color:#2aa198>'^]'</span>.
+</span></span><span style=display:flex><span> ████████▄ ███ █▄ ▀█████████▄ ▀█████████▄ ▄██████▄
+</span></span><span style=display:flex><span> ███ ▀███ ███ ███ ███ ███ ███ ███ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ▄███▄▄▄██▀ ▄███▄▄▄██▀ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ▀▀███▀▀▀██▄ ▀▀███▀▀▀██▄ ███ ███
+</span></span><span style=display:flex><span> ███ ███ ███ ███ ███ ██▄ ███ ██▄ ███ ███
+</span></span><span style=display:flex><span> ███ ▄███ ███ ███ ███ ███ ███ ███ ███ ███
+</span></span><span style=display:flex><span> ████████▀ ████████▀ ▄█████████▀ ▄█████████▀ ▀██████▀
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>dubbo>
+</span></span><span style=display:flex><span>dubbo>ls
+</span></span><span style=display:flex><span>As Provider side:
+</span></span><span style=display:flex><span>+------------------------------+---+
+</span></span><span style=display:flex><span>| Provider Service Name |PUB|
+</span></span><span style=display:flex><span>+------------------------------+---+
+</span></span><span style=display:flex><span>|com.example.HelloService:1.0.0| Y |
+</span></span><span style=display:flex><span>+------------------------------+---+
+</span></span><span style=display:flex><span>As Consumer side:
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span><span style=display:flex><span>|Consumer Service Name|NUM|
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span></code></pre></div><p>Currently, <em>qos</em> supports following command lines. For more information please refer to the official document. [^4]:</p><ul><li><em>ls</em>:List the information of client and server.</li><li><em>online</em>:Bring the service online.</li><li><em>offline</em>:Bring the service offline.</li><li><em>help</em>:View online help.</li></ul><h2 id=summary>Summary</h2><p>In this tutorial, we start with RMI and introduce the basic concepts in Java distribu [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/07/use-annotations-in-dubbo/index.html b/en/blog/2018/08/07/use-annotations-in-dubbo/index.html
new file mode 100644
index 00000000000..bbe57040b28
--- /dev/null
+++ b/en/blog/2018/08/07/use-annotations-in-dubbo/index.html
@@ -0,0 +1,206 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/07/use-annotations-in-dubbo/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Use Annotations In Dubbo"><meta itemprop=description conten [...]
+"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1733"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Use Annotations In Dubbo"><meta name=twitter:description content="This article will introduce you how to use annotations instead of XML to develop Dubbo applications, such as `@EnableDubbo`, `@Service` and `@Reference`.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-annotation.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+a [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Use%20Annotations%20In%20Dubbo" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#introduce-annotations>Introduce Annotations</a><ul><li><a href=#enabledubbo>@EnableDubbo</a></li><li><a href=#service>@Service</a></li><li><a href=#reference>@Reference</a></li></ul></li><li><a href=#example-practice>Example practice</a><ul><li><a href=#1interface-definition>1.Interface Definition</a>< [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubboConfig</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@DubboComponentScan</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>@interface</span> EnableDubbo <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * Base packages to scan for annotated @Service classes.
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * <p>
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * Use {@link #scanBasePackageClasses()} for a type-safe alternative to String-based
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * package names.
+</span></span></span><span style=display:flex><span><span style=color:#586e75> *
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @return the base packages to scan
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @see DubboComponentScan#basePackages()
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@AliasFor</span><span style=color:#719e07>(</span>annotation <span style=color:#719e07>=</span> DubboComponentScan<span style=color:#719e07>.</span>class<span style=color:#719e07>,</span> attribute <span style=color:#719e07>=</span> <span style=color:#2aa198>"basePackages"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> String<span style=color:#719e07>[]</span> <span style=color:#268bd2>scanBasePackages</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#719e07>{};</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * Type-safe alternative to {@link #scanBasePackages()} for specifying the packages to
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * scan for annotated @Service classes. The package of each class specified will be
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * scanned.
+</span></span></span><span style=display:flex><span><span style=color:#586e75> *
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @return classes from the base packages to scan
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @see DubboComponentScan#basePackageClasses
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@AliasFor</span><span style=color:#719e07>(</span>annotation <span style=color:#719e07>=</span> DubboComponentScan<span style=color:#719e07>.</span>class<span style=color:#719e07>,</span> attribute <span style=color:#719e07>=</span> <span style=color:#2aa198>"basePackageClasses"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> Class<span style=color:#719e07><?>[]</span> scanBasePackageClasses<span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#719e07>{};</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The <code>@bableDubbo</code> can be used to scan Dubbo’s service provider (marked by <code>@Service</code>) and Dubbo’s service consumer (marked by <code>Reference</code>) under the specified package name (via <code>scanBasePackages</code>) or in the specified class (via <code>scanBasePackageClasses</code>). After Dubbo’s service providers and consumers have been scanned, they have been assembled corresponding and been initialized, an [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AnnotatedGreetingService</span> <span style=color:#268bd2>implements</span> GreetingService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hello, "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Via <code>@Service</code>’s properties, you can customize Dubbo’s Service provider:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.config.annotation<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Documented</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Retention</span><span style=color:#719e07>(</span>RetentionPolicy<span style=color:#719e07>.</span>RUNTIME<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Target</span><span style=color:#719e07>({</span>ElementType<span style=color:#719e07>.</span>TYPE<span style=color:#719e07>})</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#268bd2>@Inherited</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>@interface</span> Service <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Class<span style=color:#719e07><?></span> interfaceClass<span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#dc322f>void</span><span style=color:#719e07>.</span>class<span style=color:#719e07>;</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>interfaceName</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>version</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>group</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #5
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#dc322f>boolean</span> <span style=color:#268bd2>export</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#cb4b16>true</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #6
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#dc322f>boolean</span> <span style=color:#268bd2>register</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#cb4b16>true</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #7
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>application</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #8
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>module</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #9
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>provider</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #10
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String<span style=color:#719e07>[]</span> <span style=color:#268bd2>protocol</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#719e07>{};</span> <span style=color:#586e75>// #11
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>monitor</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #12
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String<span style=color:#719e07>[]</span> <span style=color:#268bd2>registry</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#719e07>{};</span> <span style=color:#586e75>// #13
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Which is more important:</p><ol><li><strong>@Service</strong>: Can only be defined on a class, represent a service</li><li><strong>interfaceClass</strong>: specified <code>interface</code>’s class implemented by the service provider</li><li><strong>interfaceName</strong>: specified <code>interface</code>’s class name implemented by the service provider</li><li><strong>version</strong>: specified the version number of the service</li><li><st [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>GreetingServiceConsumer</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Reference</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> GreetingService greetingService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>doSayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> greetingService<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Via <code>@Reference</code>’s properties, you can customize Dubbo’s Service consumer:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Java data-lang=Java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.config.annotation<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Documented</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Retention</span><span style=color:#719e07>(</span>RetentionPolicy<span style=color:#719e07>.</span>RUNTIME<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Target</span><span style=color:#719e07>({</span>ElementType<span style=color:#719e07>.</span>FIELD<span style=color:#719e07>,</span> ElementType<span style=color:#719e07>.</span>METHOD<span style=color:#719e07>,</span> ElementType<span style=color:#719e07>.</span>ANNOTATION_TYPE<span style=color:#719e07>})</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#268bd2>public</span> <span style=color:#268bd2>@interface</span> Reference <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Class<span style=color:#719e07><?></span> interfaceClass<span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#dc322f>void</span><span style=color:#719e07>.</span>class<span style=color:#719e07>;</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>interfaceName</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>version</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>group</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #5
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>url</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #6
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>application</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #7
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>module</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #8
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>consumer</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #9
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>protocol</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #10
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String <span style=color:#268bd2>monitor</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#2aa198>""</span><span style=color:#719e07>;</span> <span style=color:#586e75>// #11
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String<span style=color:#719e07>[]</span> <span style=color:#268bd2>registry</span><span style=color:#719e07>()</span> <span style=color:#719e07>default</span> <span style=color:#719e07>{};</span> <span style=color:#586e75>// #12
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Which is more important:</p><ol><li><strong>@Reference</strong>:you can define it on a field in a class, you can define it on a method, you can even modify another annotation, it represent a reference to a service.Normally <code>@Reference</code> is defined in one field</li><li><strong>interfaceClass</strong> : specified <code>interface</code>’s class implemented by the service provider</li><li><strong>interfaceName</strong>: specified <code>inte [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=2serverservice-implementation>2.Server:Service Implementation</h3><p>Implement the <code>GreetingService</code> interface, and mark it as a service for Dubbo via @Service.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Java data-lang=Java><span style=display:flex><span><span style=color:#268bd2>@Service</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AnnotatedGreetingService</span> <span style=color:#268bd2>implements</span> GreetingService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hello, "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=3serverassembly-service-provider>3.Server:Assembly Service Provider</h3><p>You can discover, assemble, and provide Dubbo’s services through the Java config technology (@Configuration) and annotation scan (@EnableDubbo) in Spring.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Java data-lang=Java><span style=display:flex><span><span style=color: [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubbo</span><span style=color:#719e07>(</span>scanBasePackages <span style=color:#719e07>=</span> <span style=color:#2aa198>"com.alibaba.dubbo.samples.impl"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>static</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>ProviderConfiguration</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> ProviderConfig <span style=color:#268bd2>providerConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ProviderConfig providerConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ProviderConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> providerConfig<span style=color:#719e07>.</span>setTimeout<span style=color:#719e07>(</span><span style=color:#2aa198>1000</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> providerConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> ApplicationConfig <span style=color:#268bd2>applicationConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ApplicationConfig applicationConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ApplicationConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> applicationConfig<span style=color:#719e07>.</span>setName<span style=color:#719e07>(</span><span style=color:#2aa198>"dubbo-annotation-provider"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> applicationConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> RegistryConfig <span style=color:#268bd2>registryConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> RegistryConfig registryConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> registryConfig<span style=color:#719e07>.</span>setProtocol<span style=color:#719e07>(</span><span style=color:#2aa198>"zookeeper"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> registryConfig<span style=color:#719e07>.</span>setAddress<span style=color:#719e07>(</span><span style=color:#2aa198>"localhost"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> registryConfig<span style=color:#719e07>.</span>setPort<span style=color:#719e07>(</span><span style=color:#2aa198>2181</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> registryConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> ProtocolConfig <span style=color:#268bd2>protocolConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ProtocolConfig protocolConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ProtocolConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> protocolConfig<span style=color:#719e07>.</span>setName<span style=color:#719e07>(</span><span style=color:#2aa198>"dubbo"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> protocolConfig<span style=color:#719e07>.</span>setPort<span style=color:#719e07>(</span><span style=color:#2aa198>20880</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> protocolConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Description:</p><ul><li>Scan all classes marked with <code>@Service</code> under <code>com.alibaba.dubbo.samples.impl</code> with <code>@EnableDubbo</code></li><li>Via @Configuration, all @Beans in the ProviderConfiguration are assembled using the way of <code>Java Config</code> and then injected into the Dubbo service, which means the class marked with <code>@Service</code>.Which included:
+i. <strong>ProviderConfig</strong>:Service provider configuration
+ii. <strong>ApplicationConfig</strong>:Application configuration
+iii.<strong>RegistryConfig</strong>:registry configuration
+iv. <strong>ProtocolConfig</strong>:Protocol configuration</li></ul><h3 id=4serverstart-service>4.Server:Start Service</h3><p>In the <code>main</code> method to provide external <code>Dubbo</code> service by starting a <code>Spring Context</code>.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Java data-lang=Java><span style=display:flex><span><span style=color:#268bd2>public</span> <span [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> Exception <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> EmbeddedZooKeeper<span style=color:#719e07>(</span><span style=color:#2aa198>2181</span><span style=color:#719e07>,</span> <span style=color:#cb4b16>false</span><span style=color:#719e07>).</span>start<span style=color:#719e07>();</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> AnnotationConfigApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> AnnotationConfigApplicationContext<span style=color:#719e07>(</span>ProviderConfiguration<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Description:</p><ol><li>Start an embedded <code>zookeeper</code> and provide service registry on port <code>2181</code></li><li>Initialize an example of an AnnotationConfigApplicationContext and pass the <code>ProviderConfiguration</code> into the example to complete the automatic discovery and assembly of the <code>Dubbo</code> service.</li><li>Start the <code>Spring Context</code> and start providing external <code>Dubbo</code> services.</li><li>Beca [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>01/08/18 02:12:51:051 CST<span style=color:#719e07>]</span> main INFO zookeeper.ZookeeperRegistry: <span style=color:#719e07>[</span>DUBBO<span style=color:#719e07>]</span> Register: dubbo://192.168.99.1:20880/com.alibaba.dubbo.samples.api.GreetingService?anyhost<span style=color:#719e07>=</span>true&<span style=color:#268bd2>application</span><span style=color:#719e07>=</span>dubbo-annotation-provider&a [...]
+</span></span></code></pre></div><h3 id=5serverreference-service>5.Server:Reference Service</h3><p>Marking the member variable of the <code>GreetingService</code> via <code>@Reference</code> .The <code>greetingService</code> is a reference to the <code>Dubbo</code> service, which means that it can simply provide through the interface to the remote party to initiate service calls, and the client does not implement <code>GreetingService</code> interface.</p><div class=highlight><pre tabind [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>GreetingServiceConsumer</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Reference</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> GreetingService greetingService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>doSayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> greetingService<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=6serverassembly-service-consumer>6.Server:Assembly Service consumer</h3><p>Just like <strong>3. Server:Assembly Service Provider</strong> You can discover, assemble, and provide Dubbo’s service consumer through the Java config technology (@Configuration) and annotation scan (@EnableDubbo) in Spring.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=languag [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubbo</span><span style=color:#719e07>(</span>scanBasePackages <span style=color:#719e07>=</span> <span style=color:#2aa198>"com.alibaba.dubbo.samples.action"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@ComponentScan</span><span style=color:#719e07>(</span>value <span style=color:#719e07>=</span> <span style=color:#719e07>{</span><span style=color:#2aa198>"com.alibaba.dubbo.samples.action"</span><span style=color:#719e07>})</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>static</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>ConsumerConfiguration</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> ApplicationConfig <span style=color:#268bd2>applicationConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ApplicationConfig applicationConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ApplicationConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> applicationConfig<span style=color:#719e07>.</span>setName<span style=color:#719e07>(</span><span style=color:#2aa198>"dubbo-annotation-consumer"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> applicationConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> ConsumerConfig <span style=color:#268bd2>consumerConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ConsumerConfig consumerConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ConsumerConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> consumerConfig<span style=color:#719e07>.</span>setTimeout<span style=color:#719e07>(</span><span style=color:#2aa198>3000</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> consumerConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Bean</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> RegistryConfig <span style=color:#268bd2>registryConfig</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> RegistryConfig registryConfig <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> registryConfig<span style=color:#719e07>.</span>setProtocol<span style=color:#719e07>(</span><span style=color:#2aa198>"zookeeper"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> registryConfig<span style=color:#719e07>.</span>setAddress<span style=color:#719e07>(</span><span style=color:#2aa198>"localhost"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> registryConfig<span style=color:#719e07>.</span>setPort<span style=color:#719e07>(</span><span style=color:#2aa198>2181</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> registryConfig<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Description:</p><ul><li>Scan all classes marked with <code>@Service</code> under <code>com.alibaba.dubbo.samples.impl</code> with <code>@Reference</code></li><li>Via @Configuration, all @Beans in the ProviderConfiguration are assembled using the way of <code>Java Config</code> and then injected into the Dubbo service, which means the class marked with <code>@Reference</code>.Which included:
+i. <code>ApplicationConfig</code>: Application configuration
+ii. <code>ConsumerConfig</code>:Service consumer configuration
+iii.<code>RegistryConfig</code>:Registry configuration.Note:The configuration here needs to be consistent with the configuration information of the EmbeddedZooKeeper when started by the service provider.</li></ul><h3 id=7server-initiate-remote-calls>7.Server: Initiate Remote Calls</h3><p>In the <code>main</code> method, you can start a <code>Spring Context</code> to find the service consumer of the assembled <code>Dubbo</code> from it, and initiate a remote call.</p><div class=highlight> [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> AnnotationConfigApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> AnnotationConfigApplicationContext<span style=color:#719e07>(</span>ConsumerConfiguration<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span> <span style=color:#586e75>// #1
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span> <span style=color:#586e75>// #2
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> GreetingServiceConsumer greetingServiceConsumer <span style=color:#719e07>=</span> context<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span>GreetingServiceConsumer<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span> <span style=color:#586e75>// #3
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> String hello <span style=color:#719e07>=</span> greetingServiceConsumer<span style=color:#719e07>.</span>doSayHello<span style=color:#719e07>(</span><span style=color:#2aa198>"annotation"</span><span style=color:#719e07>);</span> <span style=color:#586e75>// #4
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"result: "</span> <span style=color:#719e07>+</span> hello<span style=color:#719e07>);</span> <span style=color:#586e75>// #5
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Description:</p><ul><li>Initialize an example of an AnnotationConfigApplicationContext and pass the <code>ProviderConfiguration</code> into the example to complete the automatic discovery and assembly of the <code>Dubbo</code> service consumer.</li><li>start <code>Spring Context</code>.</li><li>Find <code>bean</code> which type is <code>GreetingServiceConsumer</code> from <code>Context</code>.</li><li>Call the <code>doSayHello</code> method and finally [...]
+Start the Server’s <code>main</code> method, you will see the following output, which returns the <code>result</code>: hello, annotation:</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span><span style=color:#719e07>[</span>01/08/18 02:38:40:040 CST<span style=color:#719e07>]</span> main INFO config.AbstractConfig: <span style=color:# [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>01/08/18 02:38:40:040 CST<span style=color:#719e07>]</span> main INFO annotation.ReferenceBeanBuilder: <dubbo:reference <span style=color:#268bd2>object</span><span style=color:#719e07>=</span><span style=color:#2aa198>"com.alibaba.dubbo.common.bytecode.proxy0@673be18f"</span> <span style=color:#268bd2>singleton</span><span style=color:#719e07>=</span><span style=color:#2aa198>"true"</span> [...]
+</span></span><span style=display:flex><span>result: hello, annotation
+</span></span></code></pre></div><h2 id=conclusion>Conclusion</h2><p>By studying this article, the reader can master the basic concepts of <code>Dubbo</code>’s exclusive <code>annotations</code> , <code>@EnableDubbo</code>, <code>@Service</code>, <code>@Reference</code>, and master it’s basic usage through a simple <code>Dubbo</code> application.</p><p>In addition to traditional <code>XML</code> configuration, <code>Spring</code> offers more modern configurations such as anno [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html b/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html
new file mode 100644
index 00000000000..e7b78df9233
--- /dev/null
+++ b/en/blog/2018/08/07/using-zookeeper-in-dubbo/index.html
@@ -0,0 +1,150 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/07/using-zookeeper-in-dubbo/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-07T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Using Zookeeper in Dubbo"><meta itemprop=description conten [...]
+"><meta itemprop=datePublished content="2018-08-07T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1581"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Using Zookeeper in Dubbo"><meta name=twitter:description content="This article introduces basic concepts of Zookeeper, and how to use Zookeeper as a registry center.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-zk.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+to [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Using%20Zookeeper%20in%20Dubbo" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#introduction-of-zookeeper>Introduction of Zookeeper</a><ul><li><a href=#the-basic-concept>The basic concept</a></li><li><a href=#basic-implementation>Basic Implementation</a></li></ul></li><li><a href=#using-zookeeper-in-dubbo>Using Zookeeper in Dubbo</a><ul><li><a href=#prepare-the-sample-code>Prepare [...]
+<em>Image Credit : ebook -Zookeeper-Distributed Process Coordination from O’Reilly</em></p><p>The method to store the data in Zookeeper is similar as the standard UNIX file system, as a data model styled after the familiar directory tree structure of file systems. When we talking about ZooKeeper data nodes, we call it Znodes to clarify it.</p><p><img src=/imgs/blog/zk-tree.png alt=zk-tree>
+<em>Image Credit : ebook -Zookeeper-Distributed Process Coordination from O’Reilly</em></p><h3 id=basic-implementation>Basic Implementation</h3><p>You could donwload and install Zookeeper directly<sup id=fnref:1><a href=#fn:1 class=footnote-ref role=doc-noteref>1</a></sup>.
+Or you could use Homebrew <sup id=fnref:2><a href=#fn:2 class=footnote-ref role=doc-noteref>2</a></sup> <code>brew install zookeeper</code> to install Zookeeper in Mac OS.
+Considering the versatility, we run the Zookeeper by using docker in this blog. If you have not installed the docker yet, please prepare the docker environment first. <sup id=fnref:3><a href=#fn:3 class=footnote-ref role=doc-noteref>3</a></sup></p><h4 id=1-running-the-zookeeper>1. Running the Zookeeper</h4><p>Execute the command to run zookeeper in a docker container</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-siz [...]
+</span></span></code></pre></div><h4 id=2-entering-the-zookeeper-container>2. Entering the zookeeper container</h4><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker <span style=color:#b58900>exec</span> -it zookeeper bash
+</span></span></code></pre></div><p>In the <code>bin</code> directory, there is a command to start zookeeper <code>zkServer</code> and the Management Console <code>zkCli</code></p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>bash-4.4# ls -l bin
+</span></span><span style=display:flex><span>total <span style=color:#2aa198>36</span>
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>232</span> Mar <span style=color:#2aa198>27</span> 04:32 README.txt
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>1937</span> Mar <span style=color:#2aa198>27</span> 04:32 zkCleanup.sh
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>1056</span> Mar <span style=color:#2aa198>27</span> 04:32 zkCli.cmd
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>1534</span> Mar <span style=color:#2aa198>27</span> 04:32 zkCli.sh
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>1759</span> Mar <span style=color:#2aa198>27</span> 04:32 zkEnv.cmd
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>2696</span> Mar <span style=color:#2aa198>27</span> 04:32 zkEnv.sh
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>1089</span> Mar <span style=color:#2aa198>27</span> 04:32 zkServer.cmd
+</span></span><span style=display:flex><span>-rwxr-xr-x <span style=color:#2aa198>1</span> zookeepe zookeepe <span style=color:#2aa198>6773</span> Mar <span style=color:#2aa198>27</span> 04:32 zkServer.sh
+</span></span></code></pre></div><h4 id=3-entering-the-zookeeper-management-interface-via-zkcli>3. Entering the zookeeper management interface via zkCli</h4><p>Since it was started through docker, the process of Zookeeper has been started and will provide the services to the public via port 2181.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex> [...]
+</span></span><span style=display:flex><span>PID USER TIME COMMAND
+</span></span><span style=display:flex><span> <span style=color:#2aa198>1</span> zookeepe 0:02 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Dzookeeper.log.dir<span style=color:#719e07>=</span>. -Dzookeeper.root
+</span></span><span style=display:flex><span> <span style=color:#2aa198>32</span> root 0:00 bash
+</span></span><span style=display:flex><span> <span style=color:#2aa198>42</span> root 0:00 ps
+</span></span></code></pre></div><p>So, it allows you to access Zookeeper’s console directly through <code>zkCli</code> for management.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>bash-4.4# bin/zkCli.sh -server 127.0.0.1:2181
+</span></span><span style=display:flex><span>Connecting to 127.0.0.1:2181
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span>WATCHER::
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>WatchedEvent state:SyncConnected type:None path:null
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>zk: 127.0.0.1:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 0<span style=color:#719e07>]</span> <span style=color:#b58900>help</span>
+</span></span><span style=display:flex><span>ZooKeeper -server host:port cmd args
+</span></span><span style=display:flex><span> stat path <span style=color:#719e07>[</span>watch<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> <span style=color:#b58900>set</span> path data <span style=color:#719e07>[</span>version<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> ls path <span style=color:#719e07>[</span>watch<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> delquota <span style=color:#719e07>[</span>-n|-b<span style=color:#719e07>]</span> path
+</span></span><span style=display:flex><span> ls2 path <span style=color:#719e07>[</span>watch<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> setAcl path acl
+</span></span><span style=display:flex><span> setquota -n|-b val path
+</span></span><span style=display:flex><span> <span style=color:#b58900>history</span>
+</span></span><span style=display:flex><span> redo cmdno
+</span></span><span style=display:flex><span> printwatches on|off
+</span></span><span style=display:flex><span> delete path <span style=color:#719e07>[</span>version<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> sync path
+</span></span><span style=display:flex><span> listquota path
+</span></span><span style=display:flex><span> rmr path
+</span></span><span style=display:flex><span> get path <span style=color:#719e07>[</span>watch<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> create <span style=color:#719e07>[</span>-s<span style=color:#719e07>]</span> <span style=color:#719e07>[</span>-e<span style=color:#719e07>]</span> path data acl
+</span></span><span style=display:flex><span> addauth scheme auth
+</span></span><span style=display:flex><span> quit
+</span></span><span style=display:flex><span> getAcl path
+</span></span><span style=display:flex><span> close
+</span></span><span style=display:flex><span> connect host:port
+</span></span></code></pre></div><h4 id=4-basic-examples-on-zkcli>4. Basic Examples on zkCli</h4><p>Create <code>/hello-zone</code> node:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#719e07>[</span>zk: 127.0.0.1:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 19<span style=color:#719 [...]
+</span></span><span style=display:flex><span>Created /hello-zone
+</span></span></code></pre></div><p>List the child nodes under <code>/</code> and confirm that <code>hello-zone</code> is created:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#719e07>[</span>zk: 127.0.0.1:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 20<span style=color:#719e07>]</ [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>zookeeper, hello-zone<span style=color:#719e07>]</span>
+</span></span></code></pre></div><p>List the child nodes for <code>/hello-zone</code> and verify that it is empty:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#719e07>[</span>zk: 127.0.0.1:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 21<span style=color:#719e07>]</span> ls /hello-zone
+</span></span><span style=display:flex><span><span style=color:#719e07>[]</span>
+</span></span></code></pre></div><p>Get the data stored on the <code>/hello-zone</code> node:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#719e07>[</span>zk: 127.0.0.1:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 22<span style=color:#719e07>]</span> get /hello-zone
+</span></span><span style=display:flex><span>world
+</span></span></code></pre></div><h2 id=using-zookeeper-in-dubbo>Using Zookeeper in Dubbo</h2><p>Zookeeper is used for service registration discovery and configuration management in Dubbo, and the structure of data in Zookeeper is shown in the following figure:</p><p><img src=/imgs/blog/dubbo-in-zk.jpg alt=dubbo-in-zk></p><p>First, all data related to Dubbo is organized under the root node of <code>/dubbo</code>.</p><p>The secondary directory is the service name like <code>com.foo.BarSer [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h4 id=2-server-implementation>2. Server: Implementation</h4><p>Implement the <code>GreetingService</code> interface and mark it as a service for Dubbo via <code>@Service</code>.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@Service</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AnnotatedGreetingService</span> <span style=color:#268bd2>implements</span> GreetingService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hello, "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h4 id=3-server-assembly>3. Server: Assembly</h4><p>Define ProviderConfiguration to assemble Dubbo services.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@Configuration</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubbo</span><span style=color:#719e07>(</span>scanBasePackages <span style=color:#719e07>=</span> <span style=color:#2aa198>"com.alibaba.dubbo.samples.impl"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@PropertySource</span><span style=color:#719e07>(</span><span style=color:#2aa198>"classpath:/spring/dubbo-provider.properties"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>static</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>ProviderConfiguration</span> <span style=color:#719e07>{}</span>
+</span></span></code></pre></div><p>Dubbo-provider.properties is an external configuration in a spring application, as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span>dubbo.application.name<span style=color:#719e07>=</span><span style=color:#2aa198>demo-provider</span>
+</span></span><span style=display:flex><span>dubbo.registry.address<span style=color:#719e07>=</span><span style=color:#2aa198>zookeeper://$DOCKER_HOST:2181</span>
+</span></span><span style=display:flex><span>dubbo.protocol.name<span style=color:#719e07>=</span><span style=color:#2aa198>dubbo</span>
+</span></span><span style=display:flex><span>dubbo.protocol.port<span style=color:#719e07>=</span><span style=color:#2aa198>20880</span>
+</span></span></code></pre></div><p>Since zookeeper runs in a docker container, please be noted that:</p><ul><li>We assumes that Dubbo applications is running on the host machine (outside the docker container) in this document, and needs to replace the PATH of Zookeeper with the IP address of the Environment Variable <em>${DOCKER_HOST}</em>. Please find more detail in the official Docker documentation.</li><li>When the Dubbo application is a docker application, the container’s name [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> Exception <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> AnnotationConfigApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> AnnotationConfigApplicationContext<span style=color:#719e07>(</span>ProviderConfiguration<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Start the <code>main</code> method of server, you will get the following output, which represents the success of the server’s startup, and the <code>GreetingService</code> service is registered on the ZookeeperRegistry:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span><span style=color:#719e07>[</span>03 [...]
+</span></span></code></pre></div><p>You could find the registration information of the service provider through the Zookeeper management terminal:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>$ docker <span style=color:#b58900>exec</span> -it zookeeper bash
+</span></span><span style=display:flex><span>bash-4.4# bin/zkCli.sh -server localhost:218
+</span></span><span style=display:flex><span>Connecting to localhost:2181
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span>Welcome to ZooKeeper!
+</span></span><span style=display:flex><span>JLine support is enabled
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>zk: localhost:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 0<span style=color:#719e07>]</span> ls /dubbo/com.alibaba.dubbo.samples.api.GreetingService/providers
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>dubbo%3A%2F%2F192.168.99.1%3A20880%2Fcom.alibaba.dubbo.samples.api.GreetingService%3Fanyhost%3Dtrue%26application%3Ddemo-provider%26dubbo%3D2.6.2%26generic%3Dfalse%26interface%3Dcom.alibaba.dubbo.samples.api.GreetingService%26methods%3DsayHello%26pid%3D12938%26side%3Dprovider%26timestamp%3D1533264631849<span style=color:#719e07>]</span>
+</span></span></code></pre></div><p>You could find that the Dubbo services just registered its URL address at the <code>providers</code> node as follows:
+<em>dubbo://192.168.99.1:20880/com.alibaba.dubbo.samples.api.GreetingService?anyhost=true&application=demo-provider&dubbo=2.6.2&generic=false&interface=com.alibaba.dubbo.samples.api.GreetingService&methods=sayHello&pid=12938&side=provider×tamp=1533264631849</em></p><h4 id=5-client-reference-service>5. Client: Reference Service</h4><p>You could declare the reference service by @Reference, while it will generate a full call. The target address of the service could be queried by the Zo [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>GreetingServiceConsumer</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Reference</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> GreetingService greetingService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>doSayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> greetingService<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h4 id=6-client-assembling>6. Client: Assembling</h4><p>Define the ConsumerConfiguration to assemble Dubbo service.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@Configuration</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubbo</span><span style=color:#719e07>(</span>scanBasePackages <span style=color:#719e07>=</span> <span style=color:#2aa198>"com.alibaba.dubbo.samples.action"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@PropertySource</span><span style=color:#719e07>(</span><span style=color:#2aa198>"classpath:/spring/dubbo-consumer.properties"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@ComponentScan</span><span style=color:#719e07>(</span>value <span style=color:#719e07>=</span> <span style=color:#719e07>{</span><span style=color:#2aa198>"com.alibaba.dubbo.samples.action"</span><span style=color:#719e07>})</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>static</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>ConsumerConfiguration</span> <span style=color:#719e07>{}</span>
+</span></span></code></pre></div><p>“dubbo-consumer.properties” is a method of external configuration in a Spring application, as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span>dubbo.application.name<span style=color:#719e07>=</span><span style=color:#2aa198>demo-consumer</span>
+</span></span><span style=display:flex><span>dubbo.registry.address<span style=color:#719e07>=</span><span style=color:#2aa198>zookeeper://$DOCKER_HOST:2181</span>
+</span></span><span style=display:flex><span>dubbo.consumer.timeout<span style=color:#719e07>=</span><span style=color:#2aa198>3000</span>
+</span></span></code></pre></div><p>Same as <strong>3. Server: Assembling</strong>, You need to modify <em>$DOCKER_HOST</em> defined in <em>dubbo.registry.address</em> according to your own environment. You could find more instructions in step 3.</p><h4 id=7-client-initiating-a-remote-call>7. Client: Initiating A Remote Call</h4><p>Run <code>main</code> to initiate a remote call from a existed service provider. Dubbo first subscribes to the zookeeper service address and then selects one [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>ConsumerBootstrap</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> AnnotationConfigApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> AnnotationConfigApplicationContext<span style=color:#719e07>(</span>ConsumerConfiguration<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> GreetingServiceConsumer greetingServiceConsumer <span style=color:#719e07>=</span> context<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span>GreetingServiceConsumer<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> String hello <span style=color:#719e07>=</span> greetingServiceConsumer<span style=color:#719e07>.</span>doSayHello<span style=color:#719e07>(</span><span style=color:#2aa198>"zookeeper"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"result: "</span> <span style=color:#719e07>+</span> hello<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The output are as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#719e07>[</span>03/08/18 01:42:31:031 CST<span style=color:#719e07>]</span> main INFO zookeeper.ZookeeperRegistry: <span style=color:#719e07>[</span>DUBBO<span style=color:#719e07>]</span> Register: consumer:/ [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>03/08/18 01:42:31:031 CST<span style=color:#719e07>]</span> main INFO zookeeper.ZookeeperRegistry: <span style=color:#719e07>[</span>DUBBO<span style=color:#719e07>]</span> Subscribe: consumer://192.168.99.1/com.alibaba.dubbo.samples.api.GreetingService?application<span style=color:#719e07>=</span>demo-consumer&<span style=color:#268bd2>category</span><span style=color:#719e07>=</span>providers,configura [...]
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span>result: hello, zookeeper
+</span></span></code></pre></div><p>Description:</p><ol><li><strong>Register</strong>: consumer://192.168.99.1/…&<strong>category=consumers</strong>&: In Zookeeper, consumers could register their information and store it at the <code>consumers</code> node</li><li><strong>Subscribe</strong>: consumer://192.168.99.1/…&<strong>category=providers,configurators,routers</strong>&:Consumers subscribe <code>providers</code>, <code>configurators</code>, <code>routers</code> from Zookeep [...]
+</span></span><span style=display:flex><span>bash-4.4# bin/zkCli.sh -server localhost:218
+</span></span><span style=display:flex><span>Connecting to localhost:2181
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span>Welcome to ZooKeeper!
+</span></span><span style=display:flex><span>JLine support is enabled
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>zk: localhost:2181<span style=color:#719e07>(</span>CONNECTED<span style=color:#719e07>)</span> 4<span style=color:#719e07>]</span> ls /dubbo/com.alibaba.dubbo.samples.api.GreetingService/consumers
+</span></span><span style=display:flex><span><span style=color:#719e07>[</span>consumer%3A%2F%2F192.168.99.1%2Fcom.alibaba.dubbo.samples.api.GreetingService%3Fapplication%3Ddemo-consumer%26category%3Dconsumers%26check%3Dfalse%26default.timeout%3D3000%26dubbo%3D2.6.2%26interface%3Dcom.alibaba.dubbo.samples.api.GreetingService%26methods%3DsayHello%26pid%3D82406%26side%3Dconsumer%26timestamp%3D1533274951195<span style=color:#719e07>]</span>
+</span></span></code></pre></div><p>You could see that consumers of Dubbo’s servicehas registered its URL address at the <code>consumers</code> node:</p><p><em>consumer://192.168.99.1/com.alibaba.dubbo.samples.api.GreetingService?application=demo-consumer&category=providers,configurators,routers&default.timeout=3000&dubbo=2.6.2&interface=com.alibaba.dubbo.samples.api.GreetingService&methods=sayHello&pid=82406&side=consumer×tamp=1533274951195</em></p><h2 id=summary>Summary</h2> [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/10/dubbos-load-balance/index.html b/en/blog/2018/08/10/dubbos-load-balance/index.html
new file mode 100644
index 00000000000..2ce89e8da0f
--- /dev/null
+++ b/en/blog/2018/08/10/dubbos-load-balance/index.html
@@ -0,0 +1,104 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/10/dubbos-load-balance/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-10T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo's Load Balance"><meta itemprop=description content="This a [...]
+"><meta itemprop=datePublished content="2018-08-10T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="2074"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo's Load Balance"><meta name=twitter:description content="This article introduces you what is load balance and how load balance strategy is implemented in Dubbo.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-loadbalance.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%27s%20Load%20Balance" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#background>Background</a></li><li><a href=#concepts>Concepts</a></li><li><a href=#dubbos-internal-load-balancing-strategy>Dubbo’s Internal Load Balancing Strategy</a><ul><li><a href=#1-random-load-balancing>1. Random Load Balancing</a></li><li><a href=#2-round-robin-load-balancing>2. Round Robin [...]
+</span></span><span style=display:flex><span>| | | | |
+</span></span><span style=display:flex><span>+-----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>1 10 30 50 80
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>|-----A----|---------B----------|----------C---------|---------------D--------------|
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>---------------------15
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>-------------------------------------------37
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>-----------------------------------------------------------54
+</span></span></code></pre></div><p>There are four areas in the above picture, and the lengths are the weights of A, B, C and D, respectively. Use <code>random.nextInt(10 + 20 + 20 + 30)</code> to randomly select one of the 80 numbers. Then determine which area the number is distributed in. For example, if random to 37, 37 is distributed in the C region, then select inboker C. 15 is in the B area, 54 is in the D area.</p><h4 id=random-load-balancing-source-code>Random load balancing Sour [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> private final Random random = new Random();
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> protected <T> Invoker<T> doSelect(List<Invoker<T>> invokers, URL url, Invocation invocation) {
+</span></span><span style=display:flex><span> int length = invokers.size(); // total invoker
+</span></span><span style=display:flex><span> int totalWeight = 0; // Sum of invokers' weights
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> // Determine if all the invokers have the same weight
+</span></span><span style=display:flex><span> // If the weights are the same, it is simple to generate an index directly from Random.
+</span></span><span style=display:flex><span> boolean sameWeight = true;
+</span></span><span style=display:flex><span> for (int i = 0; i < length; i++) {
+</span></span><span style=display:flex><span> int weight = getWeight(invokers.get(i), invocation);
+</span></span><span style=display:flex><span> totalWeight += weight; // Sum
+</span></span><span style=display:flex><span> if (sameWeight && i > 0 && weight != getWeight(invokers.get(i - 1), invocation)) {
+</span></span><span style=display:flex><span> sameWeight = false;
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> if (totalWeight > 0 && !sameWeight) {
+</span></span><span style=display:flex><span> // If not all of the invoker weights are the same, load balancer will randomly choose invoker based on its weight. The greater the weight, the greater the probability of being selected
+</span></span><span style=display:flex><span> int offset = random.nextInt(totalWeight);
+</span></span><span style=display:flex><span> for (int i = 0; i < length; i++) {
+</span></span><span style=display:flex><span> offset -= getWeight(invokers.get(i), invocation);
+</span></span><span style=display:flex><span> if (offset < 0) {
+</span></span><span style=display:flex><span> return invokers.get(i);
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> // If all invokers have the same weight
+</span></span><span style=display:flex><span> return invokers.get(random.nextInt(length));
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><h3 id=2-round-robin-load-balancing>2. Round Robin Load Balancing</h3><p>Round Robin Load Balancing, is to call all Providers in turn. As with random load balancing strategies, Round Robin Load Balancing policies also has a weighting concept. The Round Robin Load Balancing algorithm allows RPC calls to be allocated exactly as we set. Whether it is a small or large number of calls. However, there are also some shortcomings in the Round Robin Load Balancing [...]
+</span></span><span style=display:flex><span> // if there is only one minimum value then return directly
+</span></span><span style=display:flex><span> return invokers.get(leastIndexs[0]);
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>If there are multiple Invokers with the minimum active number, plus the weights are not equal and the total weight is greater than 0, then generate a random weight ranging from 0 to totalWeight. Finally, the Invoker is selected based on the randomly generated weights.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style= [...]
+</span></span><span style=display:flex><span> // if the weights are not equal and the toatl weight is greater than 0 then choose randomly according to total weight
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> int offsetWeight = random.nextInt(totalWeight);
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> // and determine which segment the random value falls on.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> for (int i = 0; i < leastCount; i++) {
+</span></span><span style=display:flex><span> int leastIndex = leastIndexs[i];
+</span></span><span style=display:flex><span> offsetWeight -= getWeight(invokers.get(leastIndex), invocation);
+</span></span><span style=display:flex><span> if (offsetWeight <= 0)
+</span></span><span style=display:flex><span> return invokers.get(leastIndex);
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><h3 id=4-consistent-hash-algorithm>4. Consistent Hash Algorithm</h3><p>Use consistent hash algorithm to ensure that requests with same parameters are always sent to the same Provider. When a Provider crashes, requests originally sent to the Provider is spread evenly to other Providers based on the virtual node without causing drastic changes. The algorithm can be seen at: <a href=http://en.wikipedia.org/wiki/Consistent_hashing>http://en.wikipedia.org/wiki [...]
+</span></span></code></pre></div><p>By default, 160 virtual nodes are used. Configure if you would like to modify it:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dubbo:parameter key="hash.nodes" value="320" />
+</span></span></code></pre></div><p>Consistent hash algorithms can be used in conjunction with caching mechanisms. For example, there is a service getUserInfo(String userId). After the hash algorithm is set, the same userId call is sent to the same Provider. This Provider can cache user data in memory, reducing the number of accesses to the database or distributed cache. If this part of the data is allowed to be inconsistent for some time, this approach can be considered. The number of d [...]
+</span></span></code></pre></div><p>All methods of the service use roundrobin load balancing.</p><h3 id=client-side-service-level>Client Side Service Level</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dubbo:reference interface="..." loadbalance="roundrobin" />
+</span></span></code></pre></div><p>All methods of the service use roundrobin load balancing.</p><h3 id=server-side-method-level>Server Side Method Level</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dubbo:service interface="...">
+</span></span><span style=display:flex><span> <dubbo:method name="hello" loadbalance="roundrobin"/>
+</span></span><span style=display:flex><span></dubbo:service>
+</span></span></code></pre></div><p>Only the hello method of the service uses roundrobin load balancing.</p><h3 id=client-side-method-level>Client Side Method Level</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dubbo:reference interface="...">
+</span></span><span style=display:flex><span> <dubbo:method name="hello" loadbalance="roundrobin"/>
+</span></span><span style=display:flex><span></dubbo:reference>
+</span></span></code></pre></div><p>Only the hello method of the service uses roundrobin load balancing.</p><p>Similar to other Dubbo configurations, multiple configurations are covered:</p><ol><li>The method level takes precedence, the interface level is next, and the global configuration comes last.</li><li>If the level is the same, the Consumer is given priority and the Provider is next</li></ol><p>Therefore, the priority of the above four configurations is:</p><ol><li>Client side met [...]
+</span></span><span style=display:flex><span>public interface LoadBalance {
+</span></span><span style=display:flex><span> @Adaptive("loadbalance")
+</span></span><span style=display:flex><span> <T> Invoker<T> select(List<Invoker<T>> invokers, URL url, Invocation invocation) throws RpcException;
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>This is the interface of the SPI. The parameters of the select method are as follows:</p><ul><li>invokers: A list of all service Providers.</li><li>url: Some configuration information, such as interface name, check or not, serialization.</li><li>invocation: Information called by the RPC, including the method name, method parameter type, and method parameters. Here is a LoadBalance implemented by us. The implementation is very simple - Choose the first [...]
+</span></span><span style=display:flex><span>public class DemoLoadBalance implements LoadBalance {
+</span></span><span style=display:flex><span> @Override
+</span></span><span style=display:flex><span> public <T> Invoker<T> <span style=color:#719e07>select</span>(List<Invoker<T<span style=color:#719e07>>></span> invokers, URL url, Invocation invocation) throws RpcException {
+</span></span><span style=display:flex><span> System.out.<span style=color:#b58900>println</span>(<span style=color:#2aa198>"[DemoLoadBalance]Select the first invoker..."</span>);
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invokers.<span style=color:#268bd2>get</span>(<span style=color:#2aa198>0</span>);
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><ol start=2><li>Add a resource file</li></ol><p>Add a file:
+<code>src/main/resource/META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.LoadBalance</code>
+This is a simple text file. The file contents are as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>demo=my=com.demo.dubbo.DemoLoadBalance
+</span></span></code></pre></div><ol start=3><li>Configure to use custom LoadBalance</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dubbo:reference id="helloService" interface="com.demo.dubbo.api.IHelloService" loadbalance="demo" />
+</span></span></code></pre></div><p>Configure <code><loadbalance="demo"></code> in <code>dubbo:reference</code> at the Consumer side.</p><p>After 3 steps above, we wrote a custom LoadBalance and told Dubbo to use it. Start Dubbo and we can see that Dubbo has used a custom DemoLoadBalance.</p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/07/use-annotations-in-dubbo/ aria-label="Previous - Use Annotations In Dubbo" cla [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/dubbo-basic-usage--dubbo-provider-configuration/index.html b/en/blog/2018/08/14/dubbo-basic-usage--dubbo-provider-configuration/index.html
new file mode 100644
index 00000000000..fb8a0ad189b
--- /dev/null
+++ b/en/blog/2018/08/14/dubbo-basic-usage--dubbo-provider-configuration/index.html
@@ -0,0 +1,132 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/dubbo-basic-usage--dubbo-provider-configuration/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo Basic Usage -- Dubbo Provider [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1397"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo Basic Usage -- Dubbo Provider Configuration"><meta name=twitter:description content="This article will introduce you how to config Dubbo, by XML, property files, annotations or Java code.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-basic-usage-dubbo-provider-configuration.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+th [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%20Basic%20Usage%20--%20Dubbo%20Provider%20Configuration" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#dubbo-provider-configuration>Dubbo Provider Configuration</a><ul><li><a href=#provider-configuration-in-detail>Provider Configuration in Detail</a></li><li><a href=#provider-interface-and-implement>Provider Interface and Implement</a></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 [...]
+</span></span><span style=display:flex><span><beans xmlns="http://www.springframework.org/schema/beans"
+</span></span><span style=display:flex><span> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+</span></span><span style=display:flex><span> xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
+</span></span><span style=display:flex><span> xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd">
+</span></span><span style=display:flex><span> <dubbo:application name="hello-world-app" />
+</span></span><span style=display:flex><span> <dubbo:registry address="multicast://224.5.6.7:1234" />
+</span></span><span style=display:flex><span> <dubbo:protocol name="dubbo" port="20880" />
+</span></span><span style=display:flex><span> <dubbo:service interface="com.alibaba.dubbo.demo.DemoService" ref="demoServiceLocal" />
+</span></span><span style=display:flex><span> <dubbo:reference id="demoServiceRemote" interface="com.alibaba.dubbo.demo.DemoService" />
+</span></span><span style=display:flex><span></beans>
+</span></span></code></pre></div><p>In the example above,note the way to write dubbo schema:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+</span></span><span style=display:flex><span> xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
+</span></span><span style=display:flex><span> xmlns="http://www.springframework.org/schema/beans"
+</span></span><span style=display:flex><span> xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
+</span></span><span style=display:flex><span> http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
+</span></span></code></pre></div><h6 id=supported-configuration-tags>Supported Configuration Tags</h6><table><thead><tr><th>Tags</th><th>Application</th><th style=text-align:left>Describe</th></tr></thead><tbody><tr><td><dubbo:service/></td><td>Service Configuration</td><td style=text-align:left>Expose a service, define the meta information of the service. One service can use multiple protocols to expose and can be registered to multiple registry centers</td></tr><tr><td><dubbo:ref [...]
+</span></span><span style=display:flex><span>dubbo.application.name=dubbodemo-provider
+</span></span><span style=display:flex><span># registry center address
+</span></span><span style=display:flex><span>dubbo.registry.address=zookeeper://localhost:2181
+</span></span><span style=display:flex><span># Example of broadcasting registry center
+</span></span><span style=display:flex><span>#dubbo.registry.address=multicast://224.5.6.7:1234
+</span></span><span style=display:flex><span># address for calling protocol
+</span></span><span style=display:flex><span>dubbo.protocol.name=dubbo
+</span></span><span style=display:flex><span>dubbo.protocol.port=28080
+</span></span></code></pre></div><h6 id=mapping-rule>Mapping Rule</h6><p>Split the tag name and properties in XML configuration with dots, and multiple properties should be split into multiple lines</p><ul><li>For example: dubbo.application.name=foo equivalents to <dubbo:application name=“foo” /></li><li>For example: dubbo.registry.address=10.20.153.10:9090 equivalents to <dubbo:registry address=“10.20.153.10:9090” /></li></ul><p>If there are multiple config [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>@Service(timeout = 5000)
+</span></span><span style=display:flex><span>public class AnnotateServiceImpl implements AnnotateService {
+</span></span><span style=display:flex><span> // ...
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><h6 id=javaconfig-configuration-public-module>Javaconfig Configuration Public Module</h6><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>@Configuration
+</span></span><span style=display:flex><span>public class DubboConfiguration {
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> @Bean
+</span></span><span style=display:flex><span> public ApplicationConfig applicationConfig() {
+</span></span><span style=display:flex><span> ApplicationConfig applicationConfig = new ApplicationConfig();
+</span></span><span style=display:flex><span> applicationConfig.setName("provider-test");
+</span></span><span style=display:flex><span> return applicationConfig;
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> @Bean
+</span></span><span style=display:flex><span> public RegistryConfig registryConfig() {
+</span></span><span style=display:flex><span> RegistryConfig registryConfig = new RegistryConfig();
+</span></span><span style=display:flex><span> registryConfig.setAddress("zookeeper://127.0.0.1:2181");
+</span></span><span style=display:flex><span> registryConfig.setClient("curator");
+</span></span><span style=display:flex><span> return registryConfig;
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>The result of configuration using this method is the same as that of using xml.</p><h6 id=specify-the-dubbo-scan-path>Specify the Dubbo Scan Path</h6><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>@SpringBootApplication
+</span></span><span style=display:flex><span>@DubboComponentScan(basePackages = "com.alibaba.dubbo.test.service.impl")
+</span></span><span style=display:flex><span>public class ProviderTestApp {
+</span></span><span style=display:flex><span> // ...
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>or use the spring bean xml configuration:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dubbo:annotation package="com.chanshuyi.service.impl" />
+</span></span></code></pre></div><h4 id=api-trigger-directly>API Trigger Directly</h4><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>import com.alibaba.dubbo.rpc.config.ApplicationConfig;
+</span></span><span style=display:flex><span>import com.alibaba.dubbo.rpc.config.RegistryConfig;
+</span></span><span style=display:flex><span>import com.alibaba.dubbo.rpc.config.ProviderConfig;
+</span></span><span style=display:flex><span>import com.alibaba.dubbo.rpc.config.ServiceConfig;
+</span></span><span style=display:flex><span>import com.xxx.XxxService;
+</span></span><span style=display:flex><span>import com.xxx.XxxServiceImpl;
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// Service implementation
+</span></span><span style=display:flex><span>XxxService xxxService = new XxxServiceImpl();
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// current application configuration
+</span></span><span style=display:flex><span>ApplicationConfig application = new ApplicationConfig();
+</span></span><span style=display:flex><span>application.setName("xxx");
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// connect to registry center configuration
+</span></span><span style=display:flex><span>RegistryConfig registry = new RegistryConfig();
+</span></span><span style=display:flex><span>registry.setAddress("10.20.130.230:9090");
+</span></span><span style=display:flex><span>registry.setUsername("aaa");
+</span></span><span style=display:flex><span>registry.setPassword("bbb");
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// service provider's protocol configuration
+</span></span><span style=display:flex><span>ProtocolConfig protocol = new ProtocolConfig();
+</span></span><span style=display:flex><span>protocol.setName("dubbo");
+</span></span><span style=display:flex><span>protocol.setPort(12345);
+</span></span><span style=display:flex><span>protocol.setThreads(200);
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// Note: ServiceConfig is a heavy object, which encapsulated the connection with registry center internally, and open the service port
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// Service provider exposes service configuration
+</span></span><span style=display:flex><span>ServiceConfig<XxxService> service = new ServiceConfig<XxxService>(); // This instance is very heavy, which encapsulated the connection with registry center, please cache it by yourself, it might cause memory and connection leakage otherwise.
+</span></span><span style=display:flex><span>service.setApplication(application);
+</span></span><span style=display:flex><span>service.setRegistry(registry); // multiple registry centers can use setRegistries()
+</span></span><span style=display:flex><span>service.setProtocol(protocol); // multiple protocols can use setProtocols()
+</span></span><span style=display:flex><span>service.setInterface(XxxService.class);
+</span></span><span style=display:flex><span>service.setRef(xxxService);
+</span></span><span style=display:flex><span>service.setVersion("1.0.0");
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// exposure and register service
+</span></span><span style=display:flex><span>service.export();
+</span></span></code></pre></div><p>Generally, this method is not recommended in spring applications. The reason can be checked by reading the source code on github, which would not be explained here.</p><h3 id=provider-interface-and-implement>Provider Interface and Implement</h3><p>The above chapters are described mainly from a configuration perspective, and lets explain the complete use of Dubbo provider by going through a complete example.</p><p>There is only one service UserReadServi [...]
+This service need to be exposed to a remote service by Dubbo. Detail steps are shown below:</p><ol><li>Create Project
+Skip this step if there is already a project. Create a Spring Boot project, which can be created through <a href=https://start.spring.io/>https://start.spring.io/</a>.</li><li>Define Interface
+Define interface: UserReadService</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>public interface UserReadService{
+</span></span><span style=display:flex><span> public User getUserById(Long userId);
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>Generally, this interface should be placed in an independent JAR file as a client package.
+Generally, the other services need to refer this client package if they want to consume this service(except for generalized call).
+3. Implement Interface
+Implement UserReadService, and deploy current implementation in the Provider’s application.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>public UserReadServiceImpl implements UserReadService{
+</span></span><span style=display:flex><span> public User getUserById(Long userId){
+</span></span><span style=display:flex><span> return xxx;
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><ol start=4><li>Dubbo Configuration</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><?xml version="1.0" encoding="UTF-8"?>
+</span></span><span style=display:flex><span><beans xmlns="http://www.springframework.org/schema/beans"
+</span></span><span style=display:flex><span> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+</span></span><span style=display:flex><span> xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
+</span></span><span style=display:flex><span> xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd">
+</span></span><span style=display:flex><span> <dubbo:application name="hello-world-app" />
+</span></span><span style=display:flex><span> <dubbo:registry address="multicast://224.5.6.7:1234" />
+</span></span><span style=display:flex><span> <dubbo:protocol name="dubbo" port="20880" />
+</span></span><span style=display:flex><span> <bean id="userReadService" class="com.package.UserReadServiceImpl"/>
+</span></span><span style=display:flex><span> <dubbo:service interface="com.package.UserReadService" ref="userReadService" />
+</span></span><span style=display:flex><span></beans>
+</span></span></code></pre></div><p>For the other modes of Dubbo configuration, please refer to the related configurations in the previous chapter, or use the integrated Dubbo Spring Boot starter method.</p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/14/manipulating-services-dynamically-via-qos/ aria-label="Previous - Manipulating Services Dynamically via QoS" class="btn btn-primary"><span class=mr-1>←</span>Previous< [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/dubbo-basic-usage-dubbo-consumer-configuration/index.html b/en/blog/2018/08/14/dubbo-basic-usage-dubbo-consumer-configuration/index.html
new file mode 100644
index 00000000000..830c60e0f5c
--- /dev/null
+++ b/en/blog/2018/08/14/dubbo-basic-usage-dubbo-consumer-configuration/index.html
@@ -0,0 +1,94 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/dubbo-basic-usage-dubbo-consumer-configuration/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content=" Dubbo Basic Usage - Dubbo Consumer C [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="748"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content=" Dubbo Basic Usage - Dubbo Consumer Configuration"><meta name=twitter:description content="This article will introduce you the basics of consumer configurations.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-basic-usage-dubbo-consumer-configuration.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+th [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=%20Dubbo%20Basic%20Usage%20-%20Dubbo%20Consumer%20Configuration" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#dubbo-consumer-configuration>Dubbo Consumer Configuration</a><ul><li><a href=#consumer-configuration-detailed>Consumer Configuration Detailed</a></li><li><a href=#consumer-calling-remote-service>Consumer Calling Remote Service</a></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col- [...]
+</span></span><span style=display:flex><span><?xml version="1.0" encoding="UTF-8"?>
+</span></span><span style=display:flex><span><beans xmlns="http://www.springframework.org/schema/beans"
+</span></span><span style=display:flex><span> Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+</span></span><span style=display:flex><span> Xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
+</span></span><span style=display:flex><span> Xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema /dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd">
+</span></span><span style=display:flex><span> <dubbo:application name="hello-world-app" />
+</span></span><span style=display:flex><span> <dubbo:registry address="multicast://224.5.6.7:1234" />
+</span></span><span style=display:flex><span> <dubbo:protocol name="dubbo" port="20880" />
+</span></span><span style=display:flex><span> <dubbo:reference id="demoServiceRemote" interface="com.alibaba.dubbo.demo.DemoService" />
+</span></span><span style=display:flex><span></beans>
+</span></span></code></pre></div><blockquote><p>For the supported configuration tags and corresponding configuration items, refer to the usage in the provider.</p></blockquote><blockquote><p>Next, focus on the configuration of <dubbo:reference/>.</p></blockquote><ul><li><dubbo:reference/> List of main attributes supported:</li></ul><table><thead><tr><th>Property Name</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>service reference id, as java bean id, requires uniqu [...]
+</span></span><span style=display:flex><span>Public class AnnotationConsumeService {
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> @com.alibaba.dubbo.config.annotation.Reference
+</span></span><span style=display:flex><span> Public AnnotateService annotateService;
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> // ...
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>The configuration in this way is the same as the previous configuration in xml.</p><blockquote><p>To specify the way dubbo scans the path, refer to the implementation of the provider in the previous section.</p></blockquote><h4 id=api-direct-trigger>api direct trigger</h4><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style [...]
+</span></span><span style=display:flex><span>Import com.alibaba.dubbo.rpc.config.RegistryConfig;
+</span></span><span style=display:flex><span>Import com.alibaba.dubbo.rpc.config.ConsumerConfig;
+</span></span><span style=display:flex><span>Import com.alibaba.dubbo.rpc.config.ReferenceConfig;
+</span></span><span style=display:flex><span>Import com.xxx.XxxService;
+</span></span><span style=display:flex><span>// current application configuration
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>ApplicationConfig application = new ApplicationConfig();
+</span></span><span style=display:flex><span>application.setName("yyy");
+</span></span><span style=display:flex><span>// Connect to the registry configuration
+</span></span><span style=display:flex><span>RegistryConfig registry = new RegistryConfig();
+</span></span><span style=display:flex><span>registry.setAddress("10.20.130.230:9090");
+</span></span><span style=display:flex><span>registry.setUsername("aaa");
+</span></span><span style=display:flex><span>registry.setPassword("bbb");
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// Note: ReferenceConfig is a heavy object that internally encapsulates the connection to the registry and the connection to the service provider.
+</span></span><span style=display:flex><span>// reference remote service
+</span></span><span style=display:flex><span>ReferenceConfig<XxxService> reference = new ReferenceConfig<XxxService>(); // This instance is heavy, encapsulates the connection to the registry and the connection to the provider, please cache it yourself, otherwise it may cause memory and connection leaks.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>reference.setApplication(application);
+</span></span><span style=display:flex><span>reference.setRegistry(registry); // Multiple registries can use setRegistries()
+</span></span><span style=display:flex><span>reference.setInterface(XxxService.class);
+</span></span><span style=display:flex><span>reference.setVersion("1.0.0");
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>// Use xxxService like local beans
+</span></span><span style=display:flex><span>XxxService xxxService = reference.get();
+</span></span></code></pre></div><h6 id=methodspecial-settings>methodSpecial settings</h6><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>
+</span></span><span style=display:flex><span>// Method level configuration
+</span></span><span style=display:flex><span>List<MethodConfig> methods = new ArrayList<MethodConfig>();
+</span></span><span style=display:flex><span>MethodConfig method = new MethodConfig();
+</span></span><span style=display:flex><span>method.setName("createXxx");
+</span></span><span style=display:flex><span>method.setTimeout(10000);
+</span></span><span style=display:flex><span>method.setRetries(0);
+</span></span><span style=display:flex><span>Methods.add(method);
+</span></span><span style=display:flex><span>// reference remote service
+</span></span><span style=display:flex><span>ReferenceConfig<XxxService> reference = new ReferenceConfig<XxxService>(); // This instance is heavy, encapsulates the connection to the registry and the connection to the provider, please cache it yourself, otherwise it may cause memory and connection leaks.
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span>reference.setMethods(methods); // Set method level configuration
+</span></span></code></pre></div><h3 id=consumer-calling-remote-service>Consumer Calling Remote Service</h3><p>The above chapters are more from a configuration point of view, and then through a complete example, explain the complete use of dubbo consumer.</p><p>There is only one service UserReadService in this example, there is a method getUserById. Need to call a remote service through Dubbo. The specific steps are as follows:</p><ol><li>Create a project
+If there is already a project, you can ignore it. Create a spring boot project that can be created at <a href=https://start.spring.io/>https://start.spring.io/</a>.
+The provider of the service has been defined in the provider section.</li><li>Call the service</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>@RestController
+</span></span><span style=display:flex><span>Public class UserTestController{
+</span></span><span style=display:flex><span> @Autowired
+</span></span><span style=display:flex><span> Private UserReadService userReadService;
+</span></span><span style=display:flex><span> @RequestMapping("/user/getById")
+</span></span><span style=display:flex><span> Public String getUserById(Long id){
+</span></span><span style=display:flex><span> // just test
+</span></span><span style=display:flex><span> Return userReadService.getUserById(id).toString();
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>3.Dubbo configuration</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>
+</span></span><span style=display:flex><span><?xml version="1.0" encoding="UTF-8"?>
+</span></span><span style=display:flex><span><beans xmlns="http://www.springframework.org/schema/beans"
+</span></span><span style=display:flex><span> Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+</span></span><span style=display:flex><span> Xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
+</span></span><span style=display:flex><span> Xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema /dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd">
+</span></span><span style=display:flex><span> <dubbo:application name="hello-world-app" />
+</span></span><span style=display:flex><span> <dubbo:registry address="multicast://224.5.6.7:1234" />
+</span></span><span style=display:flex><span> <dubbo:protocol name="dubbo" port="20880" />
+</span></span><span style=display:flex><span> <dubbo:reference id="userReadService" interface="com.package.UserReadService"check="false" />
+</span></span><span style=display:flex><span></beans>
+</span></span></code></pre></div><p>Other ways of configuring Dubbo can refer to the relevant configuration in the previous section, or use the integrated dubbo spring boot starter mode.</p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/14/dubbo-several-ways-about-synchronous/asynchronous-invoke/ aria-label="Previous - Dubbo: Several ways about synchronous/asynchronous invoke" class="btn btn-primary"><span class=mr-1>←</ [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/dubbo-several-ways-about-synchronous/asynchronous-invoke/index.html b/en/blog/2018/08/14/dubbo-several-ways-about-synchronous/asynchronous-invoke/index.html
new file mode 100644
index 00000000000..82fc19a2d99
--- /dev/null
+++ b/en/blog/2018/08/14/dubbo-several-ways-about-synchronous/asynchronous-invoke/index.html
@@ -0,0 +1,101 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/dubbo-several-ways-about-synchronous/asynchronous-invoke/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo: Several ways about s [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1112"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo: Several ways about synchronous/asynchronous invoke"><meta name=twitter:description content="This article introduces you how to use Dubbo synchronously or asynchronously.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-invoke.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+th [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo:%20Several%20ways%20about%20synchronous/asynchronous%20invoke" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><ul><li><a href=#synchronous-invoke>Synchronous invoke</a></li><li><a href=#asynchronous-invoke>Asynchronous invoke</a></li><li><a href=#parameters-callback>Parameters callback</a></li><li><a href=#event-notification>Event notification</a></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col- [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>goodbye</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h5 id=consumer-configuration>Consumer configuration</h5><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"asyncService"</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.async.api.AsyncService"</s [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:method</span> name=<span style=color:#2aa198>"goodbye"</span> async=<span style=color:#2aa198>"true"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dubbo:reference></span>
+</span></span></code></pre></div><p>Notice that if we need an asynchronous revoke method, we must use <code><dubbo:method/></code> label to describe it.</p><h5 id=consumer-triggers-invocation>Consumer triggers invocation</h5><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span>AsyncService service <span style=color:#719e07>=</span> <span style=c [...]
+</span></span><span style=display:flex><span>String result <span style=color:#719e07>=</span> service<span style=color:#719e07>.</span>goodbye<span style=color:#719e07>(</span><span style=color:#2aa198>"samples"</span><span style=color:#719e07>);</span><span style=color:#586e75>// returns NULL and DO NOT use!
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>Future<span style=color:#719e07><</span>String<span style=color:#719e07>></span> future <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>().</span>getFuture<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>...</span> <span style=color:#586e75>// other service thread logic
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>result <span style=color:#719e07>=</span> future<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span> <span style=color:#586e75>// could use get(timeout, unit) to configure timeout, when it needs to get the asynchronous result
+</span></span></span></code></pre></div><p>After Dubbo Consumer triggers invocation, it uses <code>RpcContext.getContext().getFuture()</code> to get the relative <code>Future</code> object, and then it could start executing other tasks. Anytime when we need results, <code>future.get(timeout)</code> is supposed to be called.</p><p>Under several special conditions, it could be set whether to wait for sending the request, to accelerate the return of invocation:</p><ul><li><code>sent="true"< [...]
+</span></span></code></pre></div><p>If you only want to be asynchronous, then omit the result thoroughly, <code>return="false"</code> could be set to reduce the creation and management cost of Future:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><dubbo:method</span> name=<span style=color:#2aa198>"goodbye&# [...]
+</span></span></code></pre></div><p>At this time,<code>RpcContext.getContext().getFuture()</code> will return <code>null</code>。</p><p>The complete sequence diagram of asynchronous invoke is as follow:</p><p><img src=/imgs/blog/dubbo-async.svg alt="Asynchronous invoke"></p><p>The sample locates at:https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-async</p><h3 id=parameters-callback>Parameters callback</h3><p>The parameter Callback is somewhat similar to the local Callback [...]
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>addListener</span><span style=color:#719e07>(</span>String key<span style=color:#719e07>,</span> CallbackListener listener<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>CallbackListener</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>changed</span><span style=color:#719e07>(</span>String msg<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h5 id=service-implementation-of-provider>Service implementation of Provider</h5><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>CallbackServiceImpl</span> <span style=color:#268bd2>implements</span> Callbac [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> <span style=color:#268bd2>final</span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> CallbackListener<span style=color:#719e07>></span> listeners <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ConcurrentHashMap<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> CallbackListener<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>CallbackServiceImpl</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread t <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(</span><span style=color:#719e07>new</span> Runnable<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>run</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>while</span> <span style=color:#719e07>(</span><span style=color:#cb4b16>true</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>Map<span style=color:#719e07>.</span>Entry<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> CallbackListener<span style=color:#719e07>></span> entry <span style=color:#719e07>:</span> listeners<span style=color:#719e07>.</span>entrySet<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> entry<span style=color:#719e07>.</span>getValue<span style=color:#719e07>().</span>changed<span style=color:#719e07>(</span>getChanged<span style=color:#719e07>(</span>entry<span style=color:#719e07>.</span>getKey<span style=color:#719e07>()));</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>Throwable t<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> listeners<span style=color:#719e07>.</span>remove<span style=color:#719e07>(</span>entry<span style=color:#719e07>.</span>getKey<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>5000</span><span style=color:#719e07>);</span> <span style=color:#586e75>// timely trigger change event
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>Throwable t<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> t<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> t<span style=color:#719e07>.</span>setDaemon<span style=color:#719e07>(</span><span style=color:#cb4b16>true</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> t<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>addListener</span><span style=color:#719e07>(</span>String key<span style=color:#719e07>,</span> CallbackListener listener<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> listeners<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span>key<span style=color:#719e07>,</span> listener<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> listener<span style=color:#719e07>.</span>changed<span style=color:#719e07>(</span>getChanged<span style=color:#719e07>(</span>key<span style=color:#719e07>));</span> <span style=color:#586e75>// send notification for change
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String <span style=color:#268bd2>getChanged</span><span style=color:#719e07>(</span>String key<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"Changed: "</span> <span style=color:#719e07>+</span> <span style=color:#719e07>new</span> SimpleDateFormat<span style=color:#719e07>(</span><span style=color:#2aa198>"yyyy-MM-dd HH:mm:ss"</span><span style=color:#719e07>).</span>format<span style=color:#719e07>(</span><span style=color:#719e07>new</span> Date<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h5 id=service-exposure-of-provider>Service exposure of Provider</h5><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"callbackService"</span> class=<span style=color:#2aa198>"com.alibaba.dubbo.samples.callback.impl.CallbackServiceI [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.callback.api.CallbackService"</span> ref=<span style=color:#2aa198>"callbackService"</span> connections=<span style=color:#2aa198>"1"</span> callbacks=<span style=color:#2aa198>"1000"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:method</span> name=<span style=color:#2aa198>"addListener"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:argument</span> index=<span style=color:#2aa198>"1"</span> callback=<span style=color:#2aa198>"true"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!--<dubbo:argument type="com.demo.CallbackListener" callback="true" />--></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dubbo:method></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dubbo:service></span>
+</span></span></code></pre></div><p>Here,Provider needs to declare which parameter is the Callback parameter in the method.</p><h5 id=callback-interface-implementation-of-consumer>Callback interface implementation of Consumer</h5><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span>CallbackService callbackService <span style=color:#719e07>=</span> [...]
+</span></span><span style=display:flex><span>callbackService<span style=color:#719e07>.</span>addListener<span style=color:#719e07>(</span><span style=color:#2aa198>"foo.bar"</span><span style=color:#719e07>,</span> <span style=color:#719e07>new</span> CallbackListener<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>changed</span><span style=color:#719e07>(</span>String msg<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"callback1:"</span> <span style=color:#719e07>+</span> msg<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>});</span>
+</span></span></code></pre></div><p>The implementation class of the Callback interface is on the Consumer, which automatically exports a Callback service when the method is called. Thus during Provider processing the call, if the parameter is determined as Callback, it will generate a proxy. Therefore, when the service implementation class calling the Callback method, it will be passed to the Consumer to execute the code.</p><p>The sample code above is located at:https://github.com/dubbo [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"demoService"</span> check=<span style=color:#2aa198>"false"</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.notify.api.DemoService"</span> version=<span style=color:#2aa198>"1.0.0"</span> group=<span style=color:#2aa198>"cn"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:method</span> name=<span style=color:#2aa198>"sayHello"</span> onreturn=<span style=color:#2aa198>"demoCallback.onreturn"</span> onthrow=<span style=color:#2aa198>"demoCallback.onthrow"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dubbo:reference></span>
+</span></span></code></pre></div><p>Among them,the code of NotifyImpl is as follow:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>NotifyImpl</span> <span style=color:#268bd2>implements</span> Notify<span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Map<span style=color:#719e07><</span>Integer<span style=color:#719e07>,</span> String<span style=color:#719e07>></span> ret <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><</span>Integer<span style=color:#719e07>,</span> String<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>onreturn</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> id<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ret<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span>id<span style=color:#719e07>,</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"onreturn: "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>onthrow</span><span style=color:#719e07>(</span>Throwable ex<span style=color:#719e07>,</span> String name<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> id<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"onthrow: "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Here we address that the parameter rules of three methods in the custom Notify interface are as follows:</p><ul><li><code>oninvoke</code> method’s parameters are the same as the calling method parameters;</li><li><code>onreturn</code> method’s first parameter is the returned value of calling method,and the others are the same as the calling method;</li><li><code>onthrow</code> method’s first parameter is an invoked exception,and the o [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/generic-invoke-of-dubbo/index.html b/en/blog/2018/08/14/generic-invoke-of-dubbo/index.html
new file mode 100644
index 00000000000..106656d145e
--- /dev/null
+++ b/en/blog/2018/08/14/generic-invoke-of-dubbo/index.html
@@ -0,0 +1,105 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/generic-invoke-of-dubbo/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Generic invoke of Dubbo"><meta itemprop=description content= [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="777"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Generic invoke of Dubbo"><meta name=twitter:description content="This article introduces you when and how to use generic invoke of Dubbo.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-generic-invoke.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+secti [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Generic%20invoke%20of%20Dubbo" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#generic-invoke-through-spring-xml-configuration>Generic invoke through Spring XML configuration</a></li><li><a href=#generic-invoke-through-api-programming>Generic invoke through API programming</a></li><li><a href=#the-case-where-parameters-or-return-values-are-pojos>The case where parameters or retur [...]
+instead of depending the interface jar package, the service call is initiated directly through the GenericService interface, and all POJOs in the parameters and return values are represented by a <code>Map</code>.
+Generic invoke does not require attention on the server and can be exposed as normal services.</p><p>Next, let’s take a look at how the consumer uses generic invoke for service call.</p><h2 id=generic-invoke-through-spring-xml-configuration>Generic invoke through Spring XML configuration</h2><p>Declare <code>generic="true"</code> in Spring configuration, such as</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-si [...]
+</span></span></code></pre></div><p>Where you need to use it, you can call it by forcing a type cast to GenericService.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span>GenericService userService <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>GenericService<span style=color:#719e07>)</span> context<span style=color:#719 [...]
+</span></span><span style=display:flex><span><span style=color:#586e75>// primary param and return value
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>String name <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>String<span style=color:#719e07>)</span> userService<span style=color:#719e07>.</span>$invoke<span style=color:#719e07>(</span><span style=color:#2aa198>"delete"</span><span style=color:#719e07>,</span> <span style=color:#719e07>new</span> String<span style=color:#719e07>[]{</span><span style=color:#dc322f>int</span> [...]
+</span></span><span style=display:flex><span>System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span></code></pre></div><p>Among them,</p><ol><li><p>The interface GenericService has only one method, named $invoke, which takes three arguments, a method name, an array of method parameter types, and an array of parameter values.</p></li><li><p>For arrays of method parameter types</p><p>i. If it is a basic type, such as int or long, use <code>int.class.getName()</code> to get its type;</p><p>ii. If it is a basic type array, such as int[], use <code>int[].class.getName()</code> [...]
+</span></span><span style=display:flex><span>application<span style=color:#719e07>.</span>setName<span style=color:#719e07>(</span><span style=color:#2aa198>"api-generic-consumer"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>RegistryConfig registry <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>registry<span style=color:#719e07>.</span>setAddress<span style=color:#719e07>(</span><span style=color:#2aa198>"zookeeper://127.0.0.1:2181"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>application<span style=color:#719e07>.</span>setRegistry<span style=color:#719e07>(</span>registry<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>ReferenceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>></span> reference <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ReferenceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// weak type interface name
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>reference<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span><span style=color:#2aa198>"com.alibaba.dubbo.samples.generic.api.IUserService"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// declared as a generalized interface
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>reference<span style=color:#719e07>.</span>setGeneric<span style=color:#719e07>(</span><span style=color:#cb4b16>true</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>reference<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span>application<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// replace all interface references with com.alibaba.dubbo.rpc.service.GenericService
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>GenericService genericService <span style=color:#719e07>=</span> reference<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>String name <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>String<span style=color:#719e07>)</span> genericService<span style=color:#719e07>.</span>$invoke<span style=color:#719e07>(</span><span style=color:#2aa198>"delete"</span><span style=color:#719e07>,</span> <span style=color:#719e07>new</span> String<span style=color:#719e07>[]{</span><span style=color:#dc322f>int</span><span style=color:#719e07>.</span>cla [...]
+</span></span><span style=display:flex><span>System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span></code></pre></div><p>Through the API, you don’t need to configure the service in advance like XML. You can dynamically construct ReferenceConfig; the API is more common than XML.</p><h2 id=the-case-where-parameters-or-return-values-are-pojos>The case where parameters or return values are POJOs</h2><p>For example, the method signature is <code>User get(Params params)</code>, where <code>User</code> has two attributes, id and name, and <code>Params</code> has one attri [...]
+</span></span><span style=display:flex><span>Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> params <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>param<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"class"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"com.alibaba.dubbo.samples.generic.api.Params"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>param<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"query"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"a=b"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>Object user <span style=color:#719e07>=</span> userService<span style=color:#719e07>.</span>$invoke<span style=color:#719e07>(</span><span style=color:#2aa198>"get"</span><span style=color:#719e07>,</span> parameterTypes<span style=color:#719e07>,</span> <span style=color:#719e07>new</span> Object<span style=color:#719e07>[]{</span>param<span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span>System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"sample one result: "</span> <span style=color:#719e07>+</span> user<span style=color:#719e07>);</span>
+</span></span></code></pre></div><p>The output of the above code is:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>sample one result: {name=charles, id=1, class=com.alibaba.dubbo.samples.generic.api.User}
+</span></span></code></pre></div><p>Here, the Dubbo framework will automatically convert the return value from POJO to Map.
+It can be seen that the return value <code>user</code> is a HashMap, which stores three k/vs, name, id, and class.</p><h2 id=generic-interface-implementation>Generic interface implementation</h2><p>The implementation of the generic interface is mainly used when the server does not have an API interface. All POJOs in the parameters and return values are represented by Map, which is usually used for framework integration. For example, to implement a generic remote service Mock framework, a [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Object <span style=color:#268bd2>$invoke</span><span style=color:#719e07>(</span>String method<span style=color:#719e07>,</span> String<span style=color:#719e07>[]</span> parameterTypes<span style=color:#719e07>,</span> Object<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> GenericException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>method<span style=color:#719e07>.</span>equals<span style=color:#719e07>(</span><span style=color:#2aa198>"hi"</span><span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hi, "</span> <span style=color:#719e07>+</span> args<span style=color:#719e07>[</span><span style=color:#2aa198>0</span><span style=color:#719e07>];</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>else</span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>method<span style=color:#719e07>.</span>equals<span style=color:#719e07>(</span><span style=color:#2aa198>"hello"</span><span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hello, "</span> <span style=color:#719e07>+</span> args<span style=color:#719e07>[</span><span style=color:#2aa198>0</span><span style=color:#719e07>];</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"welcome"</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=server-exposed-service>Server exposed service</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span>ApplicationConfig application <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ApplicationConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>application<span style=color:#719e07>.</span>setName<span style=color:#719e07>(</span><span style=color:#2aa198>"api-generic-provider"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>RegistryConfig registry <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>registry<span style=color:#719e07>.</span>setAddress<span style=color:#719e07>(</span><span style=color:#2aa198>"zookeeper://127.0.0.1:2181"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>application<span style=color:#719e07>.</span>setRegistry<span style=color:#719e07>(</span>registry<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>GenericService genericService <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> GenericServiceImpl<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>ServiceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>></span> service <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ServiceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>service<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span>application<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>service<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span><span style=color:#2aa198>"com.alibaba.dubbo.samples.generic.api.HelloService"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>service<span style=color:#719e07>.</span>setRef<span style=color:#719e07>(</span>genericService<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>service<span style=color:#719e07>.</span>export<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>ServiceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>></span> service2 <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ServiceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>service2<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span>application<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>service2<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span><span style=color:#2aa198>"com.alibaba.dubbo.samples.generic.api.HiService"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>service2<span style=color:#719e07>.</span>setRef<span style=color:#719e07>(</span>genericService<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>service2<span style=color:#719e07>.</span>export<span style=color:#719e07>();</span>
+</span></span></code></pre></div><p>Similarly, you can expose the service using XML configuration; in this case, the server does not depend on the two interfaces HiService and HelloService.</p><h3 id=service-invoke-on-the-consumer>Service invoke on the consumer</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span>ApplicationConfig application < [...]
+</span></span><span style=display:flex><span>application<span style=color:#719e07>.</span>setName<span style=color:#719e07>(</span><span style=color:#2aa198>"api-generic-consumer"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>RegistryConfig registry <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> RegistryConfig<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>registry<span style=color:#719e07>.</span>setAddress<span style=color:#719e07>(</span><span style=color:#2aa198>"zookeeper://127.0.0.1:2181"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>application<span style=color:#719e07>.</span>setRegistry<span style=color:#719e07>(</span>registry<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>ReferenceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>></span> reference <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ReferenceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// weak type interface name
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>reference<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span>HiService<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>reference<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span>application<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>HiService hiService <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>HiService<span style=color:#719e07>)</span> reference<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>hiService<span style=color:#719e07>.</span>hi<span style=color:#719e07>(</span><span style=color:#2aa198>"dubbo"</span><span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>ReferenceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>></span> reference2 <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ReferenceConfig<span style=color:#719e07><</span>GenericService<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// weak type interface name
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>reference2<span style=color:#719e07>.</span>setInterface<span style=color:#719e07>(</span>HelloService<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>reference2<span style=color:#719e07>.</span>setApplication<span style=color:#719e07>(</span>application<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>HelloService helloService <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>HelloService<span style=color:#719e07>)</span> reference2<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>helloService<span style=color:#719e07>.</span>hello<span style=color:#719e07>(</span><span style=color:#2aa198>"community"</span><span style=color:#719e07>));</span>
+</span></span></code></pre></div><p>Similarly, the consumer can also reference the service using an XML configuration and then make the call. Here you can see that the calling method is a normal service call, not a generic call. Of course, it is also possible to use generic calls.</p><p>So far, a simple service Mock platform has been successfully launched!</p><h2 id=others>Others</h2><ul><li>The generic invoke and generic interface implementations introduced in this article are all based [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/implementation-of-cross-language-calls-by-dubbo2.js/index.html b/en/blog/2018/08/14/implementation-of-cross-language-calls-by-dubbo2.js/index.html
new file mode 100644
index 00000000000..81cb7e85145
--- /dev/null
+++ b/en/blog/2018/08/14/implementation-of-cross-language-calls-by-dubbo2.js/index.html
@@ -0,0 +1,123 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/implementation-of-cross-language-calls-by-dubbo2.js/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Implementation of cross-language [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1814"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Implementation of cross-language calls by Dubbo2.js"><meta name=twitter:description content="This article introduces how to use Dubbo.js to implement cross-language calls.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo2-js.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+t [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Implementation%20of%20cross-language%20calls%20by%20Dubbo2.js" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#cross-language-calls-for-micro-service>Cross-language calls for micro service</a></li><li><a href=#cross-language-calls-by-a-common-protocol>Cross-language calls by a common protocol</a><ul><li><a href=#springmvc>SpringMVC</a></li><li><a href=#we-support-some-common-protocols>We support some common pro [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:protocol</span> name=<span style=color:#2aa198>"jsonrpc"</span> port=<span style=color:#2aa198>"8080"</span> <span style=color:#268bd2>/></span>
+</span></span></code></pre></div><h3 id=customized-protocols-for-cross-language-support>Customized Protocols for Cross-language Support</h3><p>The so-called protocol of the microservice framework can be simply interpreted as: message format and serialization scheme. Generally, the service governance framework would provide numbers of protocol configuration items for users to choose from. In addition to the above two common protocols,there exists some other customized protocols like the d [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>echo</span><span style=color:#719e07>()</span> <span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>test</span><span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> UserResponse <span style=color:#268bd2>getUserInfo</span><span style=color:#719e07>(</span>UserRequest request<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Then we implement the interface:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoProviderImpl</span> <span style=color:#268bd2>implements</span> DemoProvider <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"["</span> <span style=color:#719e07>+</span> <span style=color:#719e07>new</span> SimpleDateFormat<span style=color:#719e07>(</span><span style=color:#2aa198>"HH:mm:ss"</span><span style=color:#719e07>).</span>format<span style=color:#719e07>(</span><span style=color:#719e07>ne [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"Hello "</span> <span style=color:#719e07>+</span> name <span style=color:#719e07>+</span> <span style=color:#2aa198>", response form provider: "</span> <span style=color:#719e07>+</span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>().</span>getLocalAddress<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>echo</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"receive...."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"pang"</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>test</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"test"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> UserResponse <span style=color:#268bd2>getUserInfo</span><span style=color:#719e07>(</span>UserRequest request<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>request<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> UserResponse response <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> UserResponse<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> response<span style=color:#719e07>.</span>setStatus<span style=color:#719e07>(</span><span style=color:#2aa198>"ok"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> String<span style=color:#719e07>></span> map <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> String<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span> map<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"id"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"1"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> map<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"name"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"test"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> response<span style=color:#719e07>.</span>setInfo<span style=color:#719e07>(</span>map<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> response<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>After that,<span data-type=color style=color:#24292e> we expose the dubbo service with xml files:</span></p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#719e07><?xml version="1.0" encoding="UTF-8"?></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><beans</span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xmlns:dubbo=<span style=color:#2aa198>"http://code.alibabatech.com/schema/dubbo"</span>
+</span></span><span style=display:flex><span> xmlns=<span style=color:#2aa198>"http://www.springframework.org/schema/beans"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- dubbo provider info, used to compute dependency --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"demo-provider"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> protocol=<span style=color:#2aa198>"zookeeper"</span> address=<span style=color:#2aa198>"localhost:2181"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- dubbo protocol, used to expose service at port 20880 --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:protocol</span> name=<span style=color:#2aa198>"dubbo"</span> port=<span style=color:#2aa198>"20880"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- realize a service as a local bean --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"demoProvider"</span> class=<span style=color:#2aa198>"com.alibaba.dubbo.demo.provider.DemoProviderImpl"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- claim for service interfaces to expose --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.demo.DemoProvider"</span> ref=<span style=color:#2aa198>"demoProvider"</span> version=<span style=color:#2aa198>"1.0.0"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><p>After we implemented all the configurations on server side, initiate an object initiater to register a dubbo service locally:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>Provider</span> <span style [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> Exception <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ClassPathXmlApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ClassPathXmlApplicationContext<span style=color:#719e07>(</span><span style=color:#719e07>new</span> String<span style=color:#719e07>[]{</span><span style=color:#2aa198>"META-INF/spring/dubbo-demo-provider.xml"</span><span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=2-implement-dubbo-client-side-for-nodejs>2. Implement dubbo client-side for nodejs</h3><p>Install dubbo2.js using npm:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>npm install dubbo2.js --save
+</span></span></code></pre></div><p>Configure dubboConfig.ts:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-typescript data-lang=typescript><span style=display:flex><span><span style=color:#268bd2>import</span> { Dubbo, java, TDubboCallResult } <span style=color:#268bd2>from</span> <span style=color:#2aa198>'dubbo2.js'</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>const</span> dubbo <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Dubbo({
+</span></span><span style=display:flex><span> application<span style=color:#719e07>:</span> {name<span style=color:#719e07>:</span> <span style=color:#2aa198>'demo-provider'</span>},
+</span></span><span style=display:flex><span> register<span style=color:#719e07>:</span> <span style=color:#2aa198>'localhost:2181'</span>,
+</span></span><span style=display:flex><span> dubboVersion<span style=color:#719e07>:</span> <span style=color:#2aa198>'2.0.0'</span>,
+</span></span><span style=display:flex><span> interfaces<span style=color:#719e07>:</span> [
+</span></span><span style=display:flex><span> <span style=color:#2aa198>'com.alibaba.dubbo.demo.DemoProvider'</span>,
+</span></span><span style=display:flex><span> ],
+</span></span><span style=display:flex><span>});
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>interface</span> IDemoService {
+</span></span><span style=display:flex><span> sayHello(name: <span style=color:#dc322f>string</span>)<span style=color:#719e07>:</span> TDubboCallResult<<span style=color:#268bd2>string</span>>;
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>export</span> <span style=color:#268bd2>const</span> demoService <span style=color:#719e07>=</span> dubbo.proxyService<<span style=color:#268bd2>IDemoService</span>>({
+</span></span><span style=display:flex><span> dubboInterface<span style=color:#719e07>:</span> <span style=color:#2aa198>'com.alibaba.dubbo.demo.DemoProvider'</span>,
+</span></span><span style=display:flex><span> version<span style=color:#719e07>:</span> <span style=color:#2aa198>'1.0.0'</span>,
+</span></span><span style=display:flex><span> methods<span style=color:#719e07>:</span> {
+</span></span><span style=display:flex><span> sayHello(name: <span style=color:#dc322f>string</span>) {
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> [java.<span style=color:#b58900>String</span>(name)];
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> echo() {},
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> test() {},
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> getUserInfo() {
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> [
+</span></span><span style=display:flex><span> java.combine(<span style=color:#2aa198>'com.alibaba.dubbo.demo.UserRequest'</span>, {
+</span></span><span style=display:flex><span> id: <span style=color:#dc322f>1</span>,
+</span></span><span style=display:flex><span> name<span style=color:#719e07>:</span> <span style=color:#2aa198>'nodejs'</span>,
+</span></span><span style=display:flex><span> email<span style=color:#719e07>:</span> <span style=color:#2aa198>'node@qianmi.com'</span>,
+</span></span><span style=display:flex><span> }),
+</span></span><span style=display:flex><span> ];
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span>});
+</span></span></code></pre></div><blockquote><p>Using typescript brings better coding experience.</p></blockquote><p>Implement caller class main.ts:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-typescript data-lang=typescript><span style=display:flex><span><span style=color:#268bd2>import</span> {demoService} <span style=color:#268bd2>from</span> <span style=color:#2aa198>'./dubboCon [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>demoService.sayHello(<span style=color:#2aa198>'kirito'</span>).then(({res,err})<span style=color:#719e07>=></span>{
+</span></span><span style=display:flex><span> console.log(res)
+</span></span><span style=display:flex><span>});
+</span></span></code></pre></div><h3 id=3-call-maints>3. Call main.ts:</h3><p>Run nodejs client in Debug mode:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span><span style=color:#268bd2>DEBUG</span><span style=color:#719e07>=</span>dubbo* ts-node main.ts
+</span></span></code></pre></div><p>Checkout running results:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>Hello kirito, response form provider: 172.19.6.151:20880
+</span></span></code></pre></div><p>Congratulations!</p><h2 id=features>Features</h2><ul><li>Support zookeeper as register center</li><li>Support TCP Dubbo Native protocol</li><li>Support directly Dubbo connection</li><li>Support link tracing</li><li>Generate dubbo interface Automatically</li></ul><h2 id=more-details>More details</h2><p>The sample code in this article is available here, <a href=https://github.com/dubbo/dubbo2.js>https://github.com/dubbo/dubbo2.js</a>.
+If you don't know much about the dubbo protocol and want to understand how it works, the project provides a sub-moudle: java-socket-consumer, which is implemented in a process-oriented approach, realizing a process of sending dubbo protocal message with native socket and making function calls, and then get response.</p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/14/generic-invoke-of-dubbo/ aria-label="Previous - Gener [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/manipulating-services-dynamically-via-qos/index.html b/en/blog/2018/08/14/manipulating-services-dynamically-via-qos/index.html
new file mode 100644
index 00000000000..f9a41d0355c
--- /dev/null
+++ b/en/blog/2018/08/14/manipulating-services-dynamically-via-qos/index.html
@@ -0,0 +1,123 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/manipulating-services-dynamically-via-qos/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Manipulating Services Dynamically via QoS" [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="947"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Manipulating Services Dynamically via QoS"><meta name=twitter:description content="This article introduces how to use Dubbo's QoS to achieve dynamic configuration.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/introduction-to-dubbo-qos.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Manipulating%20Services%20Dynamically%20via%20QoS" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#mechanism-of-qos>Mechanism of QoS</a><ul><li><a href=#qos-commands>QoS Commands:</a></li><li><a href=#qos-parameters>QoS’ Parameters</a></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-l [...]
+</span></span><span style=display:flex><span>Trying 127.0.0.1...
+</span></span><span style=display:flex><span>Connected to localhost.
+</span></span><span style=display:flex><span>Escape character is <span style=color:#2aa198>'^]'</span>.
+</span></span><span style=display:flex><span> ????????? ??? ?? ??????????? ??????????? ????????
+</span></span><span style=display:flex><span> ??? ???? ??? ??? ??? ??? ??? ??? ??? ???
+</span></span><span style=display:flex><span> ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
+</span></span><span style=display:flex><span> ??? ??? ??? ??? ?????????? ?????????? ??? ???
+</span></span><span style=display:flex><span> ??? ??? ??? ??? ??????????? ??????????? ??? ???
+</span></span><span style=display:flex><span> ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
+</span></span><span style=display:flex><span> ??? ???? ??? ??? ??? ??? ??? ??? ??? ???
+</span></span><span style=display:flex><span> ????????? ????????? ??????????? ??????????? ????????
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>dubbo>
+</span></span></code></pre></div><p>A <code>dubbo></code> prompt would show up once you connect to server. Now input <code>help</code>:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>dubbo>help
+</span></span><span style=display:flex><span>+---------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| <span style=color:#b58900>help</span> | <span style=color:#b58900>help</span> <span style=color:#b58900>command</span> |
+</span></span><span style=display:flex><span>+---------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| ls | ls service |
+</span></span><span style=display:flex><span>+---------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| offline | offline dubbo |
+</span></span><span style=display:flex><span>+---------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| online | online dubbo |
+</span></span><span style=display:flex><span>+---------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| quit | quit telnet console |
+</span></span><span style=display:flex><span>+---------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>dubbo>
+</span></span></code></pre></div><p>This command lists all available commands with explanations.</p><p>You can also use <code>help</code> to a specific command to read examples of that command.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>dubbo>help online
+</span></span><span style=display:flex><span>+--------------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| COMMAND NAME | online |
+</span></span><span style=display:flex><span>+--------------+----------------------------------------------------------------------------------+
+</span></span><span style=display:flex><span>| EXAMPLE | online dubbo |
+</span></span><span style=display:flex><span>| | online xx.xx.xxx.service |
+</span></span><span style=display:flex><span>+--------------+----------------------------------------------------------------------------------+
+</span></span></code></pre></div><p>Use <code>ls</code> to check services’ status:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>dubbo>ls
+</span></span><span style=display:flex><span>As Provider side:
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>| Provider Service Name |PUB|
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>|org.apache.dubbo.demo.provider.DemoService| Y |
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>As Consumer side:
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span><span style=display:flex><span>|Consumer Service Name|NUM|
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span></code></pre></div><p>There is a service named <code>org.apache.dubbo.demo.provider.DemoService</code> in the provider side. <code>PUB=Y</code> in the second columns means that the service has been published to the registration center, waiting to be called by the consumer side.</p><p>Assuming that we need to withdraw a service dynamically, we can use <code>offline</code> command:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-s [...]
+</span></span><span style=display:flex><span>OK
+</span></span></code></pre></div><p>You can see that the command responds with <code>OK</code>. Check the services’ status using <code>ls</code>:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>dubbo>ls
+</span></span><span style=display:flex><span>As Provider side:
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>| Provider Service Name |PUB|
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>|org.apache.dubbo.demo.provider.DemoService| N |
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>As Consumer side:
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span><span style=display:flex><span>|Consumer Service Name|NUM|
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span></code></pre></div><p>You can see that <code>PUB</code> of <code>org.apache.dubbo.demo.provider.DemoService</code> has been set to <code>N</code>.</p><p>Quit the current telnet session using <code>quit</code>:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>dubbo>quit
+</span></span><span style=display:flex><span>BYE!
+</span></span><span style=display:flex><span>Connection closed by foreign host.
+</span></span></code></pre></div><h4 id=access-qos-via-http>Access QoS via HTTP</h4><p>In the example above we performed an offline action to <code>org.apache.dubbo.demo.provider.DemoService</code>. Now we are going to demonstrate how to register the service above via HTTP.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>$ curl -i http://localh [...]
+</span></span><span style=display:flex><span>HTTP/1.1 <span style=color:#2aa198>200</span> OK
+</span></span><span style=display:flex><span>Content-Type: text/plain
+</span></span><span style=display:flex><span>Content-Length: <span style=color:#2aa198>2</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>OK%
+</span></span></code></pre></div><blockquote><p>Beware of the parameters of online action. They need to be provided in the form of <code>key=value</code>. However, <code>key</code> would be ignored actually.</p></blockquote><p>The action responds with <code>OK</code>. Now use <code>ls</code> to check providers’ status at the current moment.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=langu [...]
+</span></span><span style=display:flex><span>HTTP/1.1 200 OK
+</span></span><span style=display:flex><span>Content-Type: text/plain
+</span></span><span style=display:flex><span>Content-Length: 365
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>As Provider side:
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>| Provider Service Name |PUB|
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>|org.apache.dubbo.demo.provider.DemoService| Y |
+</span></span><span style=display:flex><span>+------------------------------------------+---+
+</span></span><span style=display:flex><span>As Consumer side:
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span><span style=display:flex><span>|Consumer Service Name|NUM|
+</span></span><span style=display:flex><span>+---------------------+---+
+</span></span></code></pre></div><p>You can see that the service’s <code>PUB</code> status has been changed to <code>Y</code>.</p><h3 id=qos-parameters>QoS’ Parameters</h3><p>You can use parameters that QoS provides to config its startup. These parameters include:</p><table><thead><tr><th>Parameter</th><th>Explanation</th><th>Default</th></tr></thead><tbody><tr><td>qosEnable</td><td>Activate QoS or not</td><td>true</td></tr><tr><td>qosPort</td><td>The port QoS would bind to</ [...]
+</span></span><span style=display:flex><span>-Ddubbo.application.qos.port=33333
+</span></span><span style=display:flex><span>-Ddubbo.application.qos.accept.foreign.ip=false
+</span></span></code></pre></div><h4 id=dubboproperties><code>Dubbo.properties</code></h4><p>Create a <code>dubbo.properties</code> file in this directory <code>src/main/resources</code> in your project, and copy the following codes into it:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>dubbo.application.qos.enable=true
+</span></span><span style=display:flex><span>dubbo.application.qos.port=33333
+</span></span><span style=display:flex><span>dubbo.application.qos.accept.foreign.ip=false
+</span></span></code></pre></div><h4 id=xml>XML</h4><p>If you are going to config using XML, you can try this:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#719e07><?xml version="1.0" encoding="UTF-8"?></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><beans</span> xmlns=<span style=color:#2aa198>"http://www.springframework.org/schema/beans"</span>
+</span></span><span style=display:flex><span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xmlns:dubbo=<span style=color:#2aa198>"http://dubbo.apache.org/schema/dubbo"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://www.springframework.org/schema/beans
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> http://www.springframework.org/schema/beans/spring-beans.xsd
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"demo-provider"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:parameter</span> key=<span style=color:#2aa198>"qos.enable"</span> value=<span style=color:#2aa198>"true"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:parameter</span> key=<span style=color:#2aa198>"qos.accept.foreign.ip"</span> value=<span style=color:#2aa198>"false"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:parameter</span> key=<span style=color:#2aa198>"qos.port"</span> value=<span style=color:#2aa198>"33333"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dubbo:application></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> address=<span style=color:#2aa198>"multicast://224.5.6.7:1234"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:protocol</span> name=<span style=color:#2aa198>"dubbo"</span> port=<span style=color:#2aa198>"20880"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"org.apache.dubbo.demo.provider.DemoService"</span> ref=<span style=color:#2aa198>"demoService"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"demoService"</span> class=<span style=color:#2aa198>"org.apache.dubbo.demo.provider.DemoServiceImpl"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><h4 id=spring-boot-auto-configuration><code>spring-boot</code> auto configuration</h4><p>If you are developing a spring-boot application, you can configure in <code>application.properties</code> or <code>application.yml</code>:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>dubbo.application.qosEnable=true
+</span></span><span style=display:flex><span>dubbo.application.qosPort=33333
+</span></span><span style=display:flex><span>dubbo.application.qosAcceptForeignIp=false
+</span></span></code></pre></div><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/14/source-code-analysis-of-spring-boot-dubbo-app-start-and-stop/ aria-label="Previous - Source code analysis of spring-boot+Dubbo App start and stop" class="btn btn-primary"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2018/08/14/dubbo-basic-usage--dubbo-provider-configuration/ aria-label="Next - Dubbo Basic Usage -- Dubbo Provi [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/native-image-using-graalvm/index.html b/en/blog/2018/08/14/native-image-using-graalvm/index.html
new file mode 100644
index 00000000000..b7cd1a6b1f1
--- /dev/null
+++ b/en/blog/2018/08/14/native-image-using-graalvm/index.html
@@ -0,0 +1,179 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/native-image-using-graalvm/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Native Image using GraalVM"><meta itemprop=description co [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1360"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Native Image using GraalVM"><meta name=twitter:description content="This article introduces you how to make Dubbo native image using GraalVM.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-graalvm-support.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+sect [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Native%20Image%20using%20GraalVM" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#overview>Overview</a></li><li><a href=#preparation>Preparation</a></li><li><a href=#get-started>Get Started</a></li><li><a href=#our-efforts>Our Efforts</a><ul><li><a href=#preparations>Preparations</a></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=m [...]
+GraalVM we use here is based on jdk version 1.8.</p><h2 id=get-started>Get Started</h2><p>For user’s convenience, we provide the following demo in the <a href=https://github.com/apache/dubbo/>apache dubbo</a> branch. In module dubbo-demo-native, dubbo’s provider and consumer demos are given:</p><p><img src=/imgs/blog/dubbo-graalvm-support/demo_path.png alt></p><p>We used native-image’s maven plug-in and customized several native-image starting parameters. Users only nee [...]
+</span></span></code></pre></div><p>You can see the following output after compilation:</p><p><img src=/imgs/blog/dubbo-graalvm-support/consumer_compiler.png alt><img src=/imgs/blog/dubbo-graalvm-support/provider_compiler.png alt></p><p>Binary executable file generated can be found in the target catalog:</p><p><img src=/imgs/blog/dubbo-graalvm-support/compile_result.png alt></p><p>Size of the binary executable file is around 40M:</p><div class=highlight><pre tabindex=0 style=color:#93a1a [...]
+</span></span><span style=display:flex><span>40 demo-native-provider
+</span></span></code></pre></div><p>Note: example above is the service registration and discovery based on zookeeper. Users have to launch a zk locally before executing the binary executable file.</p><p>Launch the binary executable file:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>MacdeMacBook-pro-3:target mac$ ./demo-native-provider
+</span></span><span style=display:flex><span>......
+</span></span><span style=display:flex><span>INFO: [DUBBO] DubboBootstrap is ready., dubbo version: 2.7.12-SNAPSHOT, current host: 10.220.186.228
+</span></span><span style=display:flex><span>Jun 15, 2021 2:29:14 PM org.apache.dubbo.common.logger.jdk.JdkLogger info
+</span></span><span style=display:flex><span>INFO: [DUBBO] DubboBootstrap has started., dubbo version: 2.7.12-SNAPSHOT, current host: 10.220.186.228
+</span></span><span style=display:flex><span>Jun 15, 2021 2:29:14 PM org.apache.dubbo.common.logger.jdk.JdkLogger info
+</span></span><span style=display:flex><span>INFO: [DUBBO] DubboBootstrap awaiting ..., dubbo version: 2.7.12-SNAPSHOT, current host: 10.220.186.228
+</span></span></code></pre></div><p>Enter consumer’s target catalog and execute the binary executable file:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>MacdeMacBook-pro-3:target mac$ ./demo-native-consumer
+</span></span><span style=display:flex><span>Hello dubbo, response from provider: 10.220.186.228:20880
+</span></span></code></pre></div><p>All the launches and invokes above finish within one second.</p><h2 id=our-efforts>Our Efforts</h2><h3 id=preparations>Preparations</h3><h4 id=class-initializations-auxiliary-configurations>Class Initialization’s Auxiliary Configurations</h4><p>Since native-image is constructed prior to runtime, its construction is dependent on the static analysis of which code is accessible. However, this analysis cannot always fully predict all usages of Java N [...]
+</span></span></code></pre></div><p>Parameter above will introduce agent and run the project in the conventional way. Agent will interact with JVM and intercept all invokes that look up classes, methods, fields, resources or request proxy access. Later agent will produce the following files in the specified catalog: <code>jni-config.json</code>, <code>reflect-config.json</code>, <code>proxy-config.json</code> and <code>resource-config.json</code>, etc.</p><p>Copy the files above into pro [...]
+</span></span><span style=display:flex><span> <groupId>org.graalvm.nativeimage</groupId>
+</span></span><span style=display:flex><span> <artifactId>native-image-maven-plugin</artifactId>
+</span></span><span style=display:flex><span> <version>21.0.0.2</version>
+</span></span><span style=display:flex><span> <executions>
+</span></span><span style=display:flex><span> <execution>
+</span></span><span style=display:flex><span> <goals>
+</span></span><span style=display:flex><span> <goal>native-image</goal>
+</span></span><span style=display:flex><span> </goals>
+</span></span><span style=display:flex><span> <phase>package</phase>
+</span></span><span style=display:flex><span> </execution>
+</span></span><span style=display:flex><span> </executions>
+</span></span><span style=display:flex><span> <configuration>
+</span></span><span style=display:flex><span> <skip>false</skip>
+</span></span><span style=display:flex><span> <imageName>demo-native-provider</imageName>
+</span></span><span style=display:flex><span> <mainClass>org.apache.dubbo.demo.graalvm.provider.Application</mainClass>
+</span></span><span style=display:flex><span> <buildArgs>
+</span></span><span style=display:flex><span> --no-fallback
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.slf4j.MDC
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.slf4j.LoggerFactory
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.slf4j.impl.StaticLoggerBinder
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.apache.log4j.helpers.Loader
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.apache.log4j.Logger
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.apache.log4j.helpers.LogLog
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.apache.log4j.LogManager
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.apache.log4j.spi.LoggingEvent
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.slf4j.impl.Log4jLoggerFactory
+</span></span><span style=display:flex><span> --initialize-at-build-time=org.slf4j.impl.Log4jLoggerAdapter
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.epoll.Epoll
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.epoll.Native
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.epoll.EpollEventLoop
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.epoll.EpollEventArray
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.DefaultFileRegion
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.kqueue.KQueueEventArray
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.kqueue.KQueueEventLoop
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.kqueue.Native
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.unix.Errors
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.unix.IovArray
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.unix.Limits
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.util.internal.logging.Log4JLogger
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.unix.Socket
+</span></span><span style=display:flex><span> --initialize-at-run-time=io.netty.channel.ChannelHandlerMask
+</span></span><span style=display:flex><span> --report-unsupported-elements-at-runtime
+</span></span><span style=display:flex><span> --allow-incomplete-classpath
+</span></span><span style=display:flex><span> --enable-url-protocols=http
+</span></span><span style=display:flex><span> -H:+ReportExceptionStackTraces
+</span></span><span style=display:flex><span> </buildArgs>
+</span></span></code></pre></div><p>After importing the plug-in, native-image command can be automatically executed when executing maven commands such as packaging.</p><h4 id=import-generated-spi-dependency-package>Import Generated SPI Dependency Package</h4><p>SPI mode of dubbo grants huge expandability. It depends on some generated code that are adaptive to extensions. These generated code are not supported by binary images. To deal with this problem, we did the following:</p><ul><li>E [...]
+</span></span><span style=display:flex><span> System.*out*.println("--->write code:" + name);
+</span></span><span style=display:flex><span> Files.*write*(Paths.*get*("/tmp/sources/" + name), source.getBytes());
+</span></span><span style=display:flex><span> ......
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><ul><li><p>Copy the exported code into dubbo-graalvm module
+<img src=/imgs/blog/dubbo-graalvm-support/graalvm.png alt></p></li><li><p>Import module in new project</p></li></ul><p>pom dependency:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span><dependency>
+</span></span><span style=display:flex><span> <groupId>org.apache.dubbo</groupId>
+</span></span><span style=display:flex><span> <artifactId>dubbo-graalvm</artifactId>
+</span></span><span style=display:flex><span> <version>2.7.12-SNAPSHOT</version>
+</span></span><span style=display:flex><span></dependency>
+</span></span></code></pre></div><p>(Note: dubbo that depends on this branch can directly add dependency. Other versions with new SPI added needs to update by exporting the source code.)</p><p>After importing dependencies, we can directly find classes using class names during the process of doCompiler without dynamically generating code:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallb [...]
+</span></span><span style=display:flex><span>public Class<?> doCompile(String name, String sourceCode) throws Throwable {
+</span></span><span style=display:flex><span> try {
+</span></span><span style=display:flex><span> Class<?> res = Class.*forName*(name);
+</span></span><span style=display:flex><span> return res;
+</span></span><span style=display:flex><span> } catch (Throwable ex) {
+</span></span><span style=display:flex><span> //ignore
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> //......
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>At this point, all dependencies required for native-image compilation are completed. Packaging can generate binary executable file.</p><h4 id=modifications-to-dubbo-source-code>Modifications to Dubbo Source Code</h4><p>Branch is named native_dubbo_0611 and modified based on tag version <a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.12>dubbo-2.7.12</a>. Here we will explain the major modifications.</p><ul><li>Avoid dynamically generated [...]
+</span></span><span style=display:flex><span>@Override
+</span></span><span style=display:flex><span>public Class<?> doCompile(String name, String source) throws Throwable {
+</span></span><span style=display:flex><span> try {
+</span></span><span style=display:flex><span> Class<?> res = Class.*forName*(name);
+</span></span><span style=display:flex><span> return res;
+</span></span><span style=display:flex><span> } catch (Throwable ex) {
+</span></span><span style=display:flex><span> //ignore
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> CtClassBuilder builder = new CtClassBuilder();
+</span></span><span style=display:flex><span> builder.setClassName(name)
+</span></span><span style=display:flex><span> //......
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>//dubbo-common/src/main/java/org/apache/dubbo/common/compiler/support/JdkCompiler.java
+</span></span><span style=display:flex><span>@Override
+</span></span><span style=display:flex><span>public Class<?> doCompile(String name, String sourceCode) throws Throwable {
+</span></span><span style=display:flex><span> try {
+</span></span><span style=display:flex><span> Class<?> res = Class.*forName*(name);
+</span></span><span style=display:flex><span> return res;
+</span></span><span style=display:flex><span> } catch (Throwable ex) {
+</span></span><span style=display:flex><span> //ignore
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> int i = name.lastIndexOf('.');
+</span></span><span style=display:flex><span> String packageName = i < 0 ? "" : name.substring(0, i);
+</span></span><span style=display:flex><span> //......
+</span></span></code></pre></div><p>Here we modified dubbo’s both compilation methods. When compiling source code, first determine if the class, which is, in fact, the generated code in dubbo-graalvm that we imported, is loaded locally based on all class name reflection. The loaded class will be returned after importing the package. No compilation required.</p><ul><li>Substitute code generation in ExtensionLoader</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;bac [...]
+</span></span><span style=display:flex><span>private Class<?> createAdaptiveExtensionClass() {
+</span></span><span style=display:flex><span> try {
+</span></span><span style=display:flex><span> Class c = Class.*forName*(generatePackageInfo() + "." + type.getSimpleName() + "$Adaptive");
+</span></span><span style=display:flex><span> return c;
+</span></span><span style=display:flex><span> } catch (Throwable e) {
+</span></span><span style=display:flex><span> //ignore
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> String code = new AdaptiveClassCodeGenerator(type,cachedDefaultName).generate();
+</span></span><span style=display:flex><span> //......
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>private static final String *CODE_PACKAGE* = "%s";
+</span></span><span style=display:flex><span>private String generatePackageInfo() {
+</span></span><span style=display:flex><span> return String.*format*(*CODE_PACKAGE*, type.getPackage().getName());
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>ExtensionLoader is the main logic class of the whole extension mechanism. Works such as loading configuration, extension class cache and generating self-adopting objects, are all done in the class.</p><p>getAdaptiveExtension() method automatically creates implementation class String for extension points interface.</p><p>Similar to the first modification mentioned above, since we imported the SPI package, code generation is no longer needed. Requesting [...]
+</span></span><span style=display:flex><span>// String[] methods = Wrapper.getWrapper(interfaceClass).getMethodNames();
+</span></span><span style=display:flex><span> String[] methods = Arrays.*stream*(interfaceClass.getMethods()).map(it->it.getName()).toArray(String[]::new);
+</span></span><span style=display:flex><span> if (methods.length == 0) {
+</span></span><span style=display:flex><span> l*ogger*.warn("No method found in service interface " + interfaceClass.getName());
+</span></span><span style=display:flex><span> map.put(*METHODS_KEY*, *ANY_VALUE*);
+</span></span><span style=display:flex><span> //......
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>//dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java
+</span></span><span style=display:flex><span>// String[] methods = Wrapper.getWrapper(interfaceClass).getMethodNames();
+</span></span><span style=display:flex><span> String[] methods = Arrays.*stream*(interfaceClass.getMethods()).map(it->it.getName()).toArray(String[]::new);
+</span></span><span style=display:flex><span> if (methods.length == 0) {
+</span></span><span style=display:flex><span> l*ogger*.warn("No method found in service interface " + interfaceClass.getName());
+</span></span><span style=display:flex><span> map.put(*METHODS_KEY*, *ANY_VALUE*);
+</span></span><span style=display:flex><span> //......
+</span></span></code></pre></div><p>Since Wrapper’s getWrapper needs to be dynamically generated, here we substitute it by reflected getMethods.</p><ul><li>Add dubbo-graalvm module</li></ul><p>dubbo-graalvm’s uses have been explained previously.</p><ul><li>Substitute fastjson by gson</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=di [...]
+</span></span><span style=display:flex><span>@Override
+</span></span><span style=display:flex><span>public void publishServiceDefinition(URL providerUrl) {
+</span></span><span style=display:flex><span> try {
+</span></span><span style=display:flex><span> if (!ProtocolUtils.*isGeneric*(providerUrl.getParameter(*GENERIC_KEY*))) {
+</span></span><span style=display:flex><span> String interfaceName = providerUrl.getParameter(*INTERFACE_KEY*);
+</span></span><span style=display:flex><span> if (StringUtils.*isNotEmpty*(interfaceName)) {
+</span></span><span style=display:flex><span> Class interfaceClass = Class.*forName*(interfaceName);
+</span></span><span style=display:flex><span> ServiceDefinition serviceDefinition = ServiceDefinitionBuilder.*build*(interfaceClass);
+</span></span><span style=display:flex><span> String data = new Gson().toJson(serviceDefinition);
+</span></span><span style=display:flex><span> serviceDefinitions.put(providerUrl.getServiceKey(), data);
+</span></span><span style=display:flex><span> return;
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> //......
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>cglib is used in fastjson for dynamic proxy, but native-image does not support cglib. So here we use gson instead.</p><ul><li>Substitute set by list for multiple interface proxy invoke</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>//dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rp [...]
+</span></span><span style=display:flex><span>@Override
+</span></span><span style=display:flex><span>public <T> T getProxy(Invoker<T> invoker, boolean generic) throws RpcException {
+</span></span><span style=display:flex><span> List<Class<?>> interfaces = new ArrayList<>();
+</span></span><span style=display:flex><span> String config = invoker.getUrl().getParameter(*INTERFACES*);
+</span></span><span style=display:flex><span> if (config != null && config.length() > 0) {
+</span></span><span style=display:flex><span> String[] types = *COMMA_SPLIT_PATTERN*.split(config);
+</span></span><span style=display:flex><span> for (String type : types) {
+</span></span><span style=display:flex><span> // *TODO can we load successfully for a different classloader?.*
+</span></span><span style=display:flex><span> interfaces.add(ReflectUtils.*forName*(type));
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> //......
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>The service here has multiple interfaces which have to be in order when requesting proxy. Set does not fulfill the requirement so we use ArrayList instead.</p><p>Major modifications to dubbo source code are listed above.</p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/10/dubbos-load-balance/ aria-label="Previous - Dubbo's Load Balance" class="btn btn-primary"><span class=mr-1>←</span [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/14/source-code-analysis-of-spring-boot-dubbo-app-start-and-stop/index.html b/en/blog/2018/08/14/source-code-analysis-of-spring-boot-dubbo-app-start-and-stop/index.html
new file mode 100644
index 00000000000..7f43fcba571
--- /dev/null
+++ b/en/blog/2018/08/14/source-code-analysis-of-spring-boot-dubbo-app-start-and-stop/index.html
@@ -0,0 +1,122 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/08/14/source-code-analysis-of-spring-boot-dubbo-app-start-and-stop/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-08-14T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Source code analysis of [...]
+"><meta itemprop=datePublished content="2018-08-14T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1337"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Source code analysis of spring-boot+Dubbo App start and stop"><meta name=twitter:description content="This article introduces the implementation details of app start and stop in `dubbo-spring-boot-project`.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/spring-boot-dubbo-start-stop-analysis.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22fron [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Source%20code%20analysis%20of%20spring-boot+Dubbo%20App%20start%20and%20stop" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#introduction>Introduction</a></li><li><a href=#the-analysis-of-dubboconsumer-startup>The analysis of DubboConsumer startup</a></li><li><a href=#the-analysis-of-dubboconsumer-exit>The analysis of DubboConsumer exit</a></li><li><a href=#summary>Summary</a></li><li><a href=#problems>Problems</a><ul><li><a [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DubboConsumerDemo</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> SpringApplication<span style=color:#719e07>.</span>run<span style=color:#719e07>(</span>DubboConsumerDemo<span style=color:#719e07>.</span>class<span style=color:#719e07>,</span>args<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>In fact, to answer this question, we need to abstract it first, that is, under what circumstances will a JVM process exit?</p><p>Take Java 8 as an example. By referring to the JVM language specification[1], there is a clear description in Section 12.8:</p><blockquote><p>A program terminates all its activity and <em>exits</em> when one of two things happens:</p><ul><li>All the threads that are not daemon threads terminate.</li><li>Some thread invokes th [...]
+</span></span><span style=display:flex><span><span style=color:#2aa198>"container-0"</span> <span style=color:#586e75>#37 prio=5 os_prio=31 tid=0x00007fbe312f5800 nid=0x7103 waiting on condition [0x0000700010144000]</span>
+</span></span><span style=display:flex><span><span style=color:#2aa198>"container-1"</span> <span style=color:#586e75>#49 prio=5 os_prio=31 tid=0x00007fbe3117f800 nid=0x7b03 waiting on condition [0x0000700010859000]</span>
+</span></span><span style=display:flex><span><span style=color:#2aa198>"DestroyJavaVM"</span> <span style=color:#586e75>#83 prio=5 os_prio=31 tid=0x00007fbe30011000 nid=0x2703 waiting on condition [0x0000000000000000]</span>
+</span></span><span style=display:flex><span><span style=color:#2aa198>"VM Thread"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe3005e800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x3703 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"GC Thread#0"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe30013800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x5403 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"GC Thread#1"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe30021000 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x5303 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"GC Thread#2"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe30021800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x2d03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"GC Thread#3"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe30022000 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x2f03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Main Marker"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe30040800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x5203 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Conc#0"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe30041000 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x4f03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Refine#0"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe31044800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x4e03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Refine#1"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe31045800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x4d03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Refine#2"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe31046000 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x4c03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Refine#3"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe31047000 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x4b03 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"G1 Young RemSet Sampling"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe31047800 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x3603 runnable
+</span></span><span style=display:flex><span><span style=color:#2aa198>"VM Periodic Task Thread"</span> <span style=color:#268bd2>os_prio</span><span style=color:#719e07>=</span><span style=color:#2aa198>31</span> <span style=color:#268bd2>tid</span><span style=color:#719e07>=</span>0x00007fbe31129000 <span style=color:#268bd2>nid</span><span style=color:#719e07>=</span>0x6703 waiting on condition
+</span></span></code></pre></div><blockquote><p>We can find all the thread digests by <code>grep tid</code> here, and find the line that doesn’t contain the daemon keyword by <code>grep -v</code> command.</p></blockquote><p>We can get some information from the above results:</p><ul><li>There are two “suspicious” threads : <code>container-0</code>, <code>container-1</code>. They are non-daemon thread in wait state.</li><li>There are alse some threads about GC, and thread [...]
+</span></span><span style=display:flex><span> Thread awaitThread <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(</span><span style=color:#2aa198>"container-"</span> <span style=color:#719e07>+</span> <span style=color:#719e07>(</span>containerCounter<span style=color:#719e07>.</span>get<span style=color:#719e07>()))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>run</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> TomcatEmbeddedServletContainer<span style=color:#719e07>.</span>this<span style=color:#719e07>.</span>tomcat<span style=color:#719e07>.</span>getServer<span style=color:#719e07>().</span>await<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>};</span>
+</span></span><span style=display:flex><span> awaitThread<span style=color:#719e07>.</span>setContextClassLoader<span style=color:#719e07>(</span>getClass<span style=color:#719e07>().</span>getClassLoader<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> awaitThread<span style=color:#719e07>.</span>setDaemon<span style=color:#719e07>(</span><span style=color:#cb4b16>false</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> awaitThread<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Let’s add a breakpoint in this method, and focus on the call stack:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-plain data-lang=plain><span style=display:flex><span>initialize:115, TomcatEmbeddedServletContainer (org.springframework.boot.context.embedded.tomcat)
+</span></span><span style=display:flex><span><init>:84, TomcatEmbeddedServletContainer (org.springframework.boot.context.embedded.tomcat)
+</span></span><span style=display:flex><span>getTomcatEmbeddedServletContainer:554, TomcatEmbeddedServletContainerFactory (org.springframework.boot.context.embedded.tomcat)
+</span></span><span style=display:flex><span>getEmbeddedServletContainer:179, TomcatEmbeddedServletContainerFactory (org.springframework.boot.context.embedded.tomcat)
+</span></span><span style=display:flex><span>createEmbeddedServletContainer:164, EmbeddedWebApplicationContext (org.springframework.boot.context.embedded)
+</span></span><span style=display:flex><span>onRefresh:134, EmbeddedWebApplicationContext (org.springframework.boot.context.embedded)
+</span></span><span style=display:flex><span>refresh:537, AbstractApplicationContext (org.springframework.context.support)
+</span></span><span style=display:flex><span>refresh:122, EmbeddedWebApplicationContext (org.springframework.boot.context.embedded)
+</span></span><span style=display:flex><span>refresh:693, SpringApplication (org.springframework.boot)
+</span></span><span style=display:flex><span>refreshContext:360, SpringApplication (org.springframework.boot)
+</span></span><span style=display:flex><span>run:303, SpringApplication (org.springframework.boot)
+</span></span><span style=display:flex><span>run:1118, SpringApplication (org.springframework.boot)
+</span></span><span style=display:flex><span>run:1107, SpringApplication (org.springframework.boot)
+</span></span><span style=display:flex><span>main:35, DubboConsumerDemo (com.alibaba.boot.dubbo.demo.consumer.bootstrap)
+</span></span></code></pre></div><p>It can be seen that during the startup process of the Spring-boot application, the above method is executed since the execution of Tomcat exposes the HTTP service by default. Also, all threads started by Tomcat are daemon threads by default, such as the Acceptor of the listening request, threads in working threads, etc. Thus the JVM will also exit after the startup is complete in there is no extra control here. Therefore, it is necessary to explicitly [...]
+</span></span><span style=display:flex><span> <span style=color:#586e75>// ...
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>if</span><span style=color:#719e07>(</span> port<span style=color:#719e07>==-</span><span style=color:#2aa198>1</span> <span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> awaitThread <span style=color:#719e07>=</span> Thread<span style=color:#719e07>.</span>currentThread<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>while</span><span style=color:#719e07>(!</span>stopAwait<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span> <span style=color:#2aa198>10000</span> <span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span><span style=color:#719e07>(</span> InterruptedException ex <span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// continue and check the flag
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>finally</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> awaitThread <span style=color:#719e07>=</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// ...
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>In the await method, the current thread checks the variable <code>stopAwait</code> every 10 seconds in a while loop. It is a <code>volatile</code> variable that is used to ensure that the current thread can see the change immediately after the variable being modified by another thread. If there is no change, it will stay in the loop. This is the reason why the thread does not exit, which is also the reason that the entire Spring-boot application doesn& [...]
+</span></span><span style=display:flex><span>stopInternal:<span style=color:#2aa198>819</span><span style=color:#719e07>,</span> StandardServer <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>catalina<span style=color:#719e07>.</span>core<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>stop:<span style=color:#2aa198>226</span><span style=color:#719e07>,</span> LifecycleBase <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>catalina<span style=color:#719e07>.</span>util<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>stop:<span style=color:#2aa198>377</span><span style=color:#719e07>,</span> Tomcat <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>catalina<span style=color:#719e07>.</span>startup<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>stopTomcat:<span style=color:#2aa198>241</span><span style=color:#719e07>,</span> TomcatEmbeddedServletContainer <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>springframework<span style=color:#719e07>.</span>boot<span style=color:#719e07>.</span>context<span style=color:#719e07>.</span>embedded<span style=color:#719e07>.</span>tomcat<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>stop:<span style=color:#2aa198>295</span><span style=color:#719e07>,</span> TomcatEmbeddedServletContainer <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>springframework<span style=color:#719e07>.</span>boot<span style=color:#719e07>.</span>context<span style=color:#719e07>.</span>embedded<span style=color:#719e07>.</span>tomcat<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>stopAndReleaseEmbeddedServletContainer:<span style=color:#2aa198>306</span><span style=color:#719e07>,</span> EmbeddedWebApplicationContext <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>springframework<span style=color:#719e07>.</span>boot<span style=color:#719e07>.</span>context<span style=color:#719e07>.</span>embedded<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>onClose:<span style=color:#2aa198>155</span><span style=color:#719e07>,</span> EmbeddedWebApplicationContext <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>springframework<span style=color:#719e07>.</span>boot<span style=color:#719e07>.</span>context<span style=color:#719e07>.</span>embedded<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>doClose:<span style=color:#2aa198>1014</span><span style=color:#719e07>,</span> AbstractApplicationContext <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>springframework<span style=color:#719e07>.</span>context<span style=color:#719e07>.</span>support<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>run:<span style=color:#2aa198>929</span><span style=color:#719e07>,</span> AbstractApplicationContext$2 <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>springframework<span style=color:#719e07>.</span>context<span style=color:#719e07>.</span>support<span style=color:#719e07>)</span>
+</span></span></code></pre></div><p>Through source code analysis, it was executed by Spring’s registered <code>ShutdownHook</code>.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>registerShutdownHook</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span><span style=color:#719e07>this</span><span style=color:#719e07>.</span>shutdownHook <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// No shutdown hook registered yet.
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>this</span><span style=color:#719e07>.</span>shutdownHook <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>run</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>synchronized</span> <span style=color:#719e07>(</span>startupShutdownMonitor<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> doClose<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>};</span>
+</span></span><span style=display:flex><span> Runtime<span style=color:#719e07>.</span>getRuntime<span style=color:#719e07>().</span>addShutdownHook<span style=color:#719e07>(</span><span style=color:#719e07>this</span><span style=color:#719e07>.</span>shutdownHook<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>By reffering the Java API documentation[2], we found that ShutdownHook will be executed under the following two cases.</p><blockquote><p>The Java virtual machine <em>shuts down</em> in response to two kinds of events:</p><ul><li>The program <em>exits</em> normally, when the last non-daemon thread exits or when the <code>exit</code> (equivalently, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#exit-int-><code>System.exit</code>< [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>test</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(</span><span style=color:#719e07>new</span> Runnable<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>run</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>1000000</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>InterruptedException e<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> e<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}).</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>[1] <a href=https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.8>https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.8</a></p><p>[2] <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Runtime.html#addShutdownHook>https://docs.oracle.com/javase/8/docs/api/java/lang/Runtime.html#addShutdownHook</a></p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018 [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/08/26/the-fourth-dubbo-meetup-has-been-held-in-chengdu/index.html b/en/blog/2018/08/26/the-fourth-dubbo-meetup-has-been-held-in-chengdu/index.html
new file mode 100644
index 00000000000..cee142f9e87
--- /dev/null
+++ b/en/blog/2018/08/26/the-fourth-dubbo-meetup-has-been-held-in-chengdu/index.html
@@ -0,0 +1,10 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-meetup-chengdu.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+secti [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20fourth%20Dubbo%20meetup%20has%20been%20held%20in%20Chengdu" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#the-depth-of-the-user-communication>The depth of the user communication</a></li><li><a href=#meetup-activity-information>Meetup activity information</a></li><li><a href=#the-registration-information>The registration information</a></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-m [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/09/02/how-to-implement-a-fully-asynchronous-calls-chain-based-on-dubbo/index.html b/en/blog/2018/09/02/how-to-implement-a-fully-asynchronous-calls-chain-based-on-dubbo/index.html
new file mode 100644
index 00000000000..d8b13a57184
--- /dev/null
+++ b/en/blog/2018/09/02/how-to-implement-a-fully-asynchronous-calls-chain-based-on-dubbo/index.html
@@ -0,0 +1,225 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/09/02/how-to-implement-a-fully-asynchronous-calls-chain-based-on-dubbo/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-09-02T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="How to implement a [...]
+"><meta itemprop=datePublished content="2018-09-02T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1728"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="How to implement a fully asynchronous calls chain based on Dubbo"><meta name=twitter:description content="This article recalls how asynchronous call is implemented in Dubbo 2.6.x, and introduces the new way based [...]
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-new-async.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=How%20to%20implement%20a%20fully%20asynchronous%20calls%20chain%20based%20on%20Dubbo" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#asynchronous-mode-before-version-26x>Asynchronous mode before version 2.6.x</a></li><li><a href=#enhancement-based-on-completablefuture-in-version-270>Enhancement based on CompletableFuture in version 2.7.0</a></li><li><a href=#example-1completablefuture-interface>example 1:CompletableFuture interface< [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>findFoo</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"fooService"</span> interface=<span style=color:#2aa198>"com.alibaba.foo.FooService"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:method</span> name=<span style=color:#2aa198>"findFoo"</span> async=<span style=color:#2aa198>"true"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dubbo:reference></span>
+</span></span></code></pre></div><ol start=2><li>Obtain Future object through RpcContext.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#586e75>// this call will return null immediately
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>fooService<span style=color:#719e07>.</span>findFoo<span style=color:#719e07>(</span>fooId<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// Obtain the Future instance. When the result is returned, Future instance will be notified and the result will be set to Future instance.
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>Future<span style=color:#719e07><</span>Foo<span style=color:#719e07>></span> fooFuture <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>().</span>getFuture<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>fooFuture<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span></code></pre></div><p>or</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#586e75>// this call will return null immediately
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>fooService<span style=color:#719e07>.</span>findFoo<span style=color:#719e07>(</span>fooId<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// get Dubbo's built-in ResponseFuture, and set the callback
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>ResponseFuture future <span style=color:#719e07>=</span> <span style=color:#719e07>((</span>FutureAdapter<span style=color:#719e07>)</span>RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>().</span>getFuture<span style=color:#719e07>()).</span>getFuture<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>future<span style=color:#719e07>.</span>setCallback<span style=color:#719e07>(</span><span style=color:#719e07>new</span> ResponseCallback<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>done</span><span style=color:#719e07>(</span>Object response<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>print<span style=color:#719e07>(</span>response<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>caught</span><span style=color:#719e07>(</span>Throwable exception<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> exception<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>});</span>
+</span></span></code></pre></div><p>From this simple example, we can see there are some inconveniences in use:</p><ol><li>The synchronization interface of findFoo cannot directly return a Future object representing the asynchronous result, which is further obtained through RpcContext.</li><li>Future object can only be obtained from get method that will block until getting the result.</li><li>Callback can be set by getting the built-in ResponseFuture interface. However, the API to obtain [...]
+</span></span><span style=display:flex><span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div></li><li><p>If you don’t want to define the return value of the interface as a Future object, or if there is a defined synchronization interface, you can additionally define an asynchronous interface and provide a method to return a Future object.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span s [...]
+</span></span><span style=display:flex><span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@AsyncFor</span><span style=color:#719e07>(</span>AsyncService<span style=color:#719e07>.</span>class<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>GrettingServiceAsync</span> <span style=color:#268bd2>extends</span> GreetingsService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHiAsync</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>In this way, Provider can only implement the sayHi method. The Consumer can get a Future instance by directly calling sayHiAsync, and Dubbo framework will convert it to a call to the sayHi method on the Provider side automatically.</p><p>Providing an asynchronous method definition for each synchronization method can be inconvenient. Further, using <a href=https://github.com/dubbo/dubbo-async-processor>Annotation Processor implementation</a> in the Dubb [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AsyncServiceImpl</span> <span style=color:#268bd2>implements</span> AsyncService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> AsyncContext asyncContext <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>startAsync<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(()</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>write<span style=color:#719e07>(</span><span style=color:#2aa198>"Hello "</span> <span style=color:#719e07>+</span> name <span style=color:#719e07>+</span> <span style=color:#2aa198>", response from provider."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}).</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>At the beginning of the method body, it starts asynchronization by running <code>RpcContext.startAsync()</code> , and it starts a new thread to execute the business logic asynchronously. After the time-consuming operation is completed, the result is written back by <code>asyncContext.write</code>.</p></li><li><p>RpcContext returns CompletableFuture directly.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-s [...]
+</span></span></code></pre></div></li></ol><p>All of the above enhancements are based on the compatibility with existing asynchronous programming, so asynchronous programs written based on 2.6.x versions can be successfully compiled without any modification.</p><p>Next, let’s illustrate how to implement a fully asynchronous Dubbo service call chain through a few examples.</p><h2 id=example-1completablefuture-interface>example 1:CompletableFuture interface</h2><p>CompletableFuture i [...]
+</span></span><span style=display:flex><span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Note that the return type of this interface is <code>CompletableFuture<String></code>.</p></li><li><p>Provider Side</p><ul><li><p>Implementation</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>Async [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> CompletableFuture<span style=color:#719e07>.</span>supplyAsync<span style=color:#719e07>(()</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>5000</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>InterruptedException e<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> e<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"async response from provider."</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>We can see that the business code is switched to be executed in the new thread by supplyAsync, so the Provider side is asynchronous.</p></li><li><p>Config</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"asyncService"</span> clas [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.async.api.AsyncService"</span> ref=<span style=color:#2aa198>"asyncService"</span><span style=color:#268bd2>/></span>
+</span></span></code></pre></div><p>The Config is the same as the original interface.</p></li></ul></li><li><p>Consumer Side</p><ul><li>Config</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"asyncService"</span> timeout=<span style=color:#2aa198>& [...]
+</span></span></code></pre></div><p>The Config is the same as the original interface.</p><ul><li>Call remote service</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=colo [...]
+</span></span><span style=display:flex><span> ClassPathXmlApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ClassPathXmlApplicationContext<span style=color:#719e07>(</span><span style=color:#719e07>new</span> String<span style=color:#719e07>[]{</span><span style=color:#2aa198>"META-INF/spring/async-consumer.xml"</span><span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> AsyncService asyncService <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>AsyncService<span style=color:#719e07>)</span> context<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span><span style=color:#2aa198>"asyncService"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> future <span style=color:#719e07>=</span> asyncService<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>(</span><span style=color:#2aa198>"async call request"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> future<span style=color:#719e07>.</span>whenComplete<span style=color:#719e07>((</span>v<span style=color:#719e07>,</span> t<span style=color:#719e07>)</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>t <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> t<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>else</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Response: "</span> <span style=color:#719e07>+</span> v<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Executed before response return."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><code>CompletableFuture<String> future = asyncService.sayHello("async call request");</code>It is convenient to return the Future instance, which implements the asynchronous service call on the Consumer side.</p></li></ol><h2 id=example-2synchronous-interface-uses-annotation-processor>Example 2:Synchronous interface uses Annotation Processor</h2><p>This example demonstrates how to implement the Consumer-side asynchronous service call using the Annot [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>GreetingsService</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHi</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>This is a generic definition of the Dubbo service interface. Note that add the @DubboAsync annotation when using Annotation Processor.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.alibaba<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>dubbo-async-processer<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>1.0.0-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><plugin></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.apache.maven.plugins<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>maven-compiler-plugin<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>3.7.0<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><configuration></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><source></span>1.8<span style=color:#268bd2></source></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><target></span>1.8<span style=color:#268bd2></target></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><annotationProcessorPaths></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><path></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>com.alibaba<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>dubbo-async-processer<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>1.0.0-SNAPSHOT<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></path></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></annotationProcessorPaths></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></configuration></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></plugin></span>
+</span></span></code></pre></div><p>The above config is the Maven dependency that imports dubbo-async-processer processor. Developers who define interfaces (providing APIs) usually add the above dependencies to the project, so that when doing API packaging, the following interface definitions will be automatically generated in APIs:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data- [...]
+</span></span></span><span style=display:flex><span><span style=color:#586e75>* Generated by dubbo-async-processer
+</span></span></span><span style=display:flex><span><span style=color:#586e75>*/</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>package</span> com.alibaba.dubbo.samples.api<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> java.util.concurrent.CompletableFuture<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@javax.annotation.Generated</span><span style=color:#719e07>(</span><span style=color:#2aa198>"com.alibaba.dubbo.async.processor.AsyncAnnotationProcessor"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@org.apache.dubbo.common.config.AsyncFor</span><span style=color:#719e07>(</span>com<span style=color:#719e07>.</span>alibaba<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>samples<span style=color:#719e07>.</span>api<span style=color:#719e07>.</span>GreetingsService<span style=color:#719e07>.</span>class<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>GreetingsServiceAsync</span> <span style=color:#268bd2>extends</span> GreetingsService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>CompletableFuture<span style=color:#719e07><</span>java<span style=color:#719e07>.</span>lang<span style=color:#719e07>.</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHiAsync</span><span style=color:#719e07>(</span>java<span style=color:#719e07>.</span>lang<span style=color:#719e07>.</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div></li><li><p>Provider side</p><ul><li>Config</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"greetingsService"</span> class=<span style=color:#2aa198>"com.alibaba.dubbo.samples.async.impl.GreetingsServiceImpl"</span><s [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.api.GreetingsService"</span> ref=<span style=color:#2aa198>"greetingsService"</span><span style=color:#268bd2>/></span>
+</span></span></code></pre></div><ul><li>Service implementation</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>GreetingsServiceImpl</span> <span style=color:#268bd2>implements</span> GreetingsService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHi</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hi, "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div></li><li><p>Consumer side</p><ul><li>Config</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span> <span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"greetingsService"</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.api.GreetingsServiceAsync" [...]
+</span></span></code></pre></div><p>Note that the service interface uses <strong>GreetingsServiceAsync</strong></p><ul><li>Service call</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</s [...]
+</span></span><span style=display:flex><span> ClassPathXmlApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ClassPathXmlApplicationContext<span style=color:#719e07>(</span><span style=color:#719e07>new</span> String<span style=color:#719e07>[]{</span><span style=color:#2aa198>"META-INF/spring/async-consumer.xml"</span><span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> GreetingsServiceAsync greetingsService <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>GreetingsServiceAsync<span style=color:#719e07>)</span> context<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span><span style=color:#2aa198>"greetingsService"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> future <span style=color:#719e07>=</span> greetingsService<span style=color:#719e07>.</span>sayHiAsync<span style=color:#719e07>(</span><span style=color:#2aa198>"async call reqeust"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"async call ret :"</span> <span style=color:#719e07>+</span> future<span style=color:#719e07>.</span>get<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>In this way, we can use <code>CompletableFuture<String> future = greetingsService.sayHiAsync("async call reqeust");</code> directly,and return CompletableFuture.</p></li></ol><h2 id=example-3use-asynccontext>Example 3:Use AsyncContext</h2><p>This example demonstrates how to implement the Provider-side asynchronous execution through AsyncContext based on the original synchronous interface. Code link <a href=https://github.com/apache/dubbo-samples/tre [...]
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div></li><li><p>Provider side</p><ul><li>Config</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"asyncService"</span> class=<span style=color:#2aa198>"com.alibaba.dubbo.samples.async.impl.AsyncServiceImpl"</span><span styl [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:service</span> async=<span style=color:#2aa198>"true"</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.async.api.AsyncService"</span> ref=<span style=color:#2aa198>"asyncService"</span><span style=color:#268bd2>/></span>
+</span></span></code></pre></div><p>Note that adding <code>async="true"</code> indicates that this is a service that starts the Provider-side execution asynchronously.</p><ul><li>Asynchronous execution implementation</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> AsyncContext asyncContext <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>startAsync<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(()</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>signalContextSwitch<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>500</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>InterruptedException e<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> e<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>write<span style=color:#719e07>(</span><span style=color:#2aa198>"Hello "</span> <span style=color:#719e07>+</span> name <span style=color:#719e07>+</span> <span style=color:#2aa198>", response from provider."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}).</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div></li><li><p>Consumer side</p><ul><li>Config</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"asyncService"</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.async.api.AsyncService"</span> [...]
+</span></span></code></pre></div><ul><li>Service call</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> ar [...]
+</span></span><span style=display:flex><span> ClassPathXmlApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ClassPathXmlApplicationContext<span style=color:#719e07>(</span><span style=color:#719e07>new</span> String<span style=color:#719e07>[]{</span><span style=color:#2aa198>"META-INF/spring/async-consumer.xml"</span><span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> AsyncService asyncService <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>AsyncService<span style=color:#719e07>)</span> context<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span><span style=color:#2aa198>"asyncService"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>asyncService<span style=color:#719e07>.</span>sayHello<span style=color:#719e07>(</span><span style=color:#2aa198>"async call request"</span><span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div></li></ol><h2 id=new-problems-resulted-from-asynchronization>New problems resulted from asynchronization</h2><h3 id=filter-chain>Filter Chain</h3><p>The following is a complete Filter chain for a normal Dubbo call.</p><p>After using the asynchronous call, since the asynchronous result is executed separately in the asynchronous thread, the Result passed through the second half of the Filter chain is null, and the real result cannot be processed by the Filt [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AsyncPostprocessFilter</span> <span style=color:#268bd2>extends</span> AbstractPostProcessFilter <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Result <span style=color:#268bd2>invoke</span><span style=color:#719e07>(</span>Invoker<span style=color:#719e07><?></span> invoker<span style=color:#719e07>,</span> Invocation invocation<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> RpcException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> postProcessResult<span style=color:#719e07>(</span>invoker<span style=color:#719e07>.</span>invoke<span style=color:#719e07>(</span>invocation<span style=color:#719e07>),</span> invoker<span style=color:#719e07>,</span> invocation<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>protected</span> Result <span style=color:#268bd2>doPostProcess</span><span style=color:#719e07>(</span>Result result<span style=color:#719e07>,</span> Invoker<span style=color:#719e07><?></span> invoker<span style=color:#719e07>,</span> Invocation invocation<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Filter get the return value: "</span> <span style=color:#719e07>+</span> result<span style=color:#719e07>.</span>getValue<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> result<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=context-passing>Context passing</h3><p>Currently, the context we are considering mainly refers to the data stored in the RpcContext. In most scenarios, the user needs to complete the passing of the Context before switching the service thread.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style [...]
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Save the context of the current thread
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> RpcContext context <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> CompletableFuture<span style=color:#719e07><</span>String<span style=color:#719e07>></span> <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> CompletableFuture<span style=color:#719e07>.</span>supplyAsync<span style=color:#719e07>(()</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Set context into new thread
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> RpcContext<span style=color:#719e07>.</span>setContext<span style=color:#719e07>(</span>context<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>5000</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>InterruptedException e<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> e<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"async response from provider."</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>});</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>However, AsyncContext also provides the signalContextSwitch() method for a convenient Context switch.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AsyncServiceImpl</span> <span style=color:#268bd2>i [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> AsyncContext asyncContext <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>startAsync<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(()</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>signalContextSwitch<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>500</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>InterruptedException e<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> e<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>write<span style=color:#719e07>(</span><span style=color:#2aa198>"Hello "</span> <span style=color:#719e07>+</span> name <span style=color:#719e07>+</span> <span style=color:#2aa198>", response from provider."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}).</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/08/26/the-fourth-dubbo-meetup-has-been-held-in-chengdu/ aria-label="Previous - The fourth Dubbo meetup has been held in Chengdu" class="btn btn-primary"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2018/09/02/how-to-prepare-an-apache-release/ aria-label="Next - How to prepare an Apache Release" class="btn btn-primary">Next<span cla [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/09/02/how-to-prepare-an-apache-release/index.html b/en/blog/2018/09/02/how-to-prepare-an-apache-release/index.html
new file mode 100644
index 00000000000..f84b7be737b
--- /dev/null
+++ b/en/blog/2018/09/02/how-to-prepare-an-apache-release/index.html
@@ -0,0 +1,256 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/09/02/how-to-prepare-an-apache-release/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-09-02T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="How to prepare an Apache Release"><meta itemprop=de [...]
+"><meta itemprop=datePublished content="2018-09-02T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="2473"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="How to prepare an Apache Release"><meta name=twitter:description content="This article introduces how to the Apache publish content and process
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/prepare-an-apache-release.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=How%20to%20prepare%20an%20Apache%20Release" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#understanding-the-apache-release-cycle>Understanding the Apache Release Cycle</a></li><li><a href=#preparation-of-local-building-environment>Preparation of Local Building Environment</a></li><li><a href=#pack--upload>Pack & Upload</a><ul><li><a href=#note>Note</a></li></ul></li><li><a href=#prepare-apa [...]
+</span></span><span style=display:flex><span>$ gpg --version <span style=color:#586e75>#check version,should be 2.x</span>
+</span></span></code></pre></div></li><li><p>Generate the key with GPG</p><ul><li>Generate the key according to the prompt</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ gpg2 --full-gen-key
+</span></span><span style=display:flex><span>gpg <span style=color:#719e07>(</span>GnuPG<span style=color:#719e07>)</span> 2.0.12; Copyright <span style=color:#719e07>(</span>C<span style=color:#719e07>)</span> <span style=color:#2aa198>2009</span> Free Software Foundation, Inc.
+</span></span><span style=display:flex><span>This is free software: you are free to change and redistribute it.
+</span></span><span style=display:flex><span>There is NO WARRANTY, to the extent permitted by law.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Please <span style=color:#719e07>select</span> what kind of key you want:
+</span></span><span style=display:flex><span> <span style=color:#719e07>(</span>1<span style=color:#719e07>)</span> RSA and RSA <span style=color:#719e07>(</span>default<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>(</span>2<span style=color:#719e07>)</span> DSA and Elgamal
+</span></span><span style=display:flex><span> <span style=color:#719e07>(</span>3<span style=color:#719e07>)</span> DSA <span style=color:#719e07>(</span>sign only<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>(</span>4<span style=color:#719e07>)</span> RSA <span style=color:#719e07>(</span>sign only<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>Your selection? <span style=color:#2aa198>1</span>
+</span></span><span style=display:flex><span>RSA keys may be between <span style=color:#2aa198>1024</span> and <span style=color:#2aa198>4096</span> bits long.
+</span></span><span style=display:flex><span>What keysize <span style=color:#719e07>do</span> you want? <span style=color:#719e07>(</span>2048<span style=color:#719e07>)</span> <span style=color:#2aa198>4096</span>
+</span></span><span style=display:flex><span>Requested keysize is <span style=color:#2aa198>4096</span> bits
+</span></span><span style=display:flex><span>Please specify how long the key should be valid.
+</span></span><span style=display:flex><span> <span style=color:#268bd2>0</span> <span style=color:#719e07>=</span> key does not expire
+</span></span><span style=display:flex><span> <n> <span style=color:#719e07>=</span> key expires in n days
+</span></span><span style=display:flex><span> <n>w <span style=color:#719e07>=</span> key expires in n weeks
+</span></span><span style=display:flex><span> <n>m <span style=color:#719e07>=</span> key expires in n months
+</span></span><span style=display:flex><span> <n>y <span style=color:#719e07>=</span> key expires in n years
+</span></span><span style=display:flex><span>Key is valid <span style=color:#719e07>for</span>? <span style=color:#719e07>(</span>0<span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span>Key does not expire at all
+</span></span><span style=display:flex><span>Is this correct? <span style=color:#719e07>(</span>y/N<span style=color:#719e07>)</span> y
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>GnuPG needs to construct a user ID to identify your key.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Real name: Robert Burrell Donkin
+</span></span><span style=display:flex><span>Email address: rdonkin@apache.org
+</span></span><span style=display:flex><span>Comment: CODE SIGNING KEY
+</span></span><span style=display:flex><span>You selected this USER-ID:
+</span></span><span style=display:flex><span> <span style=color:#2aa198>"Robert Burrell Donkin (CODE SIGNING KEY) <rdonkin@apache.org>"</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Change <span style=color:#719e07>(</span>N<span style=color:#719e07>)</span>ame, <span style=color:#719e07>(</span>C<span style=color:#719e07>)</span>omment, <span style=color:#719e07>(</span>E<span style=color:#719e07>)</span>mail or <span style=color:#719e07>(</span>O<span style=color:#719e07>)</span>kay/<span style=color:#719e07>(</span>Q<span style=color:#719e07>)</span>uit? O
+</span></span><span style=display:flex><span>You need a Passphrase to protect your secret key. <span style=color:#586e75># enter the password, which will be used frequently when packaging.</span>
+</span></span></code></pre></div><ul><li>View key id</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>$ gpg --list-keys
+</span></span><span style=display:flex><span>pub rsa4096/28681CB1 2018-04-26 <span style=color:#586e75># 28681CB1 is the key id</span>
+</span></span><span style=display:flex><span>uid <span style=color:#719e07>[</span>ultimate<span style=color:#719e07>]</span> liujun <span style=color:#719e07>(</span>apache-dubbo<span style=color:#719e07>)</span> <liujun@apache.org>
+</span></span><span style=display:flex><span>sub rsa4096/D3D6984B 2018-04-26
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>########### Note: Different diaplay for different version.</span>
+</span></span><span style=display:flex><span>$ gpg --list-keys
+</span></span><span style=display:flex><span>pub rsa4096 2018-11-12 <span style=color:#719e07>[</span>SC<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span> 63AAE9838F4A303E40BAF5FEA3A1CA7A5D4A3981 <span style=color:#586e75># Last 8 character(5D4A3981) as key id,it will be used when send public key to keyserver</span>
+</span></span><span style=display:flex><span>uid <span style=color:#719e07>[</span> 绝对 <span style=color:#719e07>]</span> Victory Cao <span style=color:#719e07>(</span>CODE SIGNING KEY<span style=color:#719e07>)</span> <victory@apache.org>
+</span></span><span style=display:flex><span>sub rsa4096 2018-11-12 <span style=color:#719e07>[</span>E<span style=color:#719e07>]</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># send public key to keyserver via key id </span>
+</span></span><span style=display:flex><span>$ gpg --keyserver pgpkeys.mit.edu --send-key 28681CB1
+</span></span><span style=display:flex><span><span style=color:#586e75># Here pgpkeys.mit.edu is a random selection of keyserver. Any key server from the list https://sks-keyservers.net/status/ is acceptable because they are automatically synchronized.</span>
+</span></span></code></pre></div><ul><li>If there are multiple public keys,you can set the default key</li></ul><p>~/.gnupg/gpg.conf</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span># If you have more than 1 secret key in your keyring, you may want to
+</span></span><span style=display:flex><span># uncomment the following option and set your preferred keyid.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>default-key 28681CB1
+</span></span></code></pre></div><ul><li>If there are multiple public keys, you can also delete unuseful key:</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span><span style=color:#586e75>### Delete the private key first, then delete the public key.</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>$ gpg --yes --delete-secret-keys shenglicao2@gmail.com <span style=color:#586e75>### indicate email address </span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>$ gpg --delete-keys 1808C6444C781C0AEA0AAD4C4D6A8007D20DB8A4
+</span></span></code></pre></div></li><li><p>Set up Apache central repository.</p><ul><li>The parent pom of Dubbo project is apache pom</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><parent></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><groupId></span>org.apache<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><artifactId></span>apache<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><version></span>19<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></parent></span>
+</span></span></code></pre></div><ul><li><p>Add the following contents to .m2/settings.xml</p><p>Enter the passwords after
+encrypting by <a href=http://maven.apache.org/guides/mini/guide-encryption.html>maven-encryption-plugin</a></p></li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#268bd2><settings></span>
+</span></span><span style=display:flex><span>...
+</span></span><span style=display:flex><span> <span style=color:#268bd2><servers></span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- To publish a snapshot of some part of Maven --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><server></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><id></span>apache.snapshots.https<span style=color:#268bd2></id></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><username></span> <span style=color:#586e75><!-- YOUR APACHE LDAP USERNAME --></span> <span style=color:#268bd2></username></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><password></span> <span style=color:#586e75><!-- YOUR APACHE LDAP PASSWORD (encrypted) --></span> <span style=color:#268bd2></password></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></server></span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- To stage a release of some part of Maven --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><server></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><id></span>apache.releases.https<span style=color:#268bd2></id></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><username></span> <span style=color:#586e75><!-- YOUR APACHE LDAP USERNAME --></span> <span style=color:#268bd2></username></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><password></span> <span style=color:#586e75><!-- YOUR APACHE LDAP PASSWORD (encrypted) --></span> <span style=color:#268bd2></password></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></server></span>
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- gpg passphrase used when generate key --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><server></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><id></span>gpg.passphrase<span style=color:#268bd2></id></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><passphrase></span><span style=color:#586e75><!-- yourKeyPassword --></span><span style=color:#268bd2></passphrase></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></server></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></servers></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></settings></span>
+</span></span></code></pre></div></li></ol><h2 id=pack--upload>Pack & Upload</h2><ol><li><p>Pull the new branch from the master branch as the release branch. If you want to release the ${release_version} version now, pull the new branch ${release_version}-release from 2.6.x. Then the
+modifications and taggings related to ${release_version} Release Candidates are applied to ${release_version}-release branch, and is merged into the master branch after the final release.</p></li><li><p>First of all, verify that the maven component packing, source packing, signature, etc are working properly on the ${release_version}-release branch.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=la [...]
+</span></span><span style=display:flex><span>$ mvn deploy
+</span></span></code></pre></div></li></ol><p>This push the snapshot package to the maven central repository.</p><ol start=3><li><p>Release with maven-release-plugin</p><ul><li>verify with dryRun</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ mvn release:prepare -Prelease -Darguments<span style=color:#719e07>=</span><span style=c [...]
+</span></span></code></pre></div><ul><li>After verification, run release:prepare</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ mvn release:clean
+</span></span><span style=display:flex><span>$ mvn release:prepare -Prelease -Darguments<span style=color:#719e07>=</span><span style=color:#2aa198>"-Dmaven.test.skip=true"</span> -DautoVersionSubmodules<span style=color:#719e07>=</span><span style=color:#b58900>true</span> -Dusername<span style=color:#719e07>=</span>YOUR GITHUB ID -DpushChanges<span style=color:#719e07>=</span><span style=color:#b58900>false</span>
+</span></span></code></pre></div><blockquote><p>If you are promted to input password for pushing to GitHub (basically including adding new commits and tags), do not input your login password of GitHub. Use <code>Personal access tokens</code> instead. You can go to <a href=https://github.com/settings/profile>https://github.com/settings/profile</a>, click <code>Developer settings</code> -> <code>Personal access tokens</code>, and generate a new token if not. Please refer to this <a href=ht [...]
+you need to choose the release artifactId, next artifactId and the release tag, the default tag is dubbo-parent-xxxx, you need to change it to dubbo-xxxx</p></blockquote><p>After executing the above commands, you will find that:</p><ol><li>source-release.zip and bin-release.zip are generated under dubbo-distribution directory, please unzip it and check the file structure</li><li><code>-DpushChanges=false</code> tells maven not to push the commits and tags to the remote repostiroy. If not [...]
+</span></span></code></pre></div><p>Maven will download the source code from the tag you just pushed, compile it, and deploy to remote maven repsoitry in staging state.</p></li></ol><h3 id=note>Note</h3><blockquote><p>When you deploy the package into repository, it will be interrupted for network. So you must restart to desploy.<br>The problem is that missing package occurred many times at deploying. So you should check the quantity of package, especially parent package.</p></blockquote> [...]
+</span></span></code></pre></div><p>Assume that the local directory is <code>~/apache/incubator/dubbo</code></p></li><li><p>The current release version is ${release_version}, new directory</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ <span style=color:#b58900>cd</span> ~/apache/incubator/dubbo <span style=color:#586e75># dubbo svn ro [...]
+</span></span><span style=display:flex><span>$ mkdir <span style=color:#2aa198>${</span><span style=color:#268bd2>release_version</span><span style=color:#2aa198>}</span>
+</span></span></code></pre></div></li><li><p>Add public key to <a href=https://dist.apache.org/repos/dist/dev/dubbo/KEYS>KEYS</a> file if you are the first time to be a release manager. KEYS is mainly used to allow people who participate in the voting to be imported locally to verify the correctness of the sign.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span sty [...]
+</span></span></code></pre></div><p>For more information on how to get your key id, please refer to this <a href=https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key>guide</a></p></li><li><p>Copy the source.zip package from the Dubbo root directory to the svn local repository dubbo/${release_version}</p></li><li><p>Generate sha512 sign</p><p>For source-release.zip</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-c [...]
+</span></span></code></pre></div><p>For bin-release.zip</p><p>Please add <code>-b</code> paramter when generating sha512 for bin-release.zip, which indicates it is a binary file.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ shasum -b -a <span style=color:#2aa198>512</span> apache-dubbo-<span style=color:#2aa198>${</span><span style=c [...]
+</span></span></code></pre></div><p>You should generate something like this:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>b8f13d1df6d6c9a1facc72fafc00b2d22bea1e600517c507467d8fca2f776a7a3877101742da53114bfa629ca5b941eb4d9ef989de43f0833e2a794e7ccf5c8a *apache-dubbo-spring-boot-project-2.7.0-bin-release.zip
+</span></span></code></pre></div><p>Note there is a <code>*</code> sign before the file name.</p></li><li><p>If the binary release is accompanied with the source release. Run the following command in the dubbo-distribution module:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ mvn install
+</span></span></code></pre></div><p>Go to target directory, copy bin-release.zip and bin-release.zip.asc to svn local repository dubbo/${release_version}, and refer to step 6 to generate sha512 sign.</p></li><li><p>Commit to Apache svn</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>$ svn status
+</span></span><span style=display:flex><span>$ svn commit -m <span style=color:#2aa198>'prepare for ${release_version} RC1'</span>
+</span></span></code></pre></div></li></ol><h2 id=verify-release-candidates>Verify Release Candidates</h2><p><strong>A full check list can be found <a href=https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist>here</a></strong></p><p>The verification link includes but is not limited to the following contents and forms:</p><h3 id=check-signatures-and-hashes-are-good>Check signatures and hashes are good</h3><h4 id=check-the-sha512-sum>check the sha512 sum</h4><d [...]
+</span></span><span style=display:flex><span>$ shasum -c apache-dubbo-<span style=color:#2aa198>${</span><span style=color:#268bd2>release_version</span><span style=color:#2aa198>}</span>-bin-release.zip.sha512
+</span></span></code></pre></div><h4 id=check-the-gpg-signarure>check the gpg signarure</h4><p>If it’s your first time verify a release candidte, you should import public keys first.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span> $ curl https://dist.apache.org/repos/dist/dev/dubbo/KEYS >> KEYS <span style=color:#586e75># download [...]
+</span></span><span style=display:flex><span> $ gpg --import KEYS <span style=color:#586e75># import keys</span>
+</span></span><span style=display:flex><span> $ gpg —edit-key liujun
+</span></span><span style=display:flex><span> > trust <span style=color:#586e75># type trust command</span>
+</span></span></code></pre></div><p>Now, you can verify signature with command</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>gpg --verify apache-dubbo-2.6.3-source-release.zip.asc apache-dubbo-2.6.3-source-release.zip
+</span></span><span style=display:flex><span>gpg --verify apache-dubbo-2.6.3-bin-release.zip.asc apache-dubbo-2.6.3-bin-release.zip
+</span></span></code></pre></div><h3 id=check-source-release-file-content>Check source release file content</h3><p>Unzip apache-dubbo-${release_version}-source-release.zip to the default directory and check the following:</p><ul><li>Directory with ‘incubating’ in name
+<code>apache-dubbo-${release_version}-source-release</code></li><li>DISCLAIMER exists</li><li>LICENSE and NOTICE exists and contents are good</li><li>All files and no binary files exist</li><li>All files has standard ASF License header</li><li>Can compile from source</li><li>All unit tests can pass<div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=display:flex><span>mv [...]
+</span></span><span style=display:flex><span><span style=color:#586e75># you can also open rat and style plugin to check if every file meets requirements.</span>
+</span></span><span style=display:flex><span>mvn clean <span style=color:#b58900>test</span> -Drat.skip<span style=color:#719e07>=</span><span style=color:#b58900>false</span> -Dcheckstyle.skip<span style=color:#719e07>=</span><span style=color:#b58900>false</span>
+</span></span></code></pre></div></li><li>Release candidates match with corresponding tags, you can find tag link and hash in vote email.<ul><li>check the version number in pom.xml are the same</li><li>check there are no extra files or directories in the source package, for example, no empty directories or useless log files.<br><code>diff -r rc_dir tag_dir</code></li><li>check the top n tag commits, dive into the related files and check if the source package has the same changes</li></ul [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>This is a call for vote to release Apache Dubbo (Incubating) version 2.6.2.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The release candidates:
+</span></span><span style=display:flex><span>https://dist.apache.org/repos/dist/dev/dubbo/2.6.2/
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Git tag for the release:
+</span></span><span style=display:flex><span>https://github.com/apache/dubbo/tree/dubbo-2.6.2
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Hash for the release tag:
+</span></span><span style=display:flex><span>afab04c53edab38d52275d2a198ea1aff7a4f41e
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Release Notes:
+</span></span><span style=display:flex><span>https://github.com/apache/dubbo/releases/tag/untagged-4775c0a22c60fca55118
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The artifacts have been signed with Key : 28681CB1, which can be found in the keys file:
+</span></span><span style=display:flex><span>https://dist.apache.org/repos/dist/dev/dubbo/KEYS
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The vote will be open for at least 72 hours or until necessary number of votes are reached.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Please vote accordingly:
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>[ ] +1 approve
+</span></span><span style=display:flex><span>[ ] +0 no opinion
+</span></span><span style=display:flex><span>[ ] -1 disapprove with the reason
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Thanks,
+</span></span><span style=display:flex><span>The Apache Dubbo (Incubating) Team
+</span></span></code></pre></div><p>The mail template for Apache Incubator vote:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-text data-lang=text><span style=display:flex><span>Hello all,
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>This is a call for vote to release Apache Dubbo (Incubating) version 2.6.4.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The Apache Dubbo community has voted on and approved a proposal to release
+</span></span><span style=display:flex><span>Apache Dubbo (Incubating) version 2.6.4.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>We now kindly request the Incubator PMC members review and vote on this
+</span></span><span style=display:flex><span>incubator release.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Apache Dubbo™ is a high-performance, java based, open source
+</span></span><span style=display:flex><span>RPC framework. Dubbo offers three key functionalities, which include
+</span></span><span style=display:flex><span>interface based remote call, fault tolerance & load balancing, and
+</span></span><span style=display:flex><span>automatic service registration & discovery.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Dubbo community vote and result thread:
+</span></span><span style=display:flex><span>https://lists.apache.org/thread.html/8d5c39eece6288beed2e22ca976350728c571d2a9cef1c9a9e56a409@%3Cdev.dubbo.apache.org%3E
+</span></span><span style=display:flex><span>A minor issue also can be found in the above thread.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The release candidates (RC1):
+</span></span><span style=display:flex><span>https://dist.apache.org/repos/dist/dev/dubbo/2.6.4
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Git tag for the release (RC1):
+</span></span><span style=display:flex><span>https://github.com/apache/dubbo/tree/dubbo-2.6.4
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Hash for the release tag:
+</span></span><span style=display:flex><span>88037747a3b69d3225c73f6fbcda36ebd8435887
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Release Notes:
+</span></span><span style=display:flex><span>*https://github.com/apache/dubbo/blob/dubbo-2.6.4/CHANGES.md
+</span></span><span style=display:flex><span><https://github.com/apache/dubbo/blob/dubbo-2.6.4/CHANGES.md>*
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The artifacts have been signed with Key : 7955FB6D1DD21CF7, which can be
+</span></span><span style=display:flex><span>found in the keys file:
+</span></span><span style=display:flex><span>https://dist.apache.org/repos/dist/dev/dubbo/KEYS
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Look at here for how to verify this release candidate:
+</span></span><span style=display:flex><span>https://github.com/apache/dubbo-website/blob/asf-site/blog/en-us/prepare-an-apache-release.md#prepare-apache-release
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The vote will be open for at least 72 hours or until necessary number of
+</span></span><span style=display:flex><span>votes are reached.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Please vote accordingly:
+</span></span><span style=display:flex><span>[ ] +1 approve
+</span></span><span style=display:flex><span>[ ] +0 no opinion
+</span></span><span style=display:flex><span>[ ] -1 disapprove with the reason
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Thanks,
+</span></span><span style=display:flex><span>The Apache Dubbo (Incubating) Team
+</span></span></code></pre></div><p>The mail template to announce the vote result:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-text data-lang=text><span style=display:flex><span>We’ve received 3 +1 binding votes and one +1 non-binding vote:
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>+1 binding, Ian Luo
+</span></span><span style=display:flex><span>+1 binding, Huxing Zhang
+</span></span><span style=display:flex><span>+1 binding, Jun Liu
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>+1 non-binding, Jerrick
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>I will create a new vote thread in Apache community now.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Best regards,
+</span></span><span style=display:flex><span>The Apache Dubbo (Incubating) Team
+</span></span></code></pre></div><h2 id=official-release>Official Release</h2><p>When the release vote has passed,</p><ol><li>Add the release files to <a href=https://dist.apache.org/repos/dist/release/dubbo>official release directory</a></li><li>Remove the release files in <a href=https://dist.apache.org/repos/dist/dev/dubbo>dev directory</a></li><li>Remove the the release file for the previous release under <a href=https://dist.apache.org/repos/dist/release/dubbo/>official release dire [...]
+The mail template to announce release:</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-text data-lang=text><span style=display:flex><span>Hello Community,
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>The Apache Dubbo team is pleased to announce that the
+</span></span><span style=display:flex><span>2.6.6 has just been released.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Apache Dubbo™ is a high-performance, java based, open source
+</span></span><span style=display:flex><span>RPC framework. Dubbo offers three key functionalities, which include
+</span></span><span style=display:flex><span>interface based remote call, fault tolerance & load balancing, and
+</span></span><span style=display:flex><span>automatic service registration & discovery.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Both the source release[1] and the maven binary release[2] are available
+</span></span><span style=display:flex><span>now, you can also find the detailed release notes in here[3].
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>If you have any usage questions, or have problems when upgrading or find
+</span></span><span style=display:flex><span>any problems about enhancements included in this release, please don’t
+</span></span><span style=display:flex><span>hesitate to let us know by sending feedback to this mailing list or filing
+</span></span><span style=display:flex><span>an issue on GitHub[4].
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>=====
+</span></span><span style=display:flex><span>*Disclaimer*
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>Apache Dubbo is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the cod [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>[1] https://dubbo.apache.org/en/blog/2020/05/18/past-releases/
+</span></span><span style=display:flex><span>[2] http://central.maven.org/maven2/com/alibaba/dubbo
+</span></span><span style=display:flex><span>[3] https://github.com/apache/dubbo/releases
+</span></span><span style=display:flex><span>[4] https://github.com/apache/dubbo/issues
+</span></span></code></pre></div><h2 id=complete-maven-convenient-binary-release>Complete Maven Convenient Binary release</h2><p><strong><a href=https://repository.apache.org/>repository.apache.org</a> The permissions of the nexus repository have been applied, see <a href=https://issues.apache.org/jira/browse/INFRA-16451>jira</a>。</strong></p><p>To release the maven artifacts, go to <a href=https://repository.apache.org>repository.apache.org</a>, and choose the staging repository, click [...]
+</span></span></code></pre></div><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/09/02/how-to-implement-a-fully-asynchronous-calls-chain-based-on-dubbo/ aria-label="Previous - How to implement a fully asynchronous calls chain based on Dubbo" class="btn btn-primary"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2018/09/30/integrate-dubbo-with-kubernetes/ aria-label="Next - Integrate Dubbo with Kubernetes" class=" [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/09/30/integrate-dubbo-with-kubernetes/index.html b/en/blog/2018/09/30/integrate-dubbo-with-kubernetes/index.html
new file mode 100644
index 00000000000..14f22028dc6
--- /dev/null
+++ b/en/blog/2018/09/30/integrate-dubbo-with-kubernetes/index.html
@@ -0,0 +1,27 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2018/09/30/integrate-dubbo-with-kubernetes/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2018-09-30T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Integrate Dubbo with Kubernetes"><meta itemprop=desc [...]
+"><meta itemprop=datePublished content="2018-09-30T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1639"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Integrate Dubbo with Kubernetes"><meta name=twitter:description content="This article will try to register Dubbo service to Kubernetes and integrate with Kubernetes's multi-tenancy security system.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-k8s.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+t [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Integrate%20Dubbo%20with%20Kubernetes" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>Integrate Dubbo with Kubernetes</h1><div class=lead>This article will try to register Dubb [...]
+Dubbo’s consumer directly discovers the corresponding service endpoints of Kubernetes during service discovery procedure, thereby reusing Dubbo’s existing microservice channel capabilities.The benefit is that there is no need to rely on any third-party soft-loaded registry and it can be seamlessly integrated into the multi-tenant security system of Kubernetes. Reference demo : <a href=https://github.com/dubbo/dubbo-Kubernetes>https://github.com/dubbo/dubbo-ubernetes</a></p><h [...]
+<img src=/imgs/blog/2018/09/30/integrate-dubbo-with-kubernetes/TB1m.tEtrorBKNjSZFjXXc_SpXa-1892-870.png alt=img></p></li><li><p>Click Manage enter the repository details page. Click Build in images service panel, construct the demo into image and publish it to the specified repository. As shown below.
+<img src=/imgs/blog/2018/09/30/integrate-dubbo-with-kubernetes/TB1oYqvtcIrBKNjSZK9XXagoVXa-1872-888.png alt=img></p></li><li><p>Switch to Enterprise Distributed Application Services (EDAS) products panel, visit Resource Management -> Clusters. Create Kubernetes cluster and bind ECS. As shown below.
+<img src=/imgs/blog/2018/09/30/integrate-dubbo-with-kubernetes/TB1b1p2trZnBKNjSZFKXXcGOVXa-1858-833.png alt=img></p></li><li><p>Application Management -> Create application, type Kubernetes application and specify the image in the container registry . As shown below.
+<img src=/imgs/blog/2018/09/30/integrate-dubbo-with-kubernetes/TB1_YywtDCWBKNjSZFtXXaC3FXa-1737-588.png alt=img></p><p><img src=/imgs/blog/2018/09/30/integrate-dubbo-with-kubernetes/TB18uzTtdcnBKNjSZR0XXcFqFXa-1820-861.png alt></p></li><li><p>After creation , then deploy applications. As shown below.
+<img src=/imgs/blog/2018/09/30/integrate-dubbo-with-kubernetes/TB1fEpEtrorBKNjSZFjXXc_SpXa-1846-783.png alt></p></li></ol><ul><li><p>The supplementary application name cannot have uppercase letters, all lowercase, otherwise there is a problem of deployment failure.</p></li><li><p>When creating an app, after selecting the image, the next button cannot be clicked and you need to click Choose to continue.</p></li><li><p>EDAS has two independent Kubernetes services, one based on Alibaba Clou [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"kind"</span>: <span style=color:#2aa198>"Pod"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"namespace"</span>: <span style=color:#2aa198>"lzumwsrddf831iwarhehd14zh2-default"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"name"</span>: <span style=color:#2aa198>"dubbo-k8s-demo-610694273-jq238"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"uid"</span>: <span style=color:#2aa198>"12892e67-8bc8-11e8-b96a-00163e02c37b"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"apiVersion"</span>: <span style=color:#2aa198>"v1"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"resourceVersion"</span>: <span style=color:#2aa198>"850282769"</span>
+</span></span><span style=display:flex><span>}, <span style=color:#2aa198>"reason"</span>: <span style=color:#2aa198>"FailedSync"</span>, <span style=color:#2aa198>"message"</span>: <span style=color:#2aa198>"Error syncing pod"</span>, "
+</span></span></code></pre></div><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2018/09/02/how-to-prepare-an-apache-release/ aria-label="Previous - How to prepare an Apache Release" class="btn btn-primary"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2018/10/05/introduction-to-the-dubbo-protocol/ aria-label="Next - Introduction to the Dubbo protocol" class="btn btn-primary">Next<span class=ml-1>→</span></a></li></u [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/10/05/introduction-to-the-dubbo-protocol/index.html b/en/blog/2018/10/05/introduction-to-the-dubbo-protocol/index.html
new file mode 100644
index 00000000000..301a5bd9d7b
--- /dev/null
+++ b/en/blog/2018/10/05/introduction-to-the-dubbo-protocol/index.html
@@ -0,0 +1,33 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-protocol.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Introduction%20to%20the%20Dubbo%20protocol" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#the-concept-of-the-protocol>The concept of the protocol</a><ul><li><a href=#what-is-the-protocol>What is the protocol</a></li><li><a href=#the-definition-of-codec>The definition of <code>Codec</code></a></li></ul></li><li><a href=#common-protocol-mode>Common protocol mode</a><ul><li><a href=#fixed-leng [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>Codec2</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Adaptive</span><span style=color:#719e07>({</span>Constants<span style=color:#719e07>.</span>CODEC_KEY<span style=color:#719e07>})</span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>encode</span><span style=color:#719e07>(</span>Channel channel<span style=color:#719e07>,</span> ChannelBuffer buffer<span style=color:#719e07>,</span> Object message<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Adaptive</span><span style=color:#719e07>({</span>Constants<span style=color:#719e07>.</span>CODEC_KEY<span style=color:#719e07>})</span>
+</span></span><span style=display:flex><span> Object <span style=color:#268bd2>decode</span><span style=color:#719e07>(</span>Channel channel<span style=color:#719e07>,</span> ChannelBuffer buffer<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>enum</span> DecodeResult <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> NEED_MORE_INPUT<span style=color:#719e07>,</span> SKIP_SOME_INPUT
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p><code>Codec</code> works on a protocol, <code>encode</code> method means to encode the communication object to the <code>ByteBufferWrapper</code>, and <code>decode</code> method decodes the <code>ChannelBuffer</code> read from the network into <code>Object</code>, which is the communication object.</p><h2 id=common-protocol-mode>Common protocol mode</h2><p>Protocols in application layer have three general forms: fixed-length protocol, special delimiter [...]
+</span></span><span style=display:flex><span>|fixed-length |
+</span></span><span style=display:flex><span>+————————————————+
+</span></span><span style=display:flex><span>|variable content|
+</span></span><span style=display:flex><span>+————————————————+
+</span></span></code></pre></div><blockquote><p>Refer to Netty’s <code>LengthFieldBasedFrameDecoder</code></p></blockquote><p>The Dubbo protocol is actually a variable length protocol, which is covered in more detail in later chapters.</p><h2 id=the-dubbo-protocol>The Dubbo protocol</h2><h3 id=overview-to-the-dubbo-protocol>Overview to the Dubbo protocol</h3><p>The Dubbo framework defines a proprietary RPC protocol in which the specific content of the request and response protocols [...]
+</span></span><span style=display:flex><span>Service name bytes (line break)
+</span></span><span style=display:flex><span>...
+</span></span></code></pre></div><h2 id=advantages-and-disadvantages-about-the-dubbo-protocol>Advantages and disadvantages about the Dubbo protocol</h2><h3 id=advantages>Advantages</h3><ul><li>The protocol is designed to be very compact. The data type can be represented by 1 bit will not be represented by a byte, such as a boolean type identifier.</li><li>The request header is the same as response header, and the specific content is assembled to the variable part through the serializer, [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/11/07/dubbo-integrates-with-nacos-to-become-a-registry/index.html b/en/blog/2018/11/07/dubbo-integrates-with-nacos-to-become-a-registry/index.html
new file mode 100644
index 00000000000..57dbb96f315
--- /dev/null
+++ b/en/blog/2018/11/07/dubbo-integrates-with-nacos-to-become-a-registry/index.html
@@ -0,0 +1,313 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-registry-nacos-integration.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+mat [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%20Integrates%20with%20Nacos%20to%20Become%20a%20Registry" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#preparation-works>Preparation Works</a></li><li><a href=#get-started-quickly>Get Started Quickly</a></li><li><a href=#increase-maven-dependency>Increase Maven Dependency</a></li><li><a href=#configure-the-registry>Configure the Registry</a></li><li><a href=#dubbo-spring-externalization-configuration>Du [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Dubbo Nacos registry dependency --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.apache<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>dubbo-registry-nacos<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>0.0.2<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Keep latest Nacos client version --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.apache.nacos<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>nacos-client<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>[0.6.1,)<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Dubbo dependency --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.apache<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>dubbo<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>2.6.5<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Alibaba Spring Context extension --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dependency></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><groupId></span>org.apache.spring<span style=color:#268bd2></groupId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><artifactId></span>spring-context-support<span style=color:#268bd2></artifactId></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><version></span>1.0.2<span style=color:#268bd2></version></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2></dependency></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dependencies></span>
+</span></span></code></pre></div><p>When you add dubbo-registry-nacos to your project, you don’t need to programmatically implement the service discovery and registration logic, the actual implementation is provided by the third-party package, and then to configure the Naocs registry.</p><h2 id=configure-the-registry>Configure the Registry</h2><p>Assuming your Dubbo application is assembled by the Spring Framework, there are two configuration options: Dubbo Spring externalization c [...]
+</span></span><span style=display:flex><span>dubbo.application.name <span style=color:#719e07>=</span> <span style=color:#2aa198>your-dubbo-application</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## Zookeeper registry address</span>
+</span></span><span style=display:flex><span>dubbo.registry.address <span style=color:#719e07>=</span> <span style=color:#2aa198>zookeeper://10.20.153.10:2181</span>
+</span></span><span style=display:flex><span>...
+</span></span></code></pre></div><p>Assuming your Nacos Server is also running on server 10.20.153.10 and using the default Nacos service port 8848, you can simply adjust the dubbo.registry.address property as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span><span style=color:#586e75>## 其他属性保持不变</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## Nacos registry address</span>
+</span></span><span style=display:flex><span>dubbo.registry.address <span style=color:#719e07>=</span> <span style=color:#2aa198>nacos://10.20.153.10:8848</span>
+</span></span><span style=display:flex><span>...
+</span></span></code></pre></div><p>Subsequently, restart your Dubbo application, and Dubbo’s service delivery and consumption information can be displayed in the Nacos console:</p><p><img src=/imgs/blog/dubbo-registry-nacos-1.png alt=image-20181213103845976></p><p>As shown in the figure, the service name prefixed with providers: is the meta-information for the service provider, and consumers: represents the meta-information of the service consumer. Click “Details” to v [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><beans</span> xmlns=<span style=color:#2aa198>"http://www.springframework.org/schema/beans"</span>
+</span></span><span style=display:flex><span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xmlns:dubbo=<span style=color:#2aa198>"http://dubbo.apache.org/schema/dubbo"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Provider application information for dependency calculation --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"dubbo-provider-xml-demo"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Using the Zookeeper registry Zookeeper --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> address=<span style=color:#2aa198>"zookeeper://10.20.153.10:2181"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><p>Similar to the Dubbo Spring externalization configuration, simply adjust the address property configuration:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#719e07><?xml version="1.0" encoding="UTF-8"?></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><beans</span> xmlns=<span style=color:#2aa198>"http://www.springframework.org/schema/beans"</span>
+</span></span><span style=display:flex><span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xmlns:dubbo=<span style=color:#2aa198>"http://dubbo.apache.org/schema/dubbo"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Provider application information for dependency calculation--></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"dubbo-provider-xml-demo"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Using the Nacos registry --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> address=<span style=color:#2aa198>"nacos://10.20.153.10:8848"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><p>Once you restart the Dubbo application, you can also see that the registration meta-information for both service providers and consumers is presented in the Nacos console:</p><p><img src=/imgs/blog/dubbo-registry-nacos-3.png alt=image-20181213113049185></p><p>Do you absolutely configure or switch Nacos registry super Easy? If you want to get more or unclear, refer to the complete example below.</p><h2 id=complete-example>Complete Example</h2><p>The met [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * DemoService
+</span></span></span><span style=display:flex><span><span style=color:#586e75> *
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @since 2.7.4
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>DemoService</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayName</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Provide implementation classes for the above interfaces:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.demo.service<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.config.annotation.Service<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.rpc.RpcContext<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.beans.factory.annotation.Value<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * Default {@link DemoService}
+</span></span></span><span style=display:flex><span><span style=color:#586e75> *
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @since 2.7.4
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Service</span><span style=color:#719e07>(</span>version <span style=color:#719e07>=</span> <span style=color:#2aa198>"${demo.service.version}"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DefaultService</span> <span style=color:#268bd2>implements</span> DemoService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Value</span><span style=color:#719e07>(</span><span style=color:#2aa198>"${demo.service.name}"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String serviceName<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayName</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> RpcContext rpcContext <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> String<span style=color:#719e07>.</span>format<span style=color:#719e07>(</span><span style=color:#2aa198>"Service [name :%s , port : %d] %s(\"%s\") : Hello,%s"</span><span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> serviceName<span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> rpcContext<span style=color:#719e07>.</span>getLocalPort<span style=color:#719e07>(),</span>
+</span></span><span style=display:flex><span> rpcContext<span style=color:#719e07>.</span>getMethodName<span style=color:#719e07>(),</span>
+</span></span><span style=display:flex><span> name<span style=color:#719e07>,</span>
+</span></span><span style=display:flex><span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Once the interface and implementation are ready, the annotation-driven and XML configuration-driven implementations will be used below.</p><h2 id=spring-annotation-driven-example>Spring Annotation-driven Example</h2><p>Dubbo 2.7.4 reconstructs the Spring annotation-driven programming model.</p><h3 id=service-provider-annotation-driven-implementation>Service Provider Annotation-driven Implementation</h3><ul><li>Define property source of Dubbo provider e [...]
+</span></span><span style=display:flex><span>dubbo.application.name <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo-provider-demo</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## Nacos registry address</span>
+</span></span><span style=display:flex><span>dubbo.registry.address <span style=color:#719e07>=</span> <span style=color:#2aa198>nacos://127.0.0.1:8848</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## Dubbo Protocol</span>
+</span></span><span style=display:flex><span>dubbo.protocol.name <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo</span>
+</span></span><span style=display:flex><span>dubbo.protocol.port <span style=color:#719e07>=</span> <span style=color:#2aa198>-1</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># Provider @Service version</span>
+</span></span><span style=display:flex><span>demo.service.version<span style=color:#719e07>=</span><span style=color:#2aa198>1.0.0</span>
+</span></span><span style=display:flex><span>demo.service.name <span style=color:#719e07>=</span> <span style=color:#2aa198>demoService</span>
+</span></span></code></pre></div><ul><li>Implement service provider bootstrap - DemoServiceProviderBootstrap</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.demo.provider<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.config.spring.context.annotation.EnableDubbo<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.demo.service.DemoService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.context.annotation.AnnotationConfigApplicationContext<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.context.annotation.PropertySource<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> java.io.IOException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * {@link DemoService} provider demo
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubbo</span><span style=color:#719e07>(</span>scanBasePackages <span style=color:#719e07>=</span> <span style=color:#2aa198>"org.apache.dubbo.demo.service"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@PropertySource</span><span style=color:#719e07>(</span>value <span style=color:#719e07>=</span> <span style=color:#2aa198>"classpath:/provider-config.properties"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoServiceProviderBootstrap</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> AnnotationConfigApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> AnnotationConfigApplicationContext<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>register<span style=color:#719e07>(</span>DemoServiceProviderBootstrap<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>refresh<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"DemoService provider is starting..."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Wherein, the annotation @EnableDubbo activates the Dubbo annotation-driven and externalization configuration, its scanBasePackages property scans the specified Java package, exposes all service interface implementation classes labeled @Service as Spring Bean, and then exports the Dubbo service.</p><p>@PropertySource is the standard import property configuration resource annotation introduced by Spring Framework 3.1, which provides externalization confi [...]
+</span></span><span style=display:flex><span>dubbo.application.name <span style=color:#719e07>=</span> <span style=color:#2aa198>dubbo-consumer-demo</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>## Nacos registry address</span>
+</span></span><span style=display:flex><span>dubbo.registry.address <span style=color:#719e07>=</span> <span style=color:#2aa198>nacos://127.0.0.1:8848</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75># @Reference version</span>
+</span></span><span style=display:flex><span>demo.service.version<span style=color:#719e07>=</span> <span style=color:#2aa198>1.0.0</span>
+</span></span></code></pre></div><p>Similarly, the dubbo.registry.address property points to the Nacos registry, through which metadata about other Dubbo services is obtained.</p><ul><li>Implement service consumer bootstrap class - DemoServiceConsumerBootstrap</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>p [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.config.annotation.Reference<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.config.spring.context.annotation.EnableDubbo<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.demo.service.DemoService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.context.annotation.AnnotationConfigApplicationContext<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.context.annotation.PropertySource<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> javax.annotation.PostConstruct<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> java.io.IOException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * {@link DemoService} consumer demo
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@EnableDubbo</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@PropertySource</span><span style=color:#719e07>(</span>value <span style=color:#719e07>=</span> <span style=color:#2aa198>"classpath:/consumer-config.properties"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoServiceConsumerBootstrap</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Reference</span><span style=color:#719e07>(</span>version <span style=color:#719e07>=</span> <span style=color:#2aa198>"${demo.service.version}"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> DemoService demoService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@PostConstruct</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>init</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span><span style=color:#dc322f>int</span> i <span style=color:#719e07>=</span> <span style=color:#2aa198>0</span><span style=color:#719e07>;</span> i <span style=color:#719e07><</span> <span style=color:#2aa198>10</span><span style=color:#719e07>;</span> i<span style=color:#719e07>++)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>demoService<span style=color:#719e07>.</span>sayName<span style=color:#719e07>(</span><span style=color:#2aa198>"小马哥(mercyblitz)"</span><span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> AnnotationConfigApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> AnnotationConfigApplicationContext<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>register<span style=color:#719e07>(</span>DemoServiceConsumerBootstrap<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>refresh<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>close<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Similarly, the @EnableDubbo annotation activates the Dubbo annotation-driven and externalization configuration, although it currently belongs to the service consumer and does not require the Java package name to scan the service implementation labeled @Service.</p><p>@Reference is a dependency injection annotation for Dubbo remote services that requires service provider and consumer contract interface, version, and group information. In the current ser [...]
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20881] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20880] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20880] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20881] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20881] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20880] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20880] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20881] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :demoService , port : 20881] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span></code></pre></div><p>Run correctly and the service consumer uses a load balancing strategy to allocate ten RPC calls equally to two Dubbo service provider instances.</p><h3 id=spring-xml-configuration-driven-example>Spring XML Configuration-driven Example</h3><p>Spring XML configuration-driven is the programming model of traditional Spring assembly components.</p><h4 id=service-provider-xml-configuration-driven>Service Provider XML Configuration-driven</h4><p>Define the se [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><beans</span> xmlns=<span style=color:#2aa198>"http://www.springframework.org/schema/beans"</span>
+</span></span><span style=display:flex><span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xmlns:dubbo=<span style=color:#2aa198>"http://dubbo.apache.org/schema/dubbo"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!--
+</span></span></span><span style=display:flex><span><span style=color:#586e75>
+</span></span></span><span style=display:flex><span><span style=color:#586e75>Provider application information for dependency calculation
+</span></span></span><span style=display:flex><span><span style=color:#586e75> --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"dubbo-provider-xml-demo"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Using the Nacos registry --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> address=<span style=color:#2aa198>"nacos://127.0.0.1:8848"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Using Dubbo protocol to expose services on random ports --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:protocol</span> name=<span style=color:#2aa198>"dubbo"</span> port=<span style=color:#2aa198>"-1"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Declare the service interface to be exposed --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"org.apache.dubbo.demo.service.DemoService"</span> ref=<span style=color:#2aa198>"demoService"</span> version=<span style=color:#2aa198>"2.0.0"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Implement services like local beans --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"demoService"</span> class=<span style=color:#2aa198>"org.apache.dubbo.demo.service.DefaultService"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><ul><li>Implement service provider bootstrap class - DemoServiceProviderBootstrap</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.demo.provider<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.demo.service.DemoService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.context.support.ClassPathXmlApplicationContext<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> java.io.IOException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * {@link DemoService} provider demo XML bootstrap
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoServiceProviderXmlBootstrap</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ClassPathXmlApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ClassPathXmlApplicationContext<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>setConfigLocation<span style=color:#719e07>(</span><span style=color:#2aa198>"/META-INF/spring/dubbo-provider-context.xml"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>refresh<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"DemoService provider (XML) is starting..."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>in<span style=color:#719e07>.</span>read<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h4 id=service-consumer-xml-configuration-driven>Service Consumer XML Configuration-driven</h4><p>Define the consumer provider XML context configuration file - /META-INF/spring/dubbo- consumer-context.xml</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#719e07><?xml version="1.0" e [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><beans</span> xmlns=<span style=color:#2aa198>"http://www.springframework.org/schema/beans"</span>
+</span></span><span style=display:flex><span> xmlns:xsi=<span style=color:#2aa198>"http://www.w3.org/2001/XMLSchema-instance"</span>
+</span></span><span style=display:flex><span> xmlns:dubbo=<span style=color:#2aa198>"http://dubbo.apache.org/schema/dubbo"</span>
+</span></span><span style=display:flex><span> xsi:schemaLocation=<span style=color:#2aa198>"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!--
+</span></span></span><span style=display:flex><span><span style=color:#586e75>
+</span></span></span><span style=display:flex><span><span style=color:#586e75>Provider application information for dependency calculation
+</span></span></span><span style=display:flex><span><span style=color:#586e75> --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"dubbo-consumer-xml-demo"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Using the Nacos registry--></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> address=<span style=color:#2aa198>"nacos://127.0.0.1:8848"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75><!-- Reference service interface --></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"demoService"</span> interface=<span style=color:#2aa198>"org.apache.dubbo.demo.service.DemoService"</span> version=<span style=color:#2aa198>"2.0.0"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><ul><li>Implement service consumer bootstrap class - DemoServiceConsumerBootstrap</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.demo.consumer<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.demo.service.DemoService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.springframework.context.support.ClassPathXmlApplicationContext<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> java.io.IOException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * {@link DemoService} consumer demo XML bootstrap
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoServiceConsumerXmlBootstrap</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>static</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>main</span><span style=color:#719e07>(</span>String<span style=color:#719e07>[]</span> args<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> IOException <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ClassPathXmlApplicationContext context <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ClassPathXmlApplicationContext<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>setConfigLocation<span style=color:#719e07>(</span><span style=color:#2aa198>"/META-INF/spring/dubbo-consumer-context.xml"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>refresh<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"DemoService consumer (XML) is starting..."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> DemoService demoService <span style=color:#719e07>=</span> context<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span><span style=color:#2aa198>"demoService"</span><span style=color:#719e07>,</span> DemoService<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span><span style=color:#dc322f>int</span> i <span style=color:#719e07>=</span> <span style=color:#2aa198>0</span><span style=color:#719e07>;</span> i <span style=color:#719e07><</span> <span style=color:#2aa198>10</span><span style=color:#719e07>;</span> i<span style=color:#719e07>++)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span>demoService<span style=color:#719e07>.</span>sayName<span style=color:#719e07>(</span><span style=color:#2aa198>"小马哥(mercyblitz)"</span><span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> context<span style=color:#719e07>.</span>close<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h4 id=run-xml-configuration-driven-example>Run XML Configuration-driven Example</h4><p>As such, start two DemoServiceProviderXmlBootstrap bootstraps and observe the changes in the Nacos registry service provider:</p><p><img src=/imgs/blog/dubbo-registry-nacos-5.png alt=image-20181213125527201></p><p>The service version driven by the XML configuration is 2.0.0, so the registration service is correct.</p><p>Run the service consumer bootstrap DemoServiceCon [...]
+</span></span><span style=display:flex><span>Service [name :null , port : 20882] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20883] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20882] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20882] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20883] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20882] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20883] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20883] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span><span style=display:flex><span>Service [name :null , port : 20883] sayName("小马哥(mercyblitz)") : Hello,小马哥(mercyblitz)
+</span></span></code></pre></div><p>As a result, both operation and load balancing are normal due to the property demo.service.name has not been added to the current example, the “name” information is output as null. For more information, please refer to: <a href=https://github.com/apache/dubbo/tree/master/dubbo-registry/dubbo-registry-nacos>https://github.com/apache/dubbo/tree/master/dubbo-registry/dubbo-registry-nacos</a>.</p><p>If you’re interested in or fond of open [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2018/12/10/the-fifth-dubbo-meetup-has-been-held-in-hangzhou/index.html b/en/blog/2018/12/10/the-fifth-dubbo-meetup-has-been-held-in-hangzhou/index.html
new file mode 100644
index 00000000000..438168cce10
--- /dev/null
+++ b/en/blog/2018/12/10/the-fifth-dubbo-meetup-has-been-held-in-hangzhou/index.html
@@ -0,0 +1,10 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-meetup-hangzhou.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+sect [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=The%20fifth%20Dubbo%20meetup%20has%20been%20held%20in%20Hangzhou" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/news/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>The fifth Dubbo meetup has been held in Hangzhou</h1><div class=lead>The fifth Dubbo meetu [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/01/17/how-to-use-seata-to-ensure-consistency-between-dubbo-microservices/index.html b/en/blog/2019/01/17/how-to-use-seata-to-ensure-consistency-between-dubbo-microservices/index.html
new file mode 100644
index 00000000000..45154d1dcd3
--- /dev/null
+++ b/en/blog/2019/01/17/how-to-use-seata-to-ensure-consistency-between-dubbo-microservices/index.html
@@ -0,0 +1,151 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/01/17/how-to-use-seata-to-ensure-consistency-between-dubbo-microservices/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-01-17T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="How to use Seata [...]
+"><meta itemprop=datePublished content="2019-01-17T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="584"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="How to use Seata to ensure consistency between Dubbo Microservices"><meta name=twitter:description content="This article will introduce you how to use Seata to ensure consistency between Dubbo Microservices.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-fescar.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+th [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=How%20to%20use%20Seata%20to%20ensure%20consistency%20between%20Dubbo%20Microservices" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#use-case>Use case</a><ul><li><a href=#architecture>Architecture</a></li><li><a href=#storageservice>StorageService</a></li><li><a href=#orderservice>OrderService</a></li><li><a href=#accountservice>AccountService</a></li><li><a href=#main-business-logic>Main business logic</a></li></ul></li><li><a href [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * deduct storage count
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>deduct</span><span style=color:#719e07>(</span>String commodityCode<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> count<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=orderservice>OrderService</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>OrderService</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * create order
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span> Order <span style=color:#268bd2>create</span><span style=color:#719e07>(</span>String userId<span style=color:#719e07>,</span> String commodityCode<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> orderCount<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=accountservice>AccountService</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>AccountService</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * debit balance of user's account
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>debit</span><span style=color:#719e07>(</span>String userId<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> money<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=main-business-logic>Main business logic</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>BusinessServiceImpl</span> <span style=color:#268bd2>implements</span> BusinessService <span style=color:#71 [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> StorageService storageService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> OrderService orderService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * purchase
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>purchase</span><span style=color:#719e07>(</span>String userId<span style=color:#719e07>,</span> String commodityCode<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> orderCount<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> storageService<span style=color:#719e07>.</span>deduct<span style=color:#719e07>(</span>commodityCode<span style=color:#719e07>,</span> orderCount<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> orderService<span style=color:#719e07>.</span>create<span style=color:#719e07>(</span>userId<span style=color:#719e07>,</span> commodityCode<span style=color:#719e07>,</span> orderCount<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>StorageServiceImpl</span> <span style=color:#268bd2>implements</span> StorageService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> StorageDAO storageDAO<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>deduct</span><span style=color:#719e07>(</span>String commodityCode<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> count<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Storage storage <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Storage<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> storage<span style=color:#719e07>.</span>setCount<span style=color:#719e07>(</span>count<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> storage<span style=color:#719e07>.</span>setCommodityCode<span style=color:#719e07>(</span>commodityCode<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> storageDAO<span style=color:#719e07>.</span>update<span style=color:#719e07>(</span>storage<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>OrderServiceImpl</span> <span style=color:#268bd2>implements</span> OrderService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> OrderDAO orderDAO<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> AccountService accountService<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Order <span style=color:#268bd2>create</span><span style=color:#719e07>(</span>String userId<span style=color:#719e07>,</span> String commodityCode<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> orderCount<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>int</span> orderMoney <span style=color:#719e07>=</span> calculate<span style=color:#719e07>(</span>commodityCode<span style=color:#719e07>,</span> orderCount<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> accountService<span style=color:#719e07>.</span>debit<span style=color:#719e07>(</span>userId<span style=color:#719e07>,</span> orderMoney<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> Order order <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Order<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> order<span style=color:#719e07>.</span>userId <span style=color:#719e07>=</span> userId<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> order<span style=color:#719e07>.</span>commodityCode <span style=color:#719e07>=</span> commodityCode<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> order<span style=color:#719e07>.</span>count <span style=color:#719e07>=</span> orderCount<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> order<span style=color:#719e07>.</span>money <span style=color:#719e07>=</span> orderMoney<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> orderDAO<span style=color:#719e07>.</span>insert<span style=color:#719e07>(</span>order<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h2 id=distributed-transaction-solution-with-seata>Distributed Transaction Solution with Seata</h2><p><img src=/imgs/blog/fescar/fescar-2.png alt=undefined></p><p>We just need an annotation <code>@GlobalTransactional</code> on business method:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span> <span style=c [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>purchase</span><span style=color:#719e07>(</span>String userId<span style=color:#719e07>,</span> String commodityCode<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> orderCount<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>......</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><h2 id=example-powered-by-dubbo--seata>Example powered by Dubbo + Seata</h2><h3 id=step-1-setup-database>Step 1: Setup database</h3><ul><li>Requirement: MySQL with InnoDB engine.</li></ul><p><strong>Note:</strong> In fact, there should be 3 database for the 3 services in the example use case. However, we can just create one database and configure 3 data sources for simple.</p><p>Modify Spring XML with the database URL/username/password you just created.</ [...]
+dubbo-order-service.xml
+dubbo-storage-service.xml</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span> <span style=color:#268bd2><property</span> name=<span style=color:#2aa198>"url"</span> value=<span style=color:#2aa198>"jdbc:mysql://x.x.x.x:3306/xxx"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><property</span> name=<span style=color:#2aa198>"username"</span> value=<span style=color:#2aa198>"xxx"</span> <span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><property</span> name=<span style=color:#2aa198>"password"</span> value=<span style=color:#2aa198>"xxx"</span> <span style=color:#268bd2>/></span>
+</span></span></code></pre></div><h3 id=step-2-create-undo_log-table-for-seata>Step 2: Create undo_log table for Seata</h3><p><code>UNDO_LOG</code> table is required by Seata AT mode.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sql data-lang=sql><span style=display:flex><span><span style=color:#586e75>-- Note that when Seata version is upgraded to 0.3.0+, it is changed from the previous [...]
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#719e07>CREATE</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>`</span>undo_log<span style=color:#719e07>`</span> (
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>id<span style=color:#719e07>`</span> <span style=color:#b58900>bigint</span>(<span style=color:#2aa198>20</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span> AUTO_INCREMENT,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>branch_id<span style=color:#719e07>`</span> <span style=color:#b58900>bigint</span>(<span style=color:#2aa198>20</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>xid<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>100</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>context<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>128</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>rollback_info<span style=color:#719e07>`</span> longblob <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>log_status<span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>log_created<span style=color:#719e07>`</span> datetime <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>log_modified<span style=color:#719e07>`</span> datetime <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>ext<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>100</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>PRIMARY</span> <span style=color:#719e07>KEY</span> (<span style=color:#719e07>`</span>id<span style=color:#719e07>`</span>),
+</span></span><span style=display:flex><span> <span style=color:#719e07>UNIQUE</span> <span style=color:#719e07>KEY</span> <span style=color:#719e07>`</span>ux_undo_log<span style=color:#719e07>`</span> (<span style=color:#719e07>`</span>xid<span style=color:#719e07>`</span>,<span style=color:#719e07>`</span>branch_id<span style=color:#719e07>`</span>)
+</span></span><span style=display:flex><span>) ENGINE<span style=color:#719e07>=</span>InnoDB AUTO_INCREMENT<span style=color:#719e07>=</span><span style=color:#2aa198>1</span> <span style=color:#719e07>DEFAULT</span> CHARSET<span style=color:#719e07>=</span>utf8;
+</span></span></code></pre></div><h3 id=step-3-create-tables-for-example-business>Step 3: Create tables for example business</h3><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sql data-lang=sql><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>DROP</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>IF</span> <span style=color:#719e07>EXISTS</span> <span style=color:#719e07>`</span>storage_tbl<span style=color:#719e07>`</span>;
+</span></span><span style=display:flex><span><span style=color:#719e07>CREATE</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>`</span>storage_tbl<span style=color:#719e07>`</span> (
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>id<span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span> AUTO_INCREMENT,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>commodity_code<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>255</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span><span style=color:#719e07>count</span><span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#2aa198>0</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>PRIMARY</span> <span style=color:#719e07>KEY</span> (<span style=color:#719e07>`</span>id<span style=color:#719e07>`</span>),
+</span></span><span style=display:flex><span> <span style=color:#719e07>UNIQUE</span> <span style=color:#719e07>KEY</span> (<span style=color:#719e07>`</span>commodity_code<span style=color:#719e07>`</span>)
+</span></span><span style=display:flex><span>) ENGINE<span style=color:#719e07>=</span>InnoDB <span style=color:#719e07>DEFAULT</span> CHARSET<span style=color:#719e07>=</span>utf8;
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>DROP</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>IF</span> <span style=color:#719e07>EXISTS</span> <span style=color:#719e07>`</span>order_tbl<span style=color:#719e07>`</span>;
+</span></span><span style=display:flex><span><span style=color:#719e07>CREATE</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>`</span>order_tbl<span style=color:#719e07>`</span> (
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>id<span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span> AUTO_INCREMENT,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>user_id<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>255</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>commodity_code<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>255</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span><span style=color:#719e07>count</span><span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#2aa198>0</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>money<span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#2aa198>0</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>PRIMARY</span> <span style=color:#719e07>KEY</span> (<span style=color:#719e07>`</span>id<span style=color:#719e07>`</span>)
+</span></span><span style=display:flex><span>) ENGINE<span style=color:#719e07>=</span>InnoDB <span style=color:#719e07>DEFAULT</span> CHARSET<span style=color:#719e07>=</span>utf8;
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>DROP</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>IF</span> <span style=color:#719e07>EXISTS</span> <span style=color:#719e07>`</span>account_tbl<span style=color:#719e07>`</span>;
+</span></span><span style=display:flex><span><span style=color:#719e07>CREATE</span> <span style=color:#719e07>TABLE</span> <span style=color:#719e07>`</span>account_tbl<span style=color:#719e07>`</span> (
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>id<span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>NOT</span> <span style=color:#719e07>NULL</span> AUTO_INCREMENT,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>user_id<span style=color:#719e07>`</span> <span style=color:#b58900>varchar</span>(<span style=color:#2aa198>255</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#719e07>NULL</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>`</span>money<span style=color:#719e07>`</span> <span style=color:#b58900>int</span>(<span style=color:#2aa198>11</span>) <span style=color:#719e07>DEFAULT</span> <span style=color:#2aa198>0</span>,
+</span></span><span style=display:flex><span> <span style=color:#719e07>PRIMARY</span> <span style=color:#719e07>KEY</span> (<span style=color:#719e07>`</span>id<span style=color:#719e07>`</span>)
+</span></span><span style=display:flex><span>) ENGINE<span style=color:#719e07>=</span>InnoDB <span style=color:#719e07>DEFAULT</span> CHARSET<span style=color:#719e07>=</span>utf8;
+</span></span></code></pre></div><h3 id=step-4-start-seata-server>Step 4: Start Seata-Server</h3><ul><li>Download server <a href=https://github.com/seata/seata/releases>package</a>, unzip it.</li><li>Start Seata-Server</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>Usage: sh seata-server.sh<span style=color:#719e07>(</span><span st [...]
+</span></span><span style=display:flex><span> Options:
+</span></span><span style=display:flex><span> --host, -h
+</span></span><span style=display:flex><span> The host to bind.
+</span></span><span style=display:flex><span> Default: 0.0.0.0
+</span></span><span style=display:flex><span> --port, -p
+</span></span><span style=display:flex><span> The port to listen.
+</span></span><span style=display:flex><span> Default: <span style=color:#2aa198>8091</span>
+</span></span><span style=display:flex><span> --storeMode, -m
+</span></span><span style=display:flex><span> log store mode : file、db
+</span></span><span style=display:flex><span> Default: file
+</span></span><span style=display:flex><span> --help
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>e.g.
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>sh seata-server.sh -p <span style=color:#2aa198>8091</span> -h 127.0.0.1 -m file
+</span></span></code></pre></div><h3 id=step-5-run-example>Step 5: Run example</h3><ul><li>Start AccountService (<a href=https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-transaction/src/main/java/org/apache/dubbo/samples/starter/DubboAccountServiceStarter.java>DubboAccountServiceStarter</a>).</li><li>Start StockService (<a href=https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-transaction/src/main/java/org/apache/dubbo/samples/starter/DubboStorageServiceS [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-client-asynchronous-interface/index.html b/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-client-asynchronous-interface/index.html
new file mode 100644
index 00000000000..7800632632a
--- /dev/null
+++ b/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-client-asynchronous-interface/index.html
@@ -0,0 +1,31 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-client-asynchronous-interface/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-02-20T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Implem [...]
+"><meta itemprop=datePublished content="2019-02-20T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="1043"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Implementation background and practice of Dubbo client asynchronous interface"><meta name=twitter:description content="Implementation background and practice of Dubbo client asynchronous interface
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-async-client.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Implementation%20background%20and%20practice%20of%20Dubbo%20client%20asynchronous%20interface" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#preface>Preface</a></li><li><a href=#client-asynchronization>Client Asynchronization</a><ul><li><a href=#background>Background</a></li><li><a href=#the-sample>The sample</a></li><li><a href=#practical-advice>Practical advice</a></li><li><a href=#conclusions>Conclusions</a></li></ul></li></ul></nav></di [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:reference</span> id=<span style=color:#2aa198>"demoService"</span> check=<span style=color:#2aa198>"false"</span> interface=<span style=color:#2aa198>"com.alibaba.dubbo.samples.notify.api.DemoService"</span> version=<span style=color:#2aa198>"1.0.0"</span> group=<span style=color:#2aa198>"cn"</span><span style=color:#268bd2>></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:method</span> name=<span style=color:#2aa198>"sayHello"</span> onreturn=<span style=color:#2aa198>"demoCallback.onreturn"</span> onthrow=<span style=color:#2aa198>"demoCallback.onthrow"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></dubbo:reference></span>
+</span></span></code></pre></div><p>The code for NotifyImpl is as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>NotifyImpl</span> <span style=color:#268bd2>implements</span> Notify<span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Map<span style=color:#719e07><</span>Integer<span style=color:#719e07>,</span> String<span style=color:#719e07>></span> ret <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><</span>Integer<span style=color:#719e07>,</span> String<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>onreturn</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> id<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ret<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span>id<span style=color:#719e07>,</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"onreturn: "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>onthrow</span><span style=color:#719e07>(</span>Throwable ex<span style=color:#719e07>,</span> String name<span style=color:#719e07>,</span> <span style=color:#dc322f>int</span> id<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"onthrow: "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>It is important to note that the parameters for the three methods in the custom Notify interface are as follows:</p><ul><li><code>oninvoke</code> The parameters of the method are the same as those of the calling method.</li><li><code>onreturn</code> The first parameter of the method is the return value of the calling method, and the rest is the parameters of the calling method.</li><li><code>onthrow</code> The first parameter to the method is the call [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-server-asynchronous-interface/index.html b/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-server-asynchronous-interface/index.html
new file mode 100644
index 00000000000..56d292e3f13
--- /dev/null
+++ b/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-server-asynchronous-interface/index.html
@@ -0,0 +1,34 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-server-asynchronous-interface/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-02-20T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Implem [...]
+"><meta itemprop=datePublished content="2019-02-20T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="909"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Implementation background and practice of Dubbo server asynchronous interface"><meta name=twitter:description content="Implementation background and practice of Dubbo server asynchronous interface
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/dubbo-async-server.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Implementation%20background%20and%20practice%20of%20Dubbo%20server%20asynchronous%20interface" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#preface>Preface</a></li><li><a href=#implementation-background>Implementation background</a><ul><li><a href=#server-side-thread-strategy>Server-side thread strategy</a></li><li><a href=#coroutine-and-thread>Coroutine and thread</a></li></ul></li><li><a href=#the-sample>The sample</a></li><li><a href=#p [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Main sayHello() method start."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> AsyncContext asyncContext <span style=color:#719e07>=</span> RpcContext<span style=color:#719e07>.</span>startAsync<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>new</span> Thread<span style=color:#719e07>(()</span> <span style=color:#719e07>-></span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>signalContextSwitch<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Attachment from consumer: "</span> <span style=color:#719e07>+</span> RpcContext<span style=color:#719e07>.</span>getContext<span style=color:#719e07>().</span>getAttachment<span style=color:#719e07>(</span><span style=color:#2aa198>"consumer-key1"</span><span style=color:# [...]
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>" -- Async start."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Thread<span style=color:#719e07>.</span>sleep<span style=color:#719e07>(</span><span style=color:#2aa198>500</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>InterruptedException e<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> e<span style=color:#719e07>.</span>printStackTrace<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> asyncContext<span style=color:#719e07>.</span>write<span style=color:#719e07>(</span><span style=color:#2aa198>"Hello "</span> <span style=color:#719e07>+</span> name <span style=color:#719e07>+</span> <span style=color:#2aa198>", response from provider."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>" -- Async end."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}).</span>start<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Main sayHello() method end."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"hello, "</span> <span style=color:#719e07>+</span> name<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span></code></pre></div><h2 id=practical-suggestions>Practical suggestions</h2><ul><li>Don’t rely too much on server-side asynchrony.</li><li>Server-side asynchrony is basically a false proposition in the face of event-driven or Reactive.<span data-type=color style=color:#24292e><span data-type=background style=background-color:#fff>Supplement the reason: the server asynchrony is said Dubbo server-side business threads (default is 200) is not enough, but in the Event-Drive [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/04/25/dubbo-extensible-mechanism-source-code-analysis-part-1/index.html b/en/blog/2019/04/25/dubbo-extensible-mechanism-source-code-analysis-part-1/index.html
new file mode 100644
index 00000000000..b15085ff941
--- /dev/null
+++ b/en/blog/2019/04/25/dubbo-extensible-mechanism-source-code-analysis-part-1/index.html
@@ -0,0 +1,68 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/04/25/dubbo-extensible-mechanism-source-code-analysis-part-1/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-04-25T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo extensible mechanism so [...]
+"><meta itemprop=datePublished content="2019-04-25T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="2284"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo extensible mechanism source code analysis - part 1"><meta name=twitter:description content="description: This article introduces Dubbo's SPI mechanism.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/introduction-to-dubbo-spi.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%20extensible%20mechanism%20source%20code%20analysis%20-%20part%201" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#1-extension-mechanism-of-dubbo>1. Extension Mechanism of Dubbo</a></li><li><a href=#2extension-solutions>2.Extension Solutions</a></li><li><a href=#3java-spi-mechanism>3.Java SPI Mechanism</a></li><li><a href=#4-dubbo-spi-mechanism>4. Dubbo SPI Mechanism</a></li><li><a href=#5-basic-concepts-for-dubbo- [...]
+When talking about software design, people always mention scalability. A framework with good scalability requires the following:
+1.The framework should follow opening/closed principle: software entities should be open for extension, but closed for modification; This means a framework should allow the maintainer to add new functions with as few modifications as possible.
+2.The framework should allow the user to add new functions by adding code on his project without modifying the framework’s original source code base.
+With microkernel architecture and extension mechanism, Dubbo satisfies such requirements and achieves good scalability. In the following chapters, we will discuss Dubbo’s extension mechanism in detail.</p><h2 id=2extension-solutions>2.Extension Solutions</h2><p>Creating Extensible applications usually considers:</p><ul><li>Factory method pattern</li><li>IoC container</li><li>OSGi (Open Services Gateway initiative)</li></ul><p>As a framework, Dubbo does not wish to rely on other IoC [...]
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>save</span><span style=color:#719e07>(</span>String data<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=2><li>Create 2 implementations for IRepository: MysqlRepository and MongoRepository</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>MysqlRepository</span> <span style=color:#268bd2>impleme [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>save</span><span style=color:#719e07>(</span>String data<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Save "</span> <span style=color:#719e07>+</span> data <span style=color:#719e07>+</span> <span style=color:#2aa198>" to Mysql"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>MongoRepository</span> <span style=color:#268bd2>implements</span> IRepository <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>save</span><span style=color:#719e07>(</span>String data<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Save "</span> <span style=color:#719e07>+</span> data <span style=color:#719e07>+</span> <span style=color:#2aa198>" to Mongo"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=3><li>Create a configuration file under <code>META-INF/services</code>.</li></ol><p>The file name is <code>META-INF/services/com.demo.IRepository</code>, the content of file is:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-text data-lang=text><span style=display:flex><span>com.demo.MongoRepository
+</span></span><span style=display:flex><span>com.demo.MysqlRepository
+</span></span></code></pre></div><ol start=4><li>Load IRepository using ServiceLoader</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span>ServiceLoader<span style=color:#719e07><</span>IRepository<span style=color:#719e07>></span> serviceLoader <span style=color:#719e07>=</span> ServiceLoader<span style=color:#719e07>.</span>load<sp [...]
+</span></span><span style=display:flex><span>Iterator<span style=color:#719e07><</span>IRepository<span style=color:#719e07>></span> it <span style=color:#719e07>=</span> serviceLoader<span style=color:#719e07>.</span>iterator<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>while</span> <span style=color:#719e07>(</span>it <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>&&</span> it<span style=color:#719e07>.</span>hasNext<span style=color:#719e07>()){</span>
+</span></span><span style=display:flex><span> IRepository demoService <span style=color:#719e07>=</span> it<span style=color:#719e07>.</span>next<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"class:"</span> <span style=color:#719e07>+</span> demoService<span style=color:#719e07>.</span>getClass<span style=color:#719e07>().</span>getName<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> demoService<span style=color:#719e07>.</span>save<span style=color:#719e07>(</span><span style=color:#2aa198>"tom"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>In the above example, we created an extension and two of its applications. We created the configuration file in ClassPath and loaded the extensions using ServiceLoader. The final output is:
+class:testDubbo.MongoRepository
+Save tom to Mongo
+class:testDubbo.MysqlRepository
+Save tom to Mysql</p><h2 id=4-dubbo-spi-mechanism>4. Dubbo SPI Mechanism</h2><p>Java SPI is simple to use. It also supports basic extension point functions, however, it has some disadvantages:</p><ul><li>It will load and instantiate all implementations at once to find the requested implementation.</li><li>The configuration file only includes the extension implementation but does not name them, which makes it hard to reference them in applications.</li><li>If extensions depend on other ex [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>roundrobin</span><span style=color:#719e07>=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance
+</span></span></code></pre></div><p>where random, roundrobin are alias of the corresponding extensions, and we can directly use them in the configuration file.</p><h3 id=59-paths>5.9 Paths</h3><p>Similar to the way Java SPI loading the extension configuration from the <code>META-INF/services</code> directory, Dubbo will also load the extension configuration file from the following path:</p><ul><li><code>META-INF/dubbo/internal</code></li><li><code>META-INF/dubbo</code></li><li><code>META [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>LoadBalance</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Adaptive</span><span style=color:#719e07>(</span><span style=color:#2aa198>"loadbalance"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>select</span><span style=color:#719e07>(</span>List<span style=color:#719e07><</span>Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>>></span> invokers<span style=color:#719e07>,</span> URL url<span style=color:#719e07>,</span [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>LoadBalance interface has only one select method. Select method chose one invoker among multiple invokers. In the code above, the elements related to Dubbo SPI are:</p><ul><li>@SPI(RandomLoadBalance.NAME) @SPI is used for LoadBalance interface, which indicates that the LoadBalance interface is an extension point. Without the @SPI annotation, if we try to load the extension, it will throw an exception. @SPI annotation has one parameter, and this paramet [...]
+<code>RandomLoadBalance.NAME</code> is a constant with value “random” and is a random load balancing implementation. The definition of random is in the configuration file <code>META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.LoadBalance</code>:</li></ul><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span><span style=color:#268bd2>random</spa [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>roundrobin</span><span style=color:#719e07>=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance
+</span></span><span style=display:flex><span><span style=color:#268bd2>leastactive</span><span style=color:#719e07>=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance
+</span></span><span style=display:flex><span><span style=color:#268bd2>consistenthash</span><span style=color:#719e07>=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalance
+</span></span></code></pre></div><p>There are four extension implementations of LoadBalance defined in the configuration file. The implementation of load balancing will not be covered in this article. The only thing we need to know is that Dubbo provides four kinds of load balancing implementations. We can explicitly specify an implementation by using xml file, properties file or JVM parameter. If there has no explicitly specified implementation, Dubbo will use random as default.</p><p>< [...]
+</span></span></code></pre></div><p>Using ExtensionLoader.getExtensionLoader(LoadBalance.class) method to obtain an implementation of ExtensionLoader, then we call getExtension and pass an extension alias to obtain the corresponding extension implementation.</p><h2 id=7-customize-a-loadbalance-extension>7. Customize a LoadBalance Extension</h2><p>In this session, we will use a simple example to implement a LoadBalance and integrate it into Dubbo. I will show some important steps and code [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DemoLoadBalance</span> <span style=color:#268bd2>implements</span> LoadBalance <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>select</span><span style=color:#719e07>(</span>List<span style=color:#719e07><</span>Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>>></span> invokers<span style=color:#719e07>,</span> [...]
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"DemoLoadBalance: Select the first invoker..."</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> invokers<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span><span style=color:#2aa198>0</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><h3 id=72-add-extension-configuration-file>7.2 Add extension configuration file</h3><p>Add file:<code>META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.LoadBalance</code>. The content of file is:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span><span style=color:#268bd2>demo</span><span style=color:#719e07>=</span [...]
+</span></span></code></pre></div><h3 id=73-configure-customized-loadbalance>7.3 Configure customized LoadBalance</h3><p>Through the above 2 steps, we have already added a LoadBalance implementation named demo, and set up the configuration file. In the next step, we need to explicitly tell Dubbo to implement the demo while doing load balancing. If we use Dubbo through spring, we could set it up in the xml file.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:# [...]
+</span></span></code></pre></div><p>Configure <loadbalance=“demo”> in <a href=dubbo:reference>dubbo:reference</a> at consumer part.</p><h3 id=74-launch-dubbo>7.4 launch Dubbo</h3><p>Launch Dubbo and call IHelloService, the console will output log: <code>DemoLoadBalance: Select the first invoker...</code>, which means Dubbo does use our customized LoadBalance.</p><h2 id=summary>Summary</h2><p>So far, we learnt the basic concepts of Dubbo SPI beginning with Java SPI, and we [...]
+*Extension registration on Dubbo requires only configuration file under the ClassPath directory. It is simple to use and has no effect on the existing code. This meets opening/closed principle.</li><li>Dubbo’s extension mechanism default: @SPI(“dubbo”) represents the default SPI object.</li><li>Dubbo’s extension mechanism supports the advanced features such as IoC and AoP, etc.</li><li>Dubbo’s extension mechanism supports third-party IoC containers. It suppo [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/05/02/dubbo-extensible-mechanism-source-code-analysis-part-2/index.html b/en/blog/2019/05/02/dubbo-extensible-mechanism-source-code-analysis-part-2/index.html
new file mode 100644
index 00000000000..7769c65094e
--- /dev/null
+++ b/en/blog/2019/05/02/dubbo-extensible-mechanism-source-code-analysis-part-2/index.html
@@ -0,0 +1,275 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/05/02/dubbo-extensible-mechanism-source-code-analysis-part-2/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-05-02T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo extensible mechanism so [...]
+"><meta itemprop=datePublished content="2019-05-02T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="2629"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo extensible mechanism source code analysis - part 2"><meta name=twitter:description content="This article introduces the principles and details of Dubbo's SPI.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/introduction-to-dubbo-spi-2.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%2 [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%20extensible%20mechanism%20source%20code%20analysis%20-%20part%202" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#extensionloader>ExtensionLoader</a></li><li><a href=#auto-assembly-of-dubbo-spi-advanced-usage>Auto-assembly of Dubbo SPI advanced usage</a></li><li><a href=#aop-of-dubbo-spi-advanced-usage>AOP of Dubbo SPI advanced usage</a><ul><li><a href=#what-is-the-wrapper-class>What is the Wrapper class</a></li>< [...]
+This is a static factory method that enters an extensible interface and returns an ExtensionLoader entity class for this interface. With this entity class, you can get not only a specific extension based on name, but also an adaptive extension.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <sp [...]
+</span></span><span style=display:flex><span> <span style=color:#586e75>// An extension point must be an interface
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>if</span> <span style=color:#719e07>(!</span>type<span style=color:#719e07>.</span>isInterface<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalArgumentException<span style=color:#719e07>(</span><span style=color:#2aa198>"Extension type("</span> <span style=color:#719e07>+</span> type <span style=color:#719e07>+</span> <span style=color:#2aa198>") is not interface!"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// @SPI annotations must be provided
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>if</span> <span style=color:#719e07>(!</span>withExtensionAnnotation<span style=color:#719e07>(</span>type<span style=color:#719e07>))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalArgumentException<span style=color:#719e07>(</span><span style=color:#2aa198>"Extension type without @SPI Annotation!"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Get the corresponding ExtensionLoader from the cache according to the interface
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#586e75>// Each extension will only be loaded once
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> ExtensionLoader<span style=color:#719e07><</span>T<span style=color:#719e07>></span> loader <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>ExtensionLoader<span style=color:#719e07><</span>T<span style=color:#719e07>>)</span> EXTENSION_LOADERS<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>type<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>loader <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Initialize extension
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> EXTENSION_LOADERS<span style=color:#719e07>.</span>putIfAbsent<span style=color:#719e07>(</span>type<span style=color:#719e07>,</span> <span style=color:#719e07>new</span> ExtensionLoader<span style=color:#719e07><</span>T<span style=color:#719e07>>(</span>type<span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span> loader <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>ExtensionLoader<span style=color:#719e07><</span>T<span style=color:#719e07>>)</span> EXTENSION_LOADERS<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>type<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> loader<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>private</span> <span style=color:#268bd2>ExtensionLoader</span><span style=color:#719e07>(</span>Class<span style=color:#719e07><?></span> type<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>this</span><span style=color:#719e07>.</span>type <span style=color:#719e07>=</span> type<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> objectFactory <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>type <span style=color:#719e07>==</span> ExtensionFactory<span style=color:#719e07>.</span>class <span style=color:#719e07>?</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>:</span> ExtensionLoader<span style=color:#719e07>.</span>getExtensionLoader<span style=color:#719e07>(</span>ExtensionFactory<span style=color:#719e07>.</span> [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=2><li>getExtension</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> T <span style=color:#268bd2>getExtension</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Holder<span style=color:#719e07><</span>Object<span style=color:#719e07>></span> holder <span style=color:#719e07>=</span> cachedInstances<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>holder <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> cachedInstances<span style=color:#719e07>.</span>putIfAbsent<span style=color:#719e07>(</span>name<span style=color:#719e07>,</span> <span style=color:#719e07>new</span> Holder<span style=color:#719e07><</span>Object<span style=color:#719e07>>());</span>
+</span></span><span style=display:flex><span> holder <span style=color:#719e07>=</span> cachedInstances<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> Object instance <span style=color:#719e07>=</span> holder<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Get it from the cache. If it does not exist, create
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>instance <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>synchronized</span> <span style=color:#719e07>(</span>holder<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> instance <span style=color:#719e07>=</span> holder<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>instance <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> instance <span style=color:#719e07>=</span> createExtension<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> holder<span style=color:#719e07>.</span>set<span style=color:#719e07>(</span>instance<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#719e07>(</span>T<span style=color:#719e07>)</span> instance<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Some judgments and caching have been made in the getExtension method, and the main logic is in the createExtension method. Let’s move on to the createExtension method.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>private</span> T <span style=color:#268bd2>createExtension [...]
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Get the extension class according to the name of extension point. For example, for LoadBalance, get the RandomLoadBalance class according to random
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> Class<span style=color:#719e07><?></span> clazz <span style=color:#719e07>=</span> getExtensionClasses<span style=color:#719e07>().</span>get<span style=color:#719e07>(</span>name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> T instance <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>T<span style=color:#719e07>)</span> EXTENSION_INSTANCES<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>clazz<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>instance <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Use reflection to call newInstance to create an example of an extension class
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> EXTENSION_INSTANCES<span style=color:#719e07>.</span>putIfAbsent<span style=color:#719e07>(</span>clazz<span style=color:#719e07>,</span> <span style=color:#719e07>(</span>T<span style=color:#719e07>)</span> clazz<span style=color:#719e07>.</span>newInstance<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> instance <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>T<span style=color:#719e07>)</span> EXTENSION_INSTANCES<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span>clazz<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// Make dependency injection for the extended class samples
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> injectExtension<span style=color:#719e07>(</span>instance<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// If there is a wrapper, add the wrapper
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> Set<span style=color:#719e07><</span>Class<span style=color:#719e07><?>></span> wrapperClasses <span style=color:#719e07>=</span> cachedWrapperClasses<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>wrapperClasses <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>&&</span> <span style=color:#719e07>!</span>wrapperClasses<span style=color:#719e07>.</span>isEmpty<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>Class<span style=color:#719e07><?></span> wrapperClass <span style=color:#719e07>:</span> wrapperClasses<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> instance <span style=color:#719e07>=</span> injectExtension<span style=color:#719e07>((</span>T<span style=color:#719e07>)</span> wrapperClass<span style=color:#719e07>.</span>getConstructor<span style=color:#719e07>(</span>type<span style=color:#719e07>).</span>newInstance<span style=color:#719e07>(</span>instance<span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> instance<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The createExtension method has done the following:</p><ol><li>First, get the corresponding extension class according to name. Read the extension point configuration file from the <code>META-INF</code> folder under ClassPath.</li><li>Use reflection to create an instance of an extended class.</li><li>make dependency injection for the attributes of the extended class instance. That is, IoC.</li><li>If there is a wrapper, add the wrapper. That is, AOP.</li [...]
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Class<span style=color:#719e07><?>></span> classes <span style=color:#719e07>=</span> cachedClasses<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>classes <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>synchronized</span> <span style=color:#719e07>(</span>cachedClasses<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> classes <span style=color:#719e07>=</span> cachedClasses<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>classes <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> classes <span style=color:#719e07>=</span> loadExtensionClasses<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> cachedClasses<span style=color:#719e07>.</span>set<span style=color:#719e07>(</span>classes<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> classes<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75>// synchronized in getExtensionClasses
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#268bd2>private</span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Class<span style=color:#719e07><?>></span> loadExtensionClasses<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>final</span> SPI defaultAnnotation <span style=color:#719e07>=</span> type<span style=color:#719e07>.</span>getAnnotation<span style=color:#719e07>(</span>SPI<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>defaultAnnotation <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> String value <span style=color:#719e07>=</span> defaultAnnotation<span style=color:#719e07>.</span>value<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>value <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>&&</span> <span style=color:#719e07>(</span>value <span style=color:#719e07>=</span> value<span style=color:#719e07>.</span>trim<span style=color:#719e07>()).</span>length<span style=color:#719e07>()</span> <span style=color:#719e07>></span> <span [...]
+</span></span><span style=display:flex><span> String<span style=color:#719e07>[]</span> names <span style=color:#719e07>=</span> NAME_SEPARATOR<span style=color:#719e07>.</span>split<span style=color:#719e07>(</span>value<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>names<span style=color:#719e07>.</span>length <span style=color:#719e07>></span> <span style=color:#2aa198>1</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalStateException<span style=color:#719e07>(</span><span style=color:#2aa198>"more than 1 default extension name on extension "</span> <span style=color:#719e07>+</span> type<span style=color:#719e07>.</span>getName<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>names<span style=color:#719e07>.</span>length <span style=color:#719e07>==</span> <span style=color:#2aa198>1</span><span style=color:#719e07>)</span> cachedDefaultName <span style=color:#719e07>=</span> names<span style=color:#719e07>[</span><span style=color:#2aa198>0</span><span style=color:#719e07>];</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Class<span style=color:#719e07><?>></span> extensionClasses <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Class<span style=color:#719e07><?>>();</span>
+</span></span><span style=display:flex><span> loadFile<span style=color:#719e07>(</span>extensionClasses<span style=color:#719e07>,</span> DUBBO_INTERNAL_DIRECTORY<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> loadFile<span style=color:#719e07>(</span>extensionClasses<span style=color:#719e07>,</span> DUBBO_DIRECTORY<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> loadFile<span style=color:#719e07>(</span>extensionClasses<span style=color:#719e07>,</span> SERVICES_DIRECTORY<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> extensionClasses<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>This process is very simple. Get the extension class from the cache first, and if it does not exist, load it from the configuration file. The path of the configuration file has been mentioned before:</p><ul><li><code>META-INF/dubbo/internal</code></li><li><code>META-INF/dubbo</code></li><li><code>META-INF/services</code></li></ul><ol start=2><li>Use reflection to create an extended instance. This process is very simple. We can do this using <code>clazz [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>Method method <span style=color:#719e07>:</span> instance<span style=color:#719e07>.</span>getClass<span style=color:#719e07>().</span>getMethods<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>method<span style=color:#719e07>.</span>getName<span style=color:#719e07>().</span>startsWith<span style=color:#719e07>(</span><span style=color:#2aa198>"set"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>&&</span> method<span style=color:#719e07>.</span>getParameterTypes<span style=color:#719e07>().</span>length <span style=color:#719e07>==</span> <span style=color:#2aa198>1</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>&&</span> Modifier<span style=color:#719e07>.</span>isPublic<span style=color:#719e07>(</span>method<span style=color:#719e07>.</span>getModifiers<span style=color:#719e07>()))</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Class<span style=color:#719e07><?></span> pt <span style=color:#719e07>=</span> method<span style=color:#719e07>.</span>getParameterTypes<span style=color:#719e07>()[</span><span style=color:#2aa198>0</span><span style=color:#719e07>];</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> String property <span style=color:#719e07>=</span> method<span style=color:#719e07>.</span>getName<span style=color:#719e07>().</span>length<span style=color:#719e07>()</span> <span style=color:#719e07>></span> <span style=color:#2aa198>3</span> <span style=color:#719e07>?</span> method<span style=color:#719e07>.</span>getName<span style=color:#719e07>().</span>substring<span style=color:#719e07>(</span><span style=color:#2aa198 [...]
+</span></span><span style=display:flex><span> Object object <span style=color:#719e07>=</span> objectFactory<span style=color:#719e07>.</span>getExtension<span style=color:#719e07>(</span>pt<span style=color:#719e07>,</span> property<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>object <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> method<span style=color:#719e07>.</span>invoke<span style=color:#719e07>(</span>instance<span style=color:#719e07>,</span> object<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> instance<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>To accomplish the automatic assembly of dependencies of the extended instances, you first need to know what the dependencies are and what the types of dependencies are. The solution of Dubbo is to find the Java standard setter method. That is, the method name starting with set has only one parameter. If such a set method exists in an extension class, Dubbo injects it into dependencies, which is similar to the injection of Spring’s set method. How [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>this</span><span style=color:#719e07>.</span>type <span style=color:#719e07>=</span> type<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> objectFactory <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>type <span style=color:#719e07>==</span> ExtensionFactory<span style=color:#719e07>.</span>class <span style=color:#719e07>?</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>:</span> ExtensionLoader<span style=color:#719e07>.</span>getExtensionLoader<span style=color:#719e07>(</span>ExtensionFactory<span style=color:#719e07>.</span> [...]
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>ObjectFacore is also an extension, obtained through <code>ExtensionLoader.getExtensionLoader(ExtensionFactory.class).getAdaptiveExtension()</code>.</p><p><img src=/imgs/blog/dubbo-extensionfactory.png alt=Dubbo-ExtensionFactory title></p><p>ExtensionFactory includes three implementations:</p><ol><li>SpiExtensionFactory: use Dubbo’s Spi to load Extension.</li><li>SpringExtensionFactory: load Extension from the Spring container.</li><li>AdaptiveExt [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>AdaptiveExtensionFactory</span> <span style=color:#268bd2>implements</span> ExtensionFactory <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> <span style=color:#268bd2>final</span> List<span style=color:#719e07><</span>ExtensionFactory<span style=color:#719e07>></span> factories<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>AdaptiveExtensionFactory</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> ExtensionLoader<span style=color:#719e07><</span>ExtensionFactory<span style=color:#719e07>></span> loader <span style=color:#719e07>=</span> ExtensionLoader<span style=color:#719e07>.</span>getExtensionLoader<span style=color:#719e07>(</span>ExtensionFactory<span style=color:#719e07>.</span>class<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> List<span style=color:#719e07><</span>ExtensionFactory<span style=color:#719e07>></span> list <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ArrayList<span style=color:#719e07><</span>ExtensionFactory<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>String name <span style=color:#719e07>:</span> loader<span style=color:#719e07>.</span>getSupportedExtensions<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> list<span style=color:#719e07>.</span>add<span style=color:#719e07>(</span>loader<span style=color:#719e07>.</span>getExtension<span style=color:#719e07>(</span>name<span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> factories <span style=color:#719e07>=</span> Collections<span style=color:#719e07>.</span>unmodifiableList<span style=color:#719e07>(</span>list<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> T <span style=color:#268bd2>getExtension</span><span style=color:#719e07>(</span>Class<span style=color:#719e07><</span>T<span style=color:#719e07>></span> type<span style=color:#719e07>,</span> String name<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>ExtensionFactory factory <span style=color:#719e07>:</span> factories<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> T extension <span style=color:#719e07>=</span> factory<span style=color:#719e07>.</span>getExtension<span style=color:#719e07>(</span>type<span style=color:#719e07>,</span> name<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>extension <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> extension<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The AdaptiveExtensionLoader class has @Adaptive annotations. As mentioned earlier, Dubbo creates an adaptive instance for each extension. If the extension class has @Adaptive annotations, it will use it as an adaptive class. If not, Dubbo will create one for us. So <code>ExtensionLoader.getExtensionLoader(ExtensionFactory.class).getAdaptiveExtension())</code> will return an AdaptiveExtensionLoader instance as an adaptive extension instance.
+The AdaptiveExtensionLoader will iterate through all the ExtensionFactory implementations and try to load the extensions. If found, return. If not, continue to find it in the next ExtensionFactory. Dubbo has two ExtensionFactory built in, which are searched from Dubbo’s own extension mechanism and Spring container. Since ExtensionFactory itself is also an extension point, we can implement our own ExtensionFactory to enable automatic assembly of Dubbo to support our custom component [...]
+Does Dubbo’s extension mechanism also support similar features? The answer is yes. In Dubbo, there is a special class called the Wrapper class. It uses the wrapper class to wrap the original extension point instance through the decorator pattern, and then inserts additional logic before and after the original extension point implementation to implement AOP functionality.</p><h3 id=what-is-the-wrapper-class>What is the Wrapper class</h3><p>So what kind of class is the Wrapper class [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> A a<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>A</span><span style=color:#719e07>(</span>A a<span style=color:#719e07>){</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>this</span><span style=color:#719e07>.</span>a <span style=color:#719e07>=</span> a<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Class A has a constructor <code>public A(A a)</code>, and the argument to the constructor is A itself. Such a class can be a Wrapper class in the Dubbo extension mechanism. Such Wrapper classes in Dubbo include ProtocolFilterWrapper, ProtocolListenerWrapper, and so on. You can check the source code to deepen your understanding.</p><h3 id=how-to-configure-the-wrapper-class>How to configure the Wrapper class</h3><p>The Wrapper class in Dubbo is also an e [...]
+</span></span><span style=display:flex><span>listener=org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper
+</span></span><span style=display:flex><span>mock=org.apache.dubbo.rpc.support.MockProtocol
+</span></span></code></pre></div><p>When Dubbo loads the extension configuration file, there is a piece of code as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>try</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> clazz<span style=color:#719e07>.</span>getConstructor<span style=color:#719e07>(</span>type<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> Set<span style=color:#719e07><</span>Class<span style=color:#719e07><?>></span> wrappers <span style=color:#719e07>=</span> cachedWrapperClasses<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>wrappers <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> cachedWrapperClasses <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> ConcurrentHashSet<span style=color:#719e07><</span>Class<span style=color:#719e07><?>>();</span>
+</span></span><span style=display:flex><span> wrappers <span style=color:#719e07>=</span> cachedWrapperClasses<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> wrappers<span style=color:#719e07>.</span>add<span style=color:#719e07>(</span>clazz<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span> <span style=color:#719e07>catch</span> <span style=color:#719e07>(</span>NoSuchMethodException e<span style=color:#719e07>)</span> <span style=color:#719e07>{}</span>
+</span></span></code></pre></div><p>The meaning of this code is that if the extension class has a copy constructor, it will be saved for later use. The class that has the copy constructor is the Wrapper class. The parameter obtained by <code>clazz.getConstructor(type)</code> is the constructor of the extension point interface. Note that the parameter type of the constructor is an extension point interface, not an extension class.
+Take Protocol as an example. The configuration file <code>dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.rpc.Protocol defines filter=org.apache.dubbo.rpc.protocol. ProtocolFilterWrapper</code>.
+The code of ProtocolFilterWrapper is as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>ProtocolFilterWrapper</span> <span style=color:#268bd2>implements</span> Protocol <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> <span style=color:#268bd2>final</span> Protocol protocol<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>// One parameter is the copy constructor of Protocol
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> <span style=color:#268bd2>public</span> <span style=color:#268bd2>ProtocolFilterWrapper</span><span style=color:#719e07>(</span>Protocol protocol<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>protocol <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalArgumentException<span style=color:#719e07>(</span><span style=color:#2aa198>"protocol == null"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>this</span><span style=color:#719e07>.</span>protocol <span style=color:#719e07>=</span> protocol<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>ProtocolFilterWrapper has a constructor <code>public ProtocolFilterWrapper(Protocol protocol)</code>, and the parameter is the extension point Protocol. So it is a Wrapper class in the Dubbo extension mechanism. The ExtensionLoader will cache it. When creating Extension instances later, the ExtensionLoader use these wrapper classes to wrap the original Extension point in turn.</p><h2 id=extension-point-adaptive>Extension point adaptive</h2><p>As mentio [...]
+Let’s first look at the code to create an adaptive extension class:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> T <span style=color:#268bd2>getAdaptiveExtension</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Object instance <span style=color:#719e07>=</span> cachedAdaptiveInstance<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>instance <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>synchronized</span> <span style=color:#719e07>(</span>cachedAdaptiveInstance<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> instance <span style=color:#719e07>=</span> cachedAdaptiveInstance<span style=color:#719e07>.</span>get<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>instance <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> instance <span style=color:#719e07>=</span> createAdaptiveExtension<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> cachedAdaptiveInstance<span style=color:#719e07>.</span>set<span style=color:#719e07>(</span>instance<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#719e07>(</span>T<span style=color:#719e07>)</span> instance<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Continue to read the createAdaptiveExtension method:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>private</span> T <span style=color:#268bd2>createAdaptiveExtension</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> injectExtension<span style=color:#719e07>((</span>T<span style=color:#719e07>)</span> getAdaptiveExtensionClass<span style=color:#719e07>().</span>newInstance<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Continue to read the getAdaptiveExtensionClass method:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>private</span> Class<span style=color:#719e07><?></span> getAdaptiveExtensionClass<span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> getExtensionClasses<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>cachedAdaptiveClass <span style=color:#719e07>!=</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> cachedAdaptiveClass<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> cachedAdaptiveClass <span style=color:#719e07>=</span> createAdaptiveExtensionClass<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>Continue to read the createAdaptiveExtensionClass method. After a long journey, we finally come to a concrete realization. Look at this createAdaptiveExtensionClass method, which first generates the Java source code for the adaptive class, and then compile the source code into Java bytecode and load it into the JVM.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class= [...]
+</span></span><span style=display:flex><span> String code <span style=color:#719e07>=</span> createAdaptiveExtensionClassCode<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> ClassLoader classLoader <span style=color:#719e07>=</span> findClassLoader<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>common<span style=color:#719e07>.</span>compiler<span style=color:#719e07>.</span>Compiler compiler <span style=color:#719e07>=</span> ExtensionLoader<span style=color:#719e07>.</span>getExtensionLoader<span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> compiler<span style=color:#719e07>.</span>compile<span style=color:#719e07>(</span>code<span style=color:#719e07>,</span> classLoader<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The default implementation of Compiler’s code is javassist.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@SPI</span><span style=color:#719e07>(</span><span style=color:#2aa198>"javassist"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>Compiler</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Class<span style=color:#719e07><?></span> compile<span style=color:#719e07>(</span>String code<span style=color:#719e07>,</span> ClassLoader classLoader<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The createAdaptiveExtensionClassCode () method uses a StringBuilder to build Java source code for the adaptive class. The method implementation is relatively long, and the code is not posted here. The approach to bytecode generation is also interesting, first generating Java source code, then compiling it and loading it into the jvm. In this way, the generated Java class can be better controlled. And it doesn’t have to care about the API of the b [...]
+Below are the Java code example for Protocol adaptive class created by createAdaptiveExtensionClassCode method:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#719e07>package</span> org.apache.dubbo.rpc<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.common.extension.ExtensionLoader<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>Protocol$Adaptive</span> <span style=color:#268bd2>implements</span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Protocol <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>destroy</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> UnsupportedOperationException<span style=color:#719e07>(</span><span style=color:#2aa198>"method public abstract void org.apache.dubbo.rpc.Protocol.destroy() of interface org.apache.dubbo.rpc.Protocol is not adaptive method!"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> <span style=color:#dc322f>int</span> <span style=color:#268bd2>getDefaultPort</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> UnsupportedOperationException<span style=color:#719e07>(</span><span style=color:#2aa198>"method public abstract int org.apache.dubbo.rpc.Protocol.getDefaultPort() of interface org.apache.dubbo.rpc.Protocol is not adaptive method!"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Exporter <span style=color:#268bd2>export</span><span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Invoker arg0<sp [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>arg0 <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalArgumentException<span style=color:#719e07>(</span><span style=color:#2aa198>"org.apache.dubbo.rpc.Invoker argument == null"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>arg0<span style=color:#719e07>.</span>getUrl<span style=color:#719e07>()</span> <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalArgumentException<span style=color:#719e07>(</span><span style=color:#2aa198>"org.apache.dubbo.rpc.Invoker argument getUrl() == null"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>common<span style=color:#719e07>.</span>URL url <span style=color:#719e07>=</span> arg0<span style=color:#719e07>.</span>getUrl<span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span> String extName <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>url<span style=color:#719e07>.</span>getProtocol<span style=color:#719e07>()</span> <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>?</span> <span style=color:#2aa198>"dubbo"</span> <span style=color:#719e07>:</span> url<span style=color:#719e07>.</span>getProtocol<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>extName <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalStateException<span style=color:#719e07>(</span><span style=color:#2aa198>"Fail to get extension(org.apache.dubbo.rpc.Protocol) name from url("</span> <span style=color:#719e07>+</span> url<span style=color:#719e07>.</span>toString<span style=color:#719e07>()</span> <span style=color:#719e07>+</span> <span style=color:#2aa198>") use keys( [...]
+</span></span><span style=display:flex><span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Protocol extension <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Protocol<span style=color:#719e07>)</span> Ex [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> extension<span style=color:#719e07>.</span>export<span style=color:#719e07>(</span>arg0<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Invoker <span style=color:#268bd2>refer</span><span style=color:#719e07>(</span>java<span style=color:#719e07>.</span>lang<span style=color:#719e07>.</span>Class arg0<span style=color:#719e07>,</span> org<span style=color:#719e07>.</span>apache<span [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>arg1 <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalArgumentException<span style=color:#719e07>(</span><span style=color:#2aa198>"url == null"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>common<span style=color:#719e07>.</span>URL url <span style=color:#719e07>=</span> arg1<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> String extName <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>url<span style=color:#719e07>.</span>getProtocol<span style=color:#719e07>()</span> <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span> <span style=color:#719e07>?</span> <span style=color:#2aa198>"dubbo"</span> <span style=color:#719e07>:</span> url<span style=color:#719e07>.</span>getProtocol<span style=color:#719e07>());</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>if</span> <span style=color:#719e07>(</span>extName <span style=color:#719e07>==</span> <span style=color:#cb4b16>null</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>throw</span> <span style=color:#719e07>new</span> IllegalStateException<span style=color:#719e07>(</span><span style=color:#2aa198>"Fail to get extension(org.apache.dubbo.rpc.Protocol) name from url("</span> <span style=color:#719e07>+</span> url<span style=color:#719e07>.</span>toString<span style=color:#719e07>()</span> <span style=color:#719e07>+</span> <span style=color:#2aa198>") use keys( [...]
+</span></span><span style=display:flex><span> org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Protocol extension <span style=color:#719e07>=</span> <span style=color:#719e07>(</span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07>.</span>rpc<span style=color:#719e07>.</span>Protocol<span style=color:#719e07>)</span> Ex [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> extension<span style=color:#719e07>.</span>refer<span style=color:#719e07>(</span>arg0<span style=color:#719e07>,</span> arg1<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The general logic is the same as at the beginning. The parameters are parsed through the url, and the parsed logic is controlled by the value parameter of @adaptive, and then the extension points implementation are obtained according to the name of the extension point. And then finally make the call. If you want to know the specific construction logic of .Java code, you can see the complete implementation of <code>createAdaptiveExtensionClassCode</code>.
+In the generated Protocol$Adaptive, both the getDefaultPort and destroy methods are found to throw the exception directly. Why? Take a look at the source code of Protocol:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>@SPI</span><span style=color:#719e07>(</span><span style=color:#2aa198>"dubbo"</span><sp [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>Protocol</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>int</span> <span style=color:#268bd2>getDefaultPort</span><span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Adaptive</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> Exporter<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>export</span><span style=color:#719e07>(</span>Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> invoker<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> RpcException<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Adaptive</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>T<span style=color:#719e07>></span> Invoker<span style=color:#719e07><</span>T<span style=color:#719e07>></span> <span style=color:#268bd2>refer</span><span style=color:#719e07>(</span>Class<span style=color:#719e07><</span>T<span style=color:#719e07>></span> type<span style=color:#719e07>,</span> URL url<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> RpcExcepti [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#dc322f>void</span> <span style=color:#268bd2>destroy</span><span style=color:#719e07>();</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>As you can see, there are four methods in the Protocol interface, but only the methods of export and refer use the @Adaptive annotation. Dubbo automatically generates adaptive instances, and only the methods modified by @Adaptive has a specific implementation. Therefore, in the Protocol$Adaptive class, only the export and refer methods have specific implementations, and the rest of the methods throw exceptions.</p><ul class="list-unstyled d-flex justif [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/08/11/tracing-dubbo-service-with-apache-skywalking/index.html b/en/blog/2019/08/11/tracing-dubbo-service-with-apache-skywalking/index.html
new file mode 100644
index 00000000000..1ca63a53621
--- /dev/null
+++ b/en/blog/2019/08/11/tracing-dubbo-service-with-apache-skywalking/index.html
@@ -0,0 +1,48 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/08/11/tracing-dubbo-service-with-apache-skywalking/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-08-11T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Tracing Dubbo service with Apache Skywa [...]
+"><meta itemprop=datePublished content="2019-08-11T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="469"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Tracing Dubbo service with Apache Skywalking"><meta name=twitter:description content="This article introduces how to use Apache Skywalking to track Dubbo applications.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/tracing-with-skywalking.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+se [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Tracing%20Dubbo%20service%20with%20Apache%20Skywalking" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#introduction-to-apache-skywalking>Introduction to Apache Skywalking</a></li><li><a href=#dubbo-and-apache-skywalking>Dubbo and Apache Skywalking</a><ul><li><a href=#build-the-dubbo-demo--project>Build the Dubbo demo project</a></li><li><a href=#deploy-apache-skywalking>Deploy Apache Skywalking</a></li> [...]
+package org.apache.skywalking.demo.interfaces;</p><p>public interface HelloService {
+String sayHello(String name);
+}</p><h4 id=service-provider-project>Service provider project</h4><p>package org.apache.skywalking.demo.provider;</p><p>@Service(version = “${demo.service.version}”,
+application = “${dubbo.application.id}”,
+protocol = “${dubbo.protocol.id}”,
+registry = “${dubbo.registry.id}”, timeout = 60000)
+public class HelloServiceImpl implements HelloService {</p><pre><code>public String sayHello(String name) {
+ LockSupport.parkNanos(TimeUnit.SECONDS.toNanos(1));
+ return "Hello, " + name;
+}
+</code></pre><p>}</p><h4 id=service-consumer-project>Service consumer project</h4><p>package org.apache.skywalking.demo.consumer;</p><p>@RestController
+public class ConsumerController {</p><pre><code>private static int COUNT = 0;
+
+@Reference(version = "${demo.service.version}",
+ application = "${dubbo.application.id}",
+ url = "dubbo://localhost:20880", timeout = 60000)
+private HelloService helloService;
+
+@GetMapping("/sayHello/{name}")
+public String sayHello(@PathVariable(name = "name") String name) {
+ if ((COUNT++) % 3 == 0){
+ throw new RuntimeException();
+ }
+ LockSupport.parkNanos(TimeUnit.SECONDS.toNanos(2));
+ return helloService.sayHello(name);
+}
+</code></pre><p>}</p><h3 id=deploy-apache-skywalking>Deploy Apache Skywalking</h3><p><a href=https://github.com/apache/skywalking>Apache skywalking</a> offers two deployment modes: single-node mode and cluster mode,Here is the single-node mode deployment step, and more about how to deploy skywalking with cluster mode, please reference <a href=https://skywalking.apache.org/docs/main/next/en/setup/backend/backend-setup/>document</a>.</p><h4 id=third-party-components>Third-party components< [...]
+</span></span></code></pre></div><h4 id=deploy-the-provider-service>Deploy the provider service</h4><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>java -jar -javaagent:$AGENT_PATH/skywalking-agent.jar -Dskywalking.agent.application_code=dubbo-provider -Dskywalking.collector.servers=localhost:10800 dubbo-provider/target/dubbo-provider.jar
+</span></span></code></pre></div><h4 id=deploy-the-consumer-service>Deploy the consumer service</h4><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>java -jar -javaagent:$AGENT_PATH/skywalking-agent.jar -Dskywalking.agent.application_code=dubbo-consumer -Dskywalking.collector.servers=localhost:10800 dubbo-consumer/target/dubbo-consumer.jar
+</span></span></code></pre></div><h4 id=visit-demo-service>visit demo service</h4><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>curl http://localhost:8080/sayHello/test
+</span></span></code></pre></div><h2 id=skywalking-scren-snapshot>Skywalking scren snapshot</h2><h3 id=dashboard>Dashboard</h3><p><img src=/imgs/blog/skywalking-dashboard.png alt=/admin-guide/images/skywalking-dashboard.png></p><h3 id=topology>Topology</h3><p><img src=/imgs/blog/skywalking-topology.png alt=/admin-guide/images/skywalking-topology.png></p><h3 id=application-view>Application view</h3><p><img src=/imgs/blog/skywalking-application.png alt=/admin-guide/images/skywalking-applic [...]
+<img src=/imgs/blog/skywalking-application_instance.png alt=/admin-guide/images/skywalking-application_instance.png></p><h3 id=service-view>Service view</h3><p>Consumer side
+<img src=/imgs/blog/skywalking-service-consumer.png alt=/admin-guide/images/skywalking-service-consumer.png></p><p>provider side
+<img src=/imgs/blog/skywalking-service-provider.png alt=/admin-guide/images/skywalking-service-provider.png></p><h3 id=trace>Trace</h3><p><img src=/imgs/blog/skywalking-trace.png alt=/admin-guide/images/skywalking-trace.png></p><p>Span info
+<img src=/imgs/blog/skywalking-span-Info.png alt=/admin-guide/images/skywalking-span-Info.png></p><h3 id=alarm-view>Alarm view</h3><p><img src=/imgs/blog/skywalking-alarm.png alt=/admin-guide/images/skywalking-alarm.png></p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2019/05/02/dubbo-extensible-mechanism-source-code-analysis-part-2/ aria-label="Previous - Dubbo extensible mechanism source code analysis - part 2" class="btn bt [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2019/08/26/service-test/index.html b/en/blog/2019/08/26/service-test/index.html
new file mode 100644
index 00000000000..7231a6839bb
--- /dev/null
+++ b/en/blog/2019/08/26/service-test/index.html
@@ -0,0 +1,131 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2019/08/26/service-test/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-08-26T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Dubbo Admin service test"><meta itemprop=description content="This arti [...]
+"><meta itemprop=datePublished content="2019-08-26T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="825"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Dubbo Admin service test"><meta name=twitter:description content="This article introduces how to make service test with Dubbo.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/service-test.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+th [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Dubbo%20Admin%20service%20test" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#usage>Usage</a></li><li><a href=#principledata-source>Principle:Data source</a></li><li><a href=#principle-generalized-calls>Principle: Generalized calls</a></li><li><a href=#summary-and-outlook>Summary and outlook</a></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" [...]
+<img src=/imgs/blog/admin/testSearch.jpg alt=testSearch><br>the information here is similar to the metadata, including the method name, parameter type and return value. Click the label on the right to enter the <code>service test</code> page.</p></li><li><p>Service test:
+<img src=/imgs/blog/admin/testSuccess.jpg alt=testSuccess><br><code>service test</code> page contains two json editor, the parameter’s informations are all stored in a json format, where you need to fill in the corresponding parameter values (in this case, the number type is String ), after filling, click <code>execute</code> to initiate the call to the server, and the result of the call is displayed in the editor on the right. If the call fails, the detailed cause of the failure i [...]
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>Result <span style=color:#268bd2>getUser</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>,</span> UserInfoDO userInfoDO<span style=color:#719e07>);</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>UserInfoDO</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> <span style=color:#dc322f>int</span> id<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> LocationDO locationDO<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> DepartmentDO departmentDO<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>toString</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"UserInfoDO{"</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>"id="</span> <span style=color:#719e07>+</span> id <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>", locationDO="</span> <span style=color:#719e07>+</span> locationDO<span style=color:#719e07>.</span>toString<span style=color:#719e07>()</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>", departmentDO="</span> <span style=color:#719e07>+</span> departmentDO<span style=color:#719e07>.</span>toString<span style=color:#719e07>()</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>'}'</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DepartmentDO</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String departName<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> LocationDO departLocation<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>toString</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"DepartmentDO{"</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>"departName='"</span> <span style=color:#719e07>+</span> departName <span style=color:#719e07>+</span> <span style=color:#2aa198>'\''</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>", departLocation="</span> <span style=color:#719e07>+</span> departLocation<span style=color:#719e07>.</span>toString<span style=color:#719e07>()</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>'}'</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>LocationDO</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String address<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> <span style=color:#dc322f>int</span> postNum<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> String <span style=color:#268bd2>toString</span><span style=color:#719e07>()</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#2aa198>"LocationDO{"</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>"address='"</span> <span style=color:#719e07>+</span> address <span style=color:#719e07>+</span> <span style=color:#2aa198>'\''</span> <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>", postNum="</span> <span style=color:#719e07>+</span> postNum <span style=color:#719e07>+</span>
+</span></span><span style=display:flex><span> <span style=color:#2aa198>'}'</span><span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>The parameters are complex complex type. When the service is tested, the value of each field will be filled out layer by layer, As shown below:<br><img src=/imgs/blog/admin/complex.jpg alt=complex>
+It can also make successful call and the result is returned.</p><h2 id=principledata-source>Principle:Data source</h2><p>In the service test, the most important thing is the complete method signature, and the type information of the parameters, with which the values of each parameter can be filled step by step to assemble the complete service consumer. In Dubbo 2.7, the metadata center has been added. The method signature and parameter type information of Dubbo Admin is from here:<br><im [...]
+As shown, the server will register the metadata information of the service to the metadata center when it runs,the format is as follows:</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span>{
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"methods"</span>: [
+</span></span><span style=display:flex><span> {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"name"</span>: <span style=color:#2aa198>"sayHello"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"parameterTypes"</span>: [
+</span></span><span style=display:flex><span> <span style=color:#2aa198>"org.apache.dubbo.demo.model.User"</span>
+</span></span><span style=display:flex><span> ],
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"returnType"</span>: <span style=color:#2aa198>"org.apache.dubbo.demo.model.Result"</span>
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span> ],
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"types"</span>: [
+</span></span><span style=display:flex><span> {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"char"</span>
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"long"</span>
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"org.apache.dubbo.demo.model.Result"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"properties"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"msg"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"java.lang.String"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"properties"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"value"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"char[]"</span>
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"hash"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"int"</span>
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"userName"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"java.lang.String"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"properties"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"value"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"char[]"</span>
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"hash"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"int"</span>
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"org.apache.dubbo.demo.model.User"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"properties"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"id"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"java.lang.Long"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"properties"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"value"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"long"</span>
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"username"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"java.lang.Sring"</span>,
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"properties"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"value"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"char[]"</span>
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"hash"</span>: {
+</span></span><span style=display:flex><span> <span style=color:#268bd2>"type"</span>: <span style=color:#2aa198>"int"</span>
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> }
+</span></span><span style=display:flex><span> },
+</span></span><span style=display:flex><span> ...
+</span></span><span style=display:flex><span> ]
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>Related to service testing is the method and type information contained in <code>methods</code> and <code>types</code>. Based on this information, Dubbo Admin renders the parameters into the Json Editor of the service test page, where the user enters the values of each parameter and each member variable.</p><h2 id=principle-generalized-calls>Principle: Generalized calls</h2><p>With the parameter type, the next question is how to call to the server. In [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2020/05/18/past-releases/index.html b/en/blog/2020/05/18/past-releases/index.html
new file mode 100644
index 00000000000..eda5666bcf1
--- /dev/null
+++ b/en/blog/2020/05/18/past-releases/index.html
@@ -0,0 +1,143 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2020/05/18/past-releases/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2020-05-18T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="Past Releases"><meta itemprop=description content="This article will i [...]
+"><meta itemprop=datePublished content="2020-05-18T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="467"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Past Releases"><meta name=twitter:description content="This article will introduce you how to understand the details of each version and upgrade matters needing attention.
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/releases/past-releases.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Past%20Releases" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#verification>Verification</a></li><li><a href=#apache-dubbo>Apache Dubbo</a><ul><li><a href=#2719-2022-12-13>2.7.19 (2022-12-13)</a></li><li><a href=#320-beta2-2022-11-28>3.2.0-beta.2 (2022-11-28)</a></li><li><a href=#313-2022-11-28>3.1.3 (2022-11-28)</a></li><li><a href=#320-beta1-2022-11-08>3.2.0-bet [...]
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.7.19/apache-dubbo-2.7.19-src.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.7.19/apache-dubbo-2.7.19-src.zip.sha512>sha512</a></li></ul><h3 id=320-beta2-2022-11-28>3.2.0-beta.2 (2022-11-28)</h3><ul><li><a href=https://www.apache.org/dyn/closer.lua/dubbo/3.2.0-beta.2/apache-dubbo-3.2.0-beta.2-src.zip>source</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/3.2.0-beta.2/apache-dubbo-3.2.0-beta.2-src.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/3.2.0-beta.2/apache-dubbo-3.2.0-beta.2-src.zip.sha512>sha512</a></li></ul><h3 id=313-2022-11-28>3.1.3 (2022-11-28)</h3><ul><li><a href=https://www.apache.org/dyn/closer.lua/dubbo/3.1.3/apache-dubbo-3.1.3-src.zip>source</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/3.1.3/apache-dubbo-3.1.3-src.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/3.1.3/apache-dubbo-3.1.3-src.zip.sha512>sha512</a></li></ul><h3 id=320-beta1-2022-11-08>3.2.0-beta.1 (2022-11-08)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.2.0-beta.1/apache-dubbo-3.2.0-beta.1-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.2.0-beta.1/apache-dubbo-3.2.0-beta.1-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.2.0-beta.1/apache-dubbo-3.2.0-beta.1-src.zip.sha512>sha512</a></li></ul><h3 id=312-2022-11-08>3.1.2 (2022-11-08)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.1.2/apache-dubbo-3.1.2-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.1.2/apache-dubbo-3.1.2-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.1.2/apache-dubbo-3.1.2-src.zip.sha512>sha512</a></li></ul><h3 id=311-2022-09-29>3.1.1 (2022-09-29)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.1.1/apache-dubbo-3.1.1-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.1.1/apache-dubbo-3.1.1-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.1.1/apache-dubbo-3.1.1-src.zip.sha512>sha512</a></li></ul><h3 id=3012-2022-09-29>3.0.12 (2022-09-29)</h3><ul><li><a href=https://www.apache.org/dyn/closer.lua/dubbo/3.0.12/apache-dubbo-3.0.12-src.zip>source</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/3.0.12/apache-dubbo-3.0.12-src.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/3.0.12/apache-dubbo-3.0.12-src.zip.sha512>sha512</a></li></ul><h3 id=2718-2022-09-29>2.7.18 (2022-09-29)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.18/apache-dubbo-2.7.18-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.18/apache-dubbo-2.7.18-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.18/apache-dubbo-2.7.18-src.zip.sha512>sha512</a></li></ul><h3 id=2717-2022-08-23>2.7.17 (2022-08-23)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.17/apache-dubbo-2.7.17-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.17/apache-dubbo-2.7.17-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.17/apache-dubbo-2.7.17-src.zip.sha512>sha512</a></li></ul><h3 id=3011-2022-08-23>3.0.11 (2022-08-23)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.11/apache-dubbo-3.0.11-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.11/apache-dubbo-3.0.11-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.11/apache-dubbo-3.0.11-src.zip.sha512>sha512</a></li></ul><h3 id=310-2022-08-22>3.1.0 (2022-08-22)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.1.0/apache-dubbo-3.1.0-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.1.0/apache-dubbo-3.1.0-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.1.0/apache-dubbo-3.1.0-src.zip.sha512>sha512</a></li></ul><h3 id=3010-2022-07-21>3.0.10 (2022-07-21)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.10/apache-dubbo-3.0.10-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.10/apache-dubbo-3.0.10-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.10/apache-dubbo-3.0.10-src.zip.sha512>sha512</a></li></ul><h3 id=2716-2022-07-06>2.7.16 (2022-07-06)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.16/apache-dubbo-2.7.16-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.16/apache-dubbo-2.7.16-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.16/apache-dubbo-2.7.16-src.zip.sha512>sha512</a></li></ul><h3 id=309-2022-06-23>3.0.9 (2022-06-23)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.9/apache-dubbo-3.0.9-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.9/apache-dubbo-3.0.9-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.9/apache-dubbo-3.0.9-src.zip.sha512>sha512</a></li></ul><h3 id=308-2022-05-11>3.0.8 (2022-05-11)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.8/apache-dubbo-3.0.8-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.8/apache-dubbo-3.0.8-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.8/apache-dubbo-3.0.8-src.zip.sha512>sha512</a></li></ul><h3 id=307-2022-04-01>3.0.7 (2022-04-01)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.7/apache-dubbo-3.0.7-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.7/apache-dubbo-3.0.7-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.7/apache-dubbo-3.0.7-src.zip.sha512>sha512</a></li></ul><h3 id=306-2022-02-28>3.0.6 (2022-02-28)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.6/apache-dubbo-3.0.6-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.6/apache-dubbo-3.0.6-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.6/apache-dubbo-3.0.6-src.zip.sha512>sha512</a></li></ul><h3 id=305-2021-12-30>3.0.5 (2021-12-30)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.5/apache-dubbo-3.0.5-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.5/apache-dubbo-3.0.5-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.5/apache-dubbo-3.0.5-src.zip.sha512>sha512</a></li></ul><h3 id=2715-2021-12-29>2.7.15 (2021-12-29)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.15/apache-dubbo-2.7.15-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.15/apache-dubbo-2.7.15-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.15/apache-dubbo-2.7.15-src.zip.sha512>sha512</a></li></ul><h3 id=2612-2021-12-29>2.6.12 (2021-12-29)</h3><ul><li><a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.12/apache-dubbo-2.6.12-src.zip>source</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.12/apache-dubbo-v-src.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.12/apache-dubbo-2.6.12-src.zip.sha512>sha512</a></li></ul><h3 id=304-2021-10-24>3.0.4 (2021-10-24)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.4/apache-dubbo-3.0.4-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.4/apache-dubbo-3.0.4-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.4/apache-dubbo-3.0.4-src.zip.sha512>sha512</a></li></ul><h3 id=303-2021-09-27>3.0.3 (2021-09-27)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.3/apache-dubbo-3.0.3-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.3/apache-dubbo-3.0.3-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.3/apache-dubbo-3.0.3-src.zip.sha512>sha512</a></li></ul><h3 id=2714-2021-09-20>2.7.14 (2021-09-20)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.14/apache-dubbo-2.7.14-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.14/apache-dubbo-2.7.14-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.14/apache-dubbo-2.7.14-src.zip.sha512>sha512</a></li></ul><h3 id=2611-2021-09-18>2.6.11 (2021-09-18)</h3><ul><li><a href="https://www.apache.org/dyn/closer.cgi?path=dubbo/2.6.11/apache-dubbo-2.6.11-source-release.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.cgi?path=dubbo/2.6.11/apache-dubbo-2.6.11-source-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.cgi?path=dubbo/2.6.11/apache-dubbo-2.6.11-source-release.zip.sha512">sha512</a></li></ul><h3 id=3021-2021-08-23>3.0.2.1 (2021-08-23)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.2.1/apache-dubbo-3.0.2.1-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.2.1/apache-dubbo-3.0.2.1-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.2.1/apache-dubbo-3.0.2.1-src.zip.sha512>sha512</a></li></ul><h3 id=302-2021-08-16>3.0.2 (2021-08-16)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.2/apache-dubbo-3.0.2-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.2/apache-dubbo-3.0.2-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.2/apache-dubbo-3.0.2-src.zip.sha512>sha512</a></li></ul><h3 id=2713-2021-08-05>2.7.13 (2021-08-05)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.13/apache-dubbo-2.7.13-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.13/apache-dubbo-2.7.13-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.13/apache-dubbo-2.7.13-src.zip.sha512>sha512</a></li></ul><h3 id=301-2021-07-02>3.0.1 (2021-07-02)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.1/apache-dubbo-3.0.1-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.1/apache-dubbo-3.0.1-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.1/apache-dubbo-3.0.1-src.zip.sha512>sha512</a></li></ul><h3 id=300-2021-06-16>3.0.0 (2021-06-16)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/3.0.0/apache-dubbo-3.0.0-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.0/apache-dubbo-3.0.0-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/3.0.0/apache-dubbo-3.0.0-src.zip.sha512>sha512</a></li></ul><h3 id=2712-2021-06-11>2.7.12 (2021-06-11)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.12/apache-dubbo-2.7.12-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.12/apache-dubbo-2.7.12-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.12/apache-dubbo-2.7.12-src.zip.sha512>sha512</a></li></ul><h3 id=2711-2021-05-12>2.7.11 (2021-05-12)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.11/apache-dubbo-2.7.11-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.11/apache-dubbo-2.7.11-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.11/apache-dubbo-2.7.11-src.zip.sha512>sha512</a></li></ul><h3 id=2710-2021-04-08>2.7.10 (2021-04-08)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.10/apache-dubbo-2.7.10-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.10/apache-dubbo-2.7.10-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.10/apache-dubbo-2.7.10-src.zip.sha512>sha512</a></li></ul><h3 id=279-2020-02-23>2.7.9 (2020-02-23)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.9/apache-dubbo-2.7.9-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.9/apache-dubbo-2.7.9-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.9/apache-dubbo-2.7.9-src.zip.sha512>sha512</a></li></ul><h3 id=278-2020-07-28>2.7.8 (2020-07-28)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.8/apache-dubbo-2.7.8-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.8/apache-dubbo-2.7.8-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.8/apache-dubbo-2.7.8-source-release.zip.sha512>sha512</a></li></ul><h3 id=277-2020-05-18>2.7.7 (2020-05-18)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.7/apache-dubbo-2.7.7-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.7/apache-dubbo-2.7.7-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.7/apache-dubbo-2.7.7-src.zip.sha512>sha512</a></li></ul><h3 id=275-2019-12-29>2.7.5 (2019-12-29)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.5/apache-dubbo-2.7.5-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.5/apache-dubbo-2.7.5-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.5/apache-dubbo-2.7.5-src.zip.sha512>sha512</a></li></ul><h3 id=2741-2019-10-27>2.7.4.1 (2019-10-27)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.4.1/apache-dubbo-2.7.4.1-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.4.1/apache-dubbo-2.7.4.1-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.4.1/apache-dubbo-2.7.4.1-src.zip.sha512>sha512</a></li></ul><h3 id=274-2019-10-19>2.7.4 (2019-10-19)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.4/apache-dubbo-2.7.4-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.4/apache-dubbo-2.7.4-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.4/apache-dubbo-2.7.4-src.zip.sha512>sha512</a></li></ul><h3 id=273-2019-07-19>2.7.3 (2019-07-19)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.3/apache-dubbo-2.7.3-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.3/apache-dubbo-2.7.3-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.3/apache-dubbo-2.7.3-src.zip.sha512>sha512</a></li></ul><h3 id=272-2019-06-06>2.7.2 (2019-06-06)</h3><ul><li><a href=https://archive.apache.org/dist/dubbo/2.7.2/apache-dubbo-2.7.2-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.2/apache-dubbo-2.7.2-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/dubbo/2.7.2/apache-dubbo-2.7.2-src.zip.sha512>sha512</a></li></ul><h3 id=271-2019-03-26>2.7.1 (2019-03-26)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-src.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-src.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-src.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-bin.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-bin.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-bin.zip.sha512>sha512</a></li></ul><h3 id=270-2019-01-29>2.7.0 (2019-01-29)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-bin-release.zip.sha512>sha512</a></li></ul><h3 id=267-2019-07-15>2.6.7 (2019-07-15)</h3><ul><li><a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-source-release.zip>source</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-source-release.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-source-release.zip.sha512>sha512</a></li><li><a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-bin-release.zip>binary</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-bin-release.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-bin-release.zip.sha512>sha512</a></li></ul><h3 id=266-2019-03-07>2.6.6 (2019-03-07)</h3><ul><li><a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-source-release.zip>source</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-source-release.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-source-release.zip.sha512>sha512</a></li><li><a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-bin-release.zip>binary</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-bin-release.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-bin-release.zip.sha512>sha512</a></li></ul><h3 id=265-2018-11-23>2.6.5 (2018-11-23)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-bin-release.zip.sha512>sha512</a></li></ul><h3 id=264-2018-10-08>2.6.4 (2018-10-08)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-bin-release.zip.sha512>sha512</a></li></ul><h3 id=263-2018-09-11>2.6.3 (2018-09-11)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release.zip.sha512>sha512</a></li></ul><h3 id=262-2018-06-07>2.6.2 (2018-06-07)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-bin-release.zip.sha512>sha512</a></li></ul><h2 id=dubbo-spring-boot-starter>Dubbo Spring Boot Starter</h2><blockquote><p>GitHub: <a href=https://github.com/apache/incubator-dubbo-spring-boot-project>https://github.com/apache/incubator-dubbo-spring-boot-project</a><br>发布说明:https://github.com/apache/incubator-dubbo-spring-boot-project/releases</p></blockquote><h3 id=271-2019-04-09>2.7.1 (2019-04-09)</h3><u [...]
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-source-release.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-source-release.zip.sha512>sha512</a></li><li><a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-bin-release.zip>binary</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-bin-release.zip.asc>asc</a> |
+<a href=https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-bin-release.zip.sha512>sha512</a></li></ul><h3 id=270-2019-02-14>2.7.0 (2019-02-14)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-bin-release.zip.sha512>sha512</a></li></ul><h3 id=021-2019-01-27>0.2.1 (2019-01-27)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-bin-release.zip.sha512>sha512</a></li></ul><h3 id=012-2019-01-27>0.1.2 (2019-01-27)</h3><ul><li><a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-source-release.zip>source</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-source-release.zip.sha512>sha512</a></li><li><a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-bin-release.zip>binary</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-bin-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-bin-release.zip.sha512>sha512</a></li></ul><h2 id=dubbo-admin>Dubbo Admin</h2><blockquote><p>GitHub: <a href=https://github.com/apache/incubator-dubbo-admin>https://github.com/apache/incubator-dubbo-admin</a><br>Release Notes: <a href=https://github.com/apache/incubator-dubbo-admin/releases>https://github.com/apache/incubator-dubbo-admin/releases</a></p></bl [...]
+<a href=https://archive.apache.org/dist/incubator/dubbo/dubbo-ops/0.1/apache-dubbo-ops-incubating-0.1-source-release.zip.asc>asc</a> |
+<a href=https://archive.apache.org/dist/incubator/dubbo/dubbo-ops/0.1/apache-dubbo-ops-incubating-0.1-source-release.zip.sha512>sha512</a></li></ul><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a class="btn btn-primary disabled"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2021/07/02/3.0.1-release-note/ aria-label="Next - 3.0.1 Release Note" class="btn btn-primary">Next<span class=ml-1>→</span></a></li></ul></div></main></div></d [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2021/07/02/3.0.1-release-note/index.html b/en/blog/2021/07/02/3.0.1-release-note/index.html
new file mode 100644
index 00000000000..b14dcf321d2
--- /dev/null
+++ b/en/blog/2021/07/02/3.0.1-release-note/index.html
@@ -0,0 +1,18 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2021/07/02/3.0.1-release-note/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2021-07-02T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="3.0.1 Release Note"><meta itemprop=description content="The relea [...]
+"><meta itemprop=datePublished content="2021-07-02T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="101"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="3.0.1 Release Note"><meta name=twitter:description content="The release note of Apache Dubbo 3.0.1
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/releases/3.0.1.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+t [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=3.0.1%20Release%20Note" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#optimization>Optimization</a></li><li><a href=#bugfixs>BugFixs</a></li><li><a href=#code-improvement>Code Improvement</a></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo. [...]
+<a href=https://github.com/apache/dubbo/pull/8044>#8044</a>,
+<a href=https://github.com/apache/dubbo/pull/8048>#8048</a>,
+<a href=https://github.com/apache/dubbo/pull/8071>#8071</a>,
+<a href=https://github.com/apache/dubbo/pull/8119>#8119</a>,
+<a href=https://github.com/apache/dubbo/pull/8132>#8132</a></p><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2020/05/18/past-releases/ aria-label="Previous - Past Releases" class="btn btn-primary"><span class=mr-1>←</span>Previous</a></li><a href=/en/blog/2021/08/18/3.0.2-release-note/ aria-label="Next - 3.0.2 Release Note" class="btn btn-primary">Next<span class=ml-1>→</span></a></li></ul></div></main></div></div><footer class [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2021/08/18/3.0.2-release-note/index.html b/en/blog/2021/08/18/3.0.2-release-note/index.html
new file mode 100644
index 00000000000..eb955f41bf3
--- /dev/null
+++ b/en/blog/2021/08/18/3.0.2-release-note/index.html
@@ -0,0 +1,55 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2021/08/18/3.0.2-release-note/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2021-08-18T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="3.0.2 Release Note"><meta itemprop=description content="The relea [...]
+"><meta itemprop=datePublished content="2021-08-18T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="510"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="3.0.2 Release Note"><meta name=twitter:description content="The release note of Apache Dubbo 3.0.2
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/releases/3.0.2.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+t [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=3.0.2%20Release%20Note" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#features>Features</a></li><li><a href=#bugfixs>BugFixs</a></li><li><a href=#optimization>Optimization</a></li><li><a href=#code-improvement>Code Improvement</a></li><li><a href=#dependency-changes>Dependency Changes</a></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" [...]
+<a href=https://github.com/apache/dubbo/pull/8147>#8147</a>,
+<a href=https://github.com/apache/dubbo/pull/8164>#8164</a>,
+<a href=https://github.com/apache/dubbo/pull/8177>#8177</a>,
+<a href=https://github.com/apache/dubbo/pull/8180>#8180</a>,
+<a href=https://github.com/apache/dubbo/pull/8161>#8161</a>,
+<a href=https://github.com/apache/dubbo/pull/8183>#8183</a>,
+<a href=https://github.com/apache/dubbo/pull/8205>#8205</a>,
+<a href=https://github.com/apache/dubbo/pull/8215>#8215</a>,
+<a href=https://github.com/apache/dubbo/pull/8173>#8173</a>,
+<a href=https://github.com/apache/dubbo/pull/8219>#8219</a>,
+<a href=https://github.com/apache/dubbo/pull/8228>#8228</a>,
+<a href=https://github.com/apache/dubbo/pull/8232>#8232</a>,
+<a href=https://github.com/apache/dubbo/pull/8230>#8230</a>,
+<a href=https://github.com/apache/dubbo/pull/8236>#8236</a>,
+<a href=https://github.com/apache/dubbo/pull/8260>#8260</a>,
+<a href=https://github.com/apache/dubbo/pull/8262>#8262</a>,
+<a href=https://github.com/apache/dubbo/pull/8252>#8252</a>,
+<a href=https://github.com/apache/dubbo/pull/8246>#8246</a>,
+<a href=https://github.com/apache/dubbo/pull/8208>#8208</a>,
+<a href=https://github.com/apache/dubbo/pull/8278>#8278</a>,
+<a href=https://github.com/apache/dubbo/pull/8267>#8267</a>,
+<a href=https://github.com/apache/dubbo/pull/8277>#8277</a>,
+<a href=https://github.com/apache/dubbo/pull/8291>#8291</a>,
+<a href=https://github.com/apache/dubbo/pull/8296>#8296</a>,
+<a href=https://github.com/apache/dubbo/pull/8302>#8302</a>,
+<a href=https://github.com/apache/dubbo/pull/8175>#8175</a>,
+<a href=https://github.com/apache/dubbo/pull/8319>#8319</a>,
+<a href=https://github.com/apache/dubbo/pull/8309>#8309</a>,
+<a href=https://github.com/apache/dubbo/pull/8336>#8336</a>,
+<a href=https://github.com/apache/dubbo/pull/8332>#8332</a>,
+<a href=https://github.com/apache/dubbo/pull/8328>#8328</a>,
+<a href=https://github.com/apache/dubbo/pull/8355>#8355</a>,
+<a href=https://github.com/apache/dubbo/pull/8396>#8396</a>,
+<a href=https://github.com/apache/dubbo/pull/8401>#8401</a>,
+<a href=https://github.com/apache/dubbo/pull/8395>#8395</a>,
+<a href=https://github.com/apache/dubbo/pull/8415>#8415</a>,
+<a href=https://github.com/apache/dubbo/pull/8406>#8406</a>,
+<a href=https://github.com/apache/dubbo/pull/8411>#8411</a>,
+<a href=https://github.com/apache/dubbo/pull/8418>#8418</a>,
+<a href=https://github.com/apache/dubbo/pull/8439>#8439</a>,
+<a href=https://github.com/apache/dubbo/pull/8404>#8404</a>,
+<a href=https://github.com/apache/dubbo/pull/8443>#8443</a></p><h2 id=dependency-changes>Dependency Changes</h2><ul><li>remove dependency: org.eclipse.collections:eclipse-collections</li><li>remove dependency: com.google.guava:guava</li><li>jetty: 9.4.11.v20180605 -> 9.4.43.v20210629</li><li>apollo client: 1.1.1 -> 1.8.0</li><li>snakeyaml: 1.20 -> 1.29</li><li>tomcat embed: 8.5.31 -> 8.5.69</li><li>nacos client: 2.0.0 -> 2.0.2</li><li>swagger: 1.5.19 -> 1.5.24</li><li>hessian_lite: 3.2.8 [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2021/08/23/3.0.2.1-release-note/index.html b/en/blog/2021/08/23/3.0.2.1-release-note/index.html
new file mode 100644
index 00000000000..3cfc53426c7
--- /dev/null
+++ b/en/blog/2021/08/23/3.0.2.1-release-note/index.html
@@ -0,0 +1,14 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2021/08/23/3.0.2.1-release-note/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2021-08-23T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="3.0.2.1 Release Note"><meta itemprop=description content="The r [...]
+"><meta itemprop=datePublished content="2021-08-23T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="43"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="3.0.2.1 Release Note"><meta name=twitter:description content="The release note of Apache Dubbo 3.0.2.1
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/releases/3.0.2.1.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=3.0.2.1%20Release%20Note" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/releases/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>3.0.2.1 Release Note</h1><div class=lead>The release note of Apache Dubbo 3.0.2.1</div [...]
+Exactly the same as version 3.0.2, except for the following changes.</p><h2 id=bugfix>Bugfix</h2><ul><li>Fix nacos group inviable in consumer side (#8533)</li><li>Fix NPE on serialization checking when request timed out (#8547)</li><li>Compact with dubbo-all without farbic-io (#8546)</li></ul><ul class="list-unstyled d-flex justify-content-between align-items-center mb-0 pt-5"><li><a href=/en/blog/2021/08/18/3.0.2-release-note/ aria-label="Previous - 3.0.2 Release Note" class="btn btn-pr [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2021/09/20/2.7.14-release-note/index.html b/en/blog/2021/09/20/2.7.14-release-note/index.html
new file mode 100644
index 00000000000..1d497c24efe
--- /dev/null
+++ b/en/blog/2021/09/20/2.7.14-release-note/index.html
@@ -0,0 +1,13 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+"><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/en/blog/2021/09/20/2.7.14-release-note/"><meta property="article:section" content="blog"><meta property="article:published_time" content="2021-09-20T00:00:00+00:00"><meta property="article:modified_time" content="2022-12-15T15:48:38+08:00"><meta property="og:site_name" content="Apache Dubbo"><meta itemprop=name content="2.7.14 Release Note"><meta itemprop=description content="The rel [...]
+"><meta itemprop=datePublished content="2021-09-20T00:00:00+00:00"><meta itemprop=dateModified content="2022-12-15T15:48:38+08:00"><meta itemprop=wordCount content="157"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="2.7.14 Release Note"><meta name=twitter:description content="The release note of Apache Dubbo 2.7.14
+"><script type=application/javascript>var doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script async src=https://www.google-analytics.com/analytics.js></script>
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/releases/2.7.14.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=2.7.14%20Release%20Note" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/releases/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=td-content><h1>2.7.14 Release Note</h1><div class=lead>The release note of Apache Dubbo 2.7.14</div>< [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2022/01/18/makes-it-more-convenient-for-you-to-proxy-dubbo-services-in-apache-apisix/index.html b/en/blog/2022/01/18/makes-it-more-convenient-for-you-to-proxy-dubbo-services-in-apache-apisix/index.html
new file mode 100644
index 00000000000..d9b2983be6c
--- /dev/null
+++ b/en/blog/2022/01/18/makes-it-more-convenient-for-you-to-proxy-dubbo-services-in-apache-apisix/index.html
@@ -0,0 +1,139 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/how-to-proxy-dubbo-in-apache-apisix.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Makes%20it%20More%20Convenient%20for%20You%20to%20Proxy%20Dubbo%20Services%20in%20Apache%20APISIX" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#background>Background</a></li><li><a href=#how-to-use>How to use</a><ul><li><a href=#getting-started-installation-and-use>Getting Started: Installation and Use</a></li><li><a href=#advanced-complex-scenario-example>Advanced: Complex Scenario Example</a></li></ul></li><li><a href=#summary>Summary</a></l [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * standard samples dubbo infterace demo
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @param context pass http infos
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * @return Map<String, Object></> pass to response http
+</span></span></span><span style=display:flex><span><span style=color:#586e75> **/</span>
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> <span style=color:#268bd2>apisixDubbo</span><span style=color:#719e07>(</span>Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> httpRequestContext<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>As shown above, the Dubbo interface is defined in a fixed way. The <code>Map</code> of method parameters represents the information passed by APISIX to the Dubbo Provider about the HTTP request (e.g. header, body, …). The <code>Map</code> of the method return value indicates how the Dubbo Provider passes some information to APISIX about the HTTP response to be returned.</p><p>After the interface information, the DemoService can be published via XM [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2><bean</span> id=<span style=color:#2aa198>"demoService"</span> class=<span style=color:#2aa198>"org.apache.dubbo.samples.provider.DemoServiceImpl"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#586e75><!-- declare the service interface to be exported --></span>
+</span></span><span style=display:flex><span><span style=color:#268bd2><dubbo:service</span> interface=<span style=color:#2aa198>"org.apache.dubbo.samples.apisix.DemoService"</span> ref=<span style=color:#2aa198>"demoService"</span><span style=color:#268bd2>/></span>
+</span></span></code></pre></div><p>After the above configuration, the Consumer can access the <code>apisixDubbo</code> method through <code>org.apache.dubbo.samples.apisix.DemoService</code> The specific interface implementation is as follows.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#268bd2>public</span> <span sty [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> <span style=color:#268bd2>apisixDubbo</span><span style=color:#719e07>(</span>Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> httpRequestContext<span style=color:#719e07>)</span> <span style=color:#719 [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span>Map<span style=color:#719e07>.</span>Entry<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> entry <span style=color:#719e07>:</span> httpRequestContext<span style=color:#719e07>.</span>entrySet<span style=color:#719e07>())</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> System<span style=color:#719e07>.</span>out<span style=color:#719e07>.</span>println<span style=color:#719e07>(</span><span style=color:#2aa198>"Key = "</span> <span style=color:#719e07>+</span> entry<span style=color:#719e07>.</span>getKey<span style=color:#719e07>()</span> <span style=color:#719e07>+</span> <span style=color:#2aa198>", Value = "</span> <span style=color:#719e07>+</span> entry<span style=color:#719 [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> ret <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>>();</span>
+</span></span><span style=display:flex><span> ret<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"body"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"dubbo success\n"</span><span style=color:#719e07>);</span> <span style=color:#586e75>// http response body
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> ret<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"status"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"200"</span><span style=color:#719e07>);</span> <span style=color:#586e75>// http response status
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span> ret<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"test"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>"123"</span><span style=color:#719e07>);</span> <span style=color:#586e75>// http response header
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> ret<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>:::note
+In the above code, <code>DemoServiceImpl</code> prints the received <code>httpRequestContext</code> and describes the HTTP response to the Dubbo request by returning a Map object with the specified Key.
+:::</p><h4 id=operation-steps>Operation steps</h4><ol><li>Start <a href=https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-tengine#install-dubbo><code>dubbo-samples</code></a>.</li><li>Enable the <code>dubbo-proxy</code> plugin in the <code>config.yaml</code> file.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yaml data-lang=yaml><span style=display:flex><span><span s [...]
+</span></span><span style=display:flex><span><span style=color:#268bd2>plugins</span>:
+</span></span><span style=display:flex><span> - ... <span style=color:#586e75># plugin you need</span>
+</span></span><span style=display:flex><span> - dubbo-proxy
+</span></span></code></pre></div><ol start=3><li>Create an Upstream that points to the Dubbo Provider.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>curl http://127.0.0.1:9180/apisix/admin/upstreams/1 -H <span style=color:#2aa198>'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X PUT -d <span style=color:#2aa198>'
+</span></span></span><span style=display:flex><span><span style=color:#2aa198>{
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "nodes": {
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "127.0.0.1:20880": 1
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> },
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "type": "roundrobin"
+</span></span></span><span style=display:flex><span><span style=color:#2aa198>}'</span>
+</span></span></code></pre></div><ol start=4><li>Expose an HTTP route for the DemoService.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>curl http://127.0.0.1:9180/apisix/admin/routes/1 -H <span style=color:#2aa198>'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'</span> -X PUT -d <span style=color:#2aa198>'
+</span></span></span><span style=display:flex><span><span style=color:#2aa198>{
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "host": "example.org"
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "uris": [
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "/demo"
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> ],
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "plugins": {
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "dubbo-proxy": {
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "service_name": "org.apache.dubbo.samples.apisix.DemoService",
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "service_version": "0.0.0",
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "method": "apisixDubbo"
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> }
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> },
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "upstream_id": 1
+</span></span></span><span style=display:flex><span><span style=color:#2aa198>}'</span>
+</span></span></code></pre></div><ol start=5><li>Use the curl command to request Apache APISIX and view the returned results.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>curl http://127.0.0.1:9080/demo -H <span style=color:#2aa198>"Host: example.org"</span> -X POST --data <span style=color:#2aa198>'{"name": [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>< HTTP/1.1 <span style=color:#2aa198>200</span> OK
+</span></span><span style=display:flex><span>< Date: Sun, <span style=color:#2aa198>26</span> Dec <span style=color:#2aa198>2021</span> 11:33:27 GMT
+</span></span><span style=display:flex><span>< Content-Type: text/plain; <span style=color:#268bd2>charset</span><span style=color:#719e07>=</span>utf-8
+</span></span><span style=display:flex><span>< Content-Length: <span style=color:#2aa198>14</span>
+</span></span><span style=display:flex><span>< Connection: keep-alive
+</span></span><span style=display:flex><span>< test: <span style=color:#2aa198>123</span>
+</span></span><span style=display:flex><span>< Server: APISIX/2.11.0
+</span></span><span style=display:flex><span><
+</span></span><span style=display:flex><span>dubbo success
+</span></span></code></pre></div><p>:::note
+The above code returns the <code>test: 123</code> Header, and the <code>dubbo success</code> string as the body. This is the same as what we expected in the <code>DemoServiceImpl</code> code.
+:::</p><ol start=6><li>You can view the logs of the Dubbo Provider.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>Key = content-length, Value = 17
+</span></span><span style=display:flex><span>Key = host, Value = example.org
+</span></span><span style=display:flex><span>Key = content-type, Value = application/x-www-form-urlencoded
+</span></span><span style=display:flex><span>Key = body, Value = [B@70754265
+</span></span><span style=display:flex><span>Key = accept, Value = */*
+</span></span><span style=display:flex><span>Key = user-agent, Value = curl/7.80.0
+</span></span></code></pre></div><p>:::note
+The Header and Body of the HTTP request are available through the <code>httpRequestContext</code>, where the Header is used as a Map element, while the Body has a fixed string “body” as the Key value and a Byte array as the Value.
+:::</p><h3 id=advanced-complex-scenario-example>Advanced: Complex Scenario Example</h3><p>As you can see in the simple use case above, we do publish Dubbo Service as an HTTP service via Apache APISIX, but there are obvious limitations in its use. For example, the parameters and return values of the interface must be <code>Map<String, Object></code>.</p><p>So, how do you expose the HTTP service through Apache APISIX if there is an interface in your project that is already defined, but [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String type<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String value<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DubboInvocation</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String service<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> String method<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> DubboInvocationParameter<span style=color:#719e07>[]</span> parameters<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>interface</span> <span style=color:#268bd2>HTTP2DubboService</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> <span style=color:#268bd2>invoke</span><span style=color:#719e07>(</span>Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> context<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span> Exception<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Component</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>HTTP2DubboServiceImpl</span> <span style=color:#268bd2>implements</span> HTTP2DubboService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Autowired</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>private</span> ApplicationContext appContext<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> <span style=color:#268bd2>invoke</span><span style=color:#719e07>(</span>Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> context<span style=color:#719e07>)</span> <span style=color:#268bd2>throws</span [...]
+</span></span><span style=display:flex><span> DubboInvocation invocation <span style=color:#719e07>=</span> JSONObject<span style=color:#719e07>.</span>parseObject<span style=color:#719e07>((</span><span style=color:#dc322f>byte</span><span style=color:#719e07>[])</span> context<span style=color:#719e07>.</span>get<span style=color:#719e07>(</span><span style=color:#2aa198>"body"</span><span style=color:#719e07>),</span> DubboInvocation<span style=color:#719e07>.</span>cla [...]
+</span></span><span style=display:flex><span> Object<span style=color:#719e07>[]</span> args <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> Object<span style=color:#719e07>[</span>invocation<span style=color:#719e07>.</span>getParameters<span style=color:#719e07>().</span>size<span style=color:#719e07>()];</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>for</span> <span style=color:#719e07>(</span><span style=color:#dc322f>int</span> i <span style=color:#719e07>=</span> <span style=color:#2aa198>0</span><span style=color:#719e07>;</span> i <span style=color:#719e07><</span> args<span style=color:#719e07>.</span>length<span style=color:#719e07>;</span> i<span style=color:#719e07>++)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> DubboInvocationParameter parameter <span style=color:#719e07>=</span> invocation<span style=color:#719e07>.</span>getParameters<span style=color:#719e07>().</span>get<span style=color:#719e07>(</span>i<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> args<span style=color:#719e07>[</span>i<span style=color:#719e07>]</span> <span style=color:#719e07>=</span> JSONObject<span style=color:#719e07>.</span>parseObject<span style=color:#719e07>(</span>parameter<span style=color:#719e07>.</span>getValue<span style=color:#719e07>(),</span> Class<span style=color:#719e07>.</span>forName<span style=color:#719e07>(</span>parameter<span style=color:#719e07>.</span>getType<span style=color:# [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> Object svc <span style=color:#719e07>=</span> appContext<span style=color:#719e07>.</span>getBean<span style=color:#719e07>(</span>Class<span style=color:#719e07>.</span>forName<span style=color:#719e07>(</span>invocation<span style=color:#719e07>.</span>getService<span style=color:#719e07>()));</span>
+</span></span><span style=display:flex><span> Object result <span style=color:#719e07>=</span> svc<span style=color:#719e07>.</span>getClass<span style=color:#719e07>().</span>getMethod<span style=color:#719e07>(</span>invocation<span style=color:#719e07>.</span>getMethod<span style=color:#719e07>()).</span>invoke<span style=color:#719e07>(</span>args<span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> Map<span style=color:#719e07><</span>String<span style=color:#719e07>,</span> Object<span style=color:#719e07>></span> httpResponse <span style=color:#719e07>=</span> <span style=color:#719e07>new</span> HashMap<span style=color:#719e07><>();</span>
+</span></span><span style=display:flex><span> httpResponse<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"status"</span><span style=color:#719e07>,</span> <span style=color:#2aa198>200</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> httpResponse<span style=color:#719e07>.</span>put<span style=color:#719e07>(</span><span style=color:#2aa198>"body"</span><span style=color:#719e07>,</span> JSONObject<span style=color:#719e07>.</span>toJSONString<span style=color:#719e07>(</span>result<span style=color:#719e07>));</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> httpResponse<span style=color:#719e07>;</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><ol start=2><li>Initiate the relevant call with the following command request.</li></ol><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>curl http://127.0.0.1:9080/demo -H <span style=color:#2aa198>"Host: example.org"</span> -X POST --data <span style=color:#2aa198>'
+</span></span></span><span style=display:flex><span><span style=color:#2aa198>{
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "service": "org.apache.dubbo.samples.apisix.DemoService",
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "method": "createUser",
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "parameters": [
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> {
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "type": "org.apache.dubbo.samples.apisix.User",
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> "value": "{'</span>name<span style=color:#2aa198>': '</span>hello<span style=color:#2aa198>'}"
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> }
+</span></span></span><span style=display:flex><span><span style=color:#2aa198> ]
+</span></span></span><span style=display:flex><span><span style=color:#2aa198>}'</span>
+</span></span></code></pre></div><h2 id=summary>Summary</h2><p>In this article, we introduced how to use Apache APISIX to implement a proxy for Dubbo Service. By introducing the <code>dubbo-proxy</code> plugin, you can build a simpler and more efficient traffic link for the back-end system of Dubbo framework.</p><p>We hope that the above steps and use cases will provide you with ideas for using it in relevant scenarios. For more information about the <code>dubbo-proxy</code> plugin, plea [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/2022/05/04/how-to-proxy-dubbo-service-in-apache-shenyu-gateway/index.html b/en/blog/2022/05/04/how-to-proxy-dubbo-service-in-apache-shenyu-gateway/index.html
new file mode 100644
index 00000000000..47bb2b4eba3
--- /dev/null
+++ b/en/blog/2022/05/04/how-to-proxy-dubbo-service-in-apache-shenyu-gateway/index.html
@@ -0,0 +1,99 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-page td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8.6V3 [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/news/how-to-proxy-dubbo-in-apache-shenyu.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+ [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=How%20to%20proxy%20Dubbo%20service%20in%20Apache%20ShenYu%20Gateway" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#1-introduction>1. Introduction</a></li><li><a href=#2-quick-start-with-dubbo>2. Quick Start with Dubbo</a><ul><li><a href=#21-start-shenyu-admin>2.1 Start shenyu-admin</a></li><li><a href=#22-start-shenyu-gateway>2.2 Start ShenYu Gateway</a></li><li><a href=#23-start-shenyu-examples-dubbo>2.3 Start she [...]
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>groupId<span style=color:#719e07>></span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>shenyu<span style=color:#719e07></</span>groupId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>artifactId<span style=color:#719e07>></span>shenyu<span style=color:#719e07>-</span>spring<span style=color:#719e07>-</span>boot<span style=color:#719e07>-</span>starter<span style=color:#719e07>-</span>plugin<span style=color:#719e07>-</span>apache<span style=color:#719e07>-</span>dubbo<span style=color:#719e07></</span>artifactId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>version<span style=color:#719e07>></span>$<span style=color:#719e07>{</span>project<span style=color:#719e07>.</span>version<span style=color:#719e07>}</</span>version<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>groupId<span style=color:#719e07>></span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>dubbo<span style=color:#719e07></</span>groupId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>artifactId<span style=color:#719e07>></span>dubbo<span style=color:#719e07></</span>artifactId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>version<span style=color:#719e07>></span><span style=color:#2aa198>2.7.5</span><span style=color:#719e07></</span>version<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><!--</span> Dubbo zookeeper registry dependency start <span style=color:#719e07>--></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>groupId<span style=color:#719e07>></span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>curator<span style=color:#719e07></</span>groupId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>artifactId<span style=color:#719e07>></span>curator<span style=color:#719e07>-</span>client<span style=color:#719e07></</span>artifactId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>version<span style=color:#719e07>></span><span style=color:#2aa198>4.0.1</span><span style=color:#719e07></</span>version<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>exclusions<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>exclusion<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>artifactId<span style=color:#719e07>></span>log4j<span style=color:#719e07></</span>artifactId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>groupId<span style=color:#719e07>></span>log4j<span style=color:#719e07></</span>groupId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>exclusion<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>exclusions<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>groupId<span style=color:#719e07>></span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>curator<span style=color:#719e07></</span>groupId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>artifactId<span style=color:#719e07>></span>curator<span style=color:#719e07>-</span>framework<span style=color:#719e07></</span>artifactId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>version<span style=color:#719e07>></span><span style=color:#2aa198>4.0.1</span><span style=color:#719e07></</span>version<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>groupId<span style=color:#719e07>></span>org<span style=color:#719e07>.</span>apache<span style=color:#719e07>.</span>curator<span style=color:#719e07></</span>groupId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>artifactId<span style=color:#719e07>></span>curator<span style=color:#719e07>-</span>recipes<span style=color:#719e07></</span>artifactId<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><</span>version<span style=color:#719e07>></span><span style=color:#2aa198>4.0.1</span><span style=color:#719e07></</span>version<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07></</span>dependency<span style=color:#719e07>></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><!--</span> Dubbo zookeeper registry dependency end <span style=color:#719e07>--></span>
+</span></span><span style=display:flex><span> <span style=color:#719e07><!--</span> apache dubbo plugin end<span style=color:#719e07>--></span>
+</span></span></code></pre></div><h3 id=23-start-shenyu-examples-dubbo>2.3 Start shenyu-examples-dubbo</h3><p>Take the example provided on the official website <a href=https://github.com/apache/shenyu/tree/master/shenyu-examples/shenyu-examples-dubbo>shenyu-examples-dubbo</a>. Suppose the <code>dubbo</code> service is defined as follows.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml d [...]
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:application</span> name=<span style=color:#2aa198>"test-dubbo-service"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:registry</span> address=<span style=color:#2aa198>"${dubbo.registry.address}"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:protocol</span> name=<span style=color:#2aa198>"dubbo"</span> port=<span style=color:#2aa198>"20888"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2><dubbo:service</span> timeout=<span style=color:#2aa198>"10000"</span> interface=<span style=color:#2aa198>"org.apache.shenyu.examples.dubbo.api.service.DubboTestService"</span> ref=<span style=color:#2aa198>"dubboTestService"</span><span style=color:#268bd2>/></span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2></beans></span>
+</span></span></code></pre></div><p>Declare the application service name, register the center address, use the <code>dubbo</code> protocol, declare the service interface, and the corresponding interface implementation class.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-java data-lang=java><span style=display:flex><span><span style=color:#586e75>/**
+</span></span></span><span style=display:flex><span><span style=color:#586e75> * DubboTestServiceImpl.
+</span></span></span><span style=display:flex><span><span style=color:#586e75> */</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>@Service</span><span style=color:#719e07>(</span><span style=color:#2aa198>"dubboTestService"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>public</span> <span style=color:#268bd2>class</span> <span style=color:#268bd2>DubboTestServiceImpl</span> <span style=color:#268bd2>implements</span> DubboTestService <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@Override</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>@ShenyuDubboClient</span><span style=color:#719e07>(</span>path <span style=color:#719e07>=</span> <span style=color:#2aa198>"/findById"</span><span style=color:#719e07>,</span> desc <span style=color:#719e07>=</span> <span style=color:#2aa198>"Query by Id"</span><span style=color:#719e07>)</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>public</span> DubboTest <span style=color:#268bd2>findById</span><span style=color:#719e07>(</span><span style=color:#268bd2>final</span> String id<span style=color:#719e07>)</span> <span style=color:#719e07>{</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>return</span> <span style=color:#719e07>new</span> DubboTest<span style=color:#719e07>(</span>id<span style=color:#719e07>,</span> <span style=color:#2aa198>"hello world shenyu Apache, findById"</span><span style=color:#719e07>);</span>
+</span></span><span style=display:flex><span> <span style=color:#719e07>}</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span> <span style=color:#586e75>//......
+</span></span></span><span style=display:flex><span><span style=color:#586e75></span><span style=color:#719e07>}</span>
+</span></span></code></pre></div><p>In the interface implementation class, use the annotation <code>@ShenyuDubboClient</code> to register the service with <code>shenyu-admin</code>.</p><p>Configuration information in the configuration file <code>application.yml</code>.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yaml data-lang=yaml><span style=display:flex><span><span style=color:#268bd [...]
+</span></span><span style=display:flex><span> <span style=color:#268bd2>port</span>: <span style=color:#2aa198>8011</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>address</span>: <span style=color:#2aa198>0.0.0.0</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>servlet</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>context-path</span>: /
+</span></span><span style=display:flex><span><span style=color:#268bd2>spring</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>main</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>allow-bean-definition-overriding</span>: <span style=color:#cb4b16>true</span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>dubbo</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>registry</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>address</span>: zookeeper://localhost:2181 <span style=color:#586e75># The registry used by dubbo</span>
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#268bd2>shenyu</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>register</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>registerType</span>: http <span style=color:#586e75>#Registration Method</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>serverLists</span>: http://localhost:9095 <span style=color:#586e75>#Registration Address</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>props</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>username</span>: admin
+</span></span><span style=display:flex><span> <span style=color:#268bd2>password</span>: <span style=color:#2aa198>123456</span>
+</span></span><span style=display:flex><span> <span style=color:#268bd2>client</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>dubbo</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>props</span>:
+</span></span><span style=display:flex><span> <span style=color:#268bd2>contextPath</span>: /dubbo
+</span></span><span style=display:flex><span> <span style=color:#268bd2>appName</span>: dubbo
+</span></span></code></pre></div><p>In the configuration file, declare the registry address used by <code>dubbo</code>. The <code>dubbo</code> service registers with <code>shenyu-admin</code>, using the method <code>http</code>, and the registration address is <code>http://localhost:9095</code>.</p><p>See <code>[Application Client Access](https://shenyu.apache.org/docs/design/register-center-design/)</code> for more information on the use of the registration method.</p><h3 id=24-invoke-t [...]
+</span></span><span style=display:flex><span>Accept: application/json
+</span></span></code></pre></div><p>After a successful response, the result is as follows.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>{
+</span></span><span style=display:flex><span> "name": "hello world shenyu Apache, findById",
+</span></span><span style=display:flex><span> "id": "100"
+</span></span><span style=display:flex><span>}
+</span></span></code></pre></div><p>At this point, you can successfully access the <code>dubbo</code> service via <code>http</code> requests. The <code>ShenYu</code> gateway converts the <code>http</code> protocol to the <code>dubbo</code> protocol via the <code>shenyu-plugin-dubbo</code> module.</p><h2 id=3-understanding-of-dubbo-plugin>3. Understanding of Dubbo plugin</h2><p>During the process of running the above <code>demo</code>, are there any questions about</p><ul><li>How does the [...]
+Load and initialize the corresponding registry client using the <code>SPI</code> method when the application starts, and get the service interface information that needs to be registered in it by implementing the post-processor interface related to the <code>Spring Bean</code>, and put the obtained information into the <code>Disruptor</code>.</p><p>The registry client reads the data from <code>Disruptor</code> and registers the interface information to <code>shenyu-admin</code>, where <c [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/index.html b/en/blog/index.html
new file mode 100644
index 00000000000..513ff63bd2b
--- /dev/null
+++ b/en/blog/index.html
@@ -0,0 +1,14 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=generator content="Hugo 0.108.0"><meta name=ROBOTS content="INDEX, FOLLOW"><link rel=alternate type=application/rss+xml href=https://cn.dubbo.apache.org/en/blog/index.xml><link rel="shortcut icon" href=/favicons/favicon.ico><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=ima [...]
+<link rel=preload href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css as=style><link href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body class="td-section td-blog"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/en/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05 25.45-22.11V7.25H68.46zm21.24-28h8. [...]
+<a href="https://github.com/apache/dubbo-website/new/master/content/en/blog/_index.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+top+of+th [...]
+<a href="https://github.com/apache/dubbo-website/issues/new?title=Apache%20Dubbo%20Blog" target=_blank><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role=main><a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href=https://cn.dubbo.apache.org/en/blog/index.xml target=_blank>RSS <i class="fa fa-rss ml-2"></i></a><div class=row><div class=col-12><h2>Posts in 2022</h2><ul class="list-unstyled mt-4"><li class="media mb-4"><div class=m [...]
+Bugfix Fix nacos group inviable in consumer side (#8533) Fix NPE on serialization checking when request timed out (#8547) Compact with dubbo-all …</p><p class=pt-0><a href=/en/blog/2021/08/23/3.0.2.1-release-note/ aria-label="Read more - 3.0.2.1">Read more</a></p></div></li><li class="media mb-4"><div class=media-body><h5 class="mt-0 mb-1"><a href=/en/blog/2021/08/18/3.0.2-release-note/>3.0.2</a></h5><p class="mb-2 mb-md-3"><small class=text-muted>Wednesday, August 18, 2021 in Releases</ [...]
+Apache Dubbo GitHub: https://github.com/apache/dubbo Release Notes: https://github.com/apache/dubbo/releases
+2.7.19 (2022-12-13) source | asc | sha512 …</p><p class=pt-0><a href=/en/blog/2020/05/18/past-releases/ aria-label="Read more - Past Releases">Read more</a></p></div></li></ul><h2>Posts in 2019</h2><ul class="list-unstyled mt-4"><li class="media mb-4"><div class=media-body><h5 class="mt-0 mb-1"><a href=/en/blog/2019/08/26/service-test/>Service test in dubbo admin</a></h5><p class="mb-2 mb-md-3"><small class=text-muted>Monday, August 26, 2019 in Articles</small></p><header class=article-m [...]
+Usage Deploy the provider: You can download the demo here. This project is based on …</p><p class=pt-0><a href=/en/blog/2019/08/26/service-test/ aria-label="Read more - Service test in dubbo admin">Read more</a></p></div></li><li class="media mb-4"><div class=media-body><h5 class="mt-0 mb-1"><a href=/en/blog/2019/08/11/tracing-dubbo-service-with-apache-skywalking/>Use apache skywalking in dubbo</a></h5><p class="mb-2 mb-md-3"><small class=text-muted>Sunday, August 11, 2019 in Articles</s [...]
+<script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script>
+<script src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k=" crossorigin=anonymous></script>
+<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
+<script>docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch",debug:!1}),docsearch({appId:"L5F4T9F0I1",apiKey:"364ae307e1da9d02b2335675e9db1eb1",indexName:"apache_dubbo",container:"#docsearch_zh_home",debug:!1})</script></body></html>
\ No newline at end of file
diff --git a/en/blog/index.xml b/en/blog/index.xml
new file mode 100644
index 00000000000..c906724759b
--- /dev/null
+++ b/en/blog/index.xml
@@ -0,0 +1,6896 @@
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache Dubbo – Apache Dubbo Blog</title><link>https://cn.dubbo.apache.org/en/blog/</link><description>Recent content in Apache Dubbo Blog on Apache Dubbo</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://cn.dubbo.apache.org/en/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Blog: How to proxy Dubbo service in Apache ShenYu Gateway</title><l [...]
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/ApacheShenYu-Dubbo-en.png" alt=""></p>
+<h2 id="1-introduction">1. Introduction</h2>
+<ul>
+<li>Apache ShenYu</li>
+</ul>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/shenyu.png" alt=""></p>
+<p><a href="https://shenyu.apache.org/docs/index">Apache ShenYu(Incubating)</a> is an asynchronous, high-performance, cross-language, responsive <code>API</code> gateway. Compatible with a variety of mainstream framework systems, support for hot-plugging, users can customize the development to meet the current and future needs of users in a variety of scenarios, experienced large-scale scenarios hammered.</p>
+<p>In May 2021, <code>ShenYu</code> was donated to the <code>Apache</code> Software Foundation, and the Apache Foundation voted unanimously to enter the incubator.</p>
+<ul>
+<li>Apache Dubbo</li>
+</ul>
+<p><code>Apache Dubbo</code> is a microservice development framework that provides two key capabilities, <code>RPC</code> communication and microservice governance. This means that microservices developed with <code>Dubbo</code> will have the ability to discover and communicate with each other remotely, and take advantage of the rich service governance capabilities provided by Dubbo to achieve service governance requirements such as service discovery, load balancing, [...]
+<h2 id="2-quick-start-with-dubbo">2. Quick Start with Dubbo</h2>
+<p>This section describes how to connect the <code>Dubbo</code> service to the <code>Shenyu</code> gateway. You can find the [sample code] for this section directly under the project (<a href="https://github.com/apache/shenyu/tree/master/shenyu-examples/shenyu-examples-dubbo">https://github.com/apache/shenyu/tree/master/shenyu-examples/shenyu-examples-dubbo</a> -examples-dubbo/shenyu-examples-apache-dubbo-service).</p>
+<h3 id="21-start-shenyu-admin">2.1 Start shenyu-admin</h3>
+<p><code>shenyu-admin</code> is the <code>Apache ShenYu</code> backend management system, there are various ways to start it, this article is started by <code>[local deployment](https://shenyu.apache.org/docs/deployment/deployment-local)</code> way. After successful startup, you need to set the <code>dubbo</code> plugin to be on and set your registered address in the base configuration <code>-&gt;</code>Plugin Management&rsquo;, please make sure t [...]
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/dubbo-enable-en.png" alt=""></p>
+<h3 id="22-start-shenyu-gateway">2.2 Start ShenYu Gateway</h3>
+<p>Here it is started by way of <a href="https://github.com/apache/incubator-shenyu/tree/master/shenyu-bootstrap">source</a> and runs directly <code>shenyu-bootstrap</code> in <code>shenyu-bootstrap</code>. ShenyuBootstrapApplication`.</p>
+<p>Make sure the gateway has introduced the relevant dependencies before starting. If the client is <code>apache dubbo</code> and the registry uses <code>zookeeper</code>, please refer to the following configuration.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span> <span style="color:#719e07">&lt;!--</span> apache shenyu apache dubbo plugin start<span style="color:#719e07">--&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>groupId<span style="color:#719e07">&gt;</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>shenyu<span style="color:#719e07">&lt;/</span>groupId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>artifactId<span style="color:#719e07">&gt;</span>shenyu<span style="color:#719e07">-</span>spring<span style="color:#719e07">-</span>boot<span style="color:#719e07">-</span>starter<span style="color:#719e07">-</span>plugin<span style="color:#719e07">-</span>apache<span style="color:#719e07">-</span>dubbo<span style="color:#719e07"> [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>version<span style="color:#719e07">&gt;</span>$<span style="color:#719e07">{</span>project<span style="color:#719e07">.</span>version<span style="color:#719e07">}&lt;/</span>version<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>groupId<span style="color:#719e07">&gt;</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">&lt;/</span>groupId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>artifactId<span style="color:#719e07">&gt;</span>dubbo<span style="color:#719e07">&lt;/</span>artifactId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>version<span style="color:#719e07">&gt;</span><span style="color:#2aa198">2.7.5</span><span style="color:#719e07">&lt;/</span>version<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;!--</span> Dubbo zookeeper registry dependency start <span style="color:#719e07">--&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>groupId<span style="color:#719e07">&gt;</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>curator<span style="color:#719e07">&lt;/</span>groupId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>artifactId<span style="color:#719e07">&gt;</span>curator<span style="color:#719e07">-</span>client<span style="color:#719e07">&lt;/</span>artifactId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>version<span style="color:#719e07">&gt;</span><span style="color:#2aa198">4.0.1</span><span style="color:#719e07">&lt;/</span>version<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>exclusions<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>exclusion<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>artifactId<span style="color:#719e07">&gt;</span>log4j<span style="color:#719e07">&lt;/</span>artifactId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>groupId<span style="color:#719e07">&gt;</span>log4j<span style="color:#719e07">&lt;/</span>groupId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>exclusion<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>exclusions<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>groupId<span style="color:#719e07">&gt;</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>curator<span style="color:#719e07">&lt;/</span>groupId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>artifactId<span style="color:#719e07">&gt;</span>curator<span style="color:#719e07">-</span>framework<span style="color:#719e07">&lt;/</span>artifactId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>version<span style="color:#719e07">&gt;</span><span style="color:#2aa198">4.0.1</span><span style="color:#719e07">&lt;/</span>version<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>groupId<span style="color:#719e07">&gt;</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>curator<span style="color:#719e07">&lt;/</span>groupId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>artifactId<span style="color:#719e07">&gt;</span>curator<span style="color:#719e07">-</span>recipes<span style="color:#719e07">&lt;/</span>artifactId<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>version<span style="color:#719e07">&gt;</span><span style="color:#2aa198">4.0.1</span><span style="color:#719e07">&lt;/</span>version<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;/</span>dependency<span style="color:#719e07">&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;!--</span> Dubbo zookeeper registry dependency end <span style="color:#719e07">--&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;!--</span> apache dubbo plugin end<span style="color:#719e07">--&gt;</span>
+</span></span></code></pre></div><h3 id="23-start-shenyu-examples-dubbo">2.3 Start shenyu-examples-dubbo</h3>
+<p>Take the example provided on the official website <a href="https://github.com/apache/shenyu/tree/master/shenyu-examples/shenyu-examples-dubbo">shenyu-examples-dubbo</a>. Suppose the <code>dubbo</code> service is defined as follows.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#268bd2">&lt;beans</span> /* ...... * <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:application</span> name=<span style="color:#2aa198">&#34;test-dubbo-service&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:registry</span> address=<span style="color:#2aa198">&#34;${dubbo.registry.address}&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:protocol</span> name=<span style="color:#2aa198">&#34;dubbo&#34;</span> port=<span style="color:#2aa198">&#34;20888&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:service</span> timeout=<span style="color:#2aa198">&#34;10000&#34;</span> interface=<span style="color:#2aa198">&#34;org.apache.shenyu.examples.dubbo.api.service.DubboTestService&#34;</span> ref=<span style="color:#2aa198">&#34;dubboTestService&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;/beans&gt;</span>
+</span></span></code></pre></div><p>Declare the application service name, register the center address, use the <code>dubbo</code> protocol, declare the service interface, and the corresponding interface implementation class.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * DubboTestServiceImpl.
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> */</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">@Service</span><span style="color:#719e07">(</span><span style="color:#2aa198">&#34;dubboTestService&#34;</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">DubboTestServiceImpl</span> <span style="color:#268bd2">implements</span> DubboTestService <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@ShenyuDubboClient</span><span style="color:#719e07">(</span>path <span style="color:#719e07">=</span> <span style="color:#2aa198">&#34;/findById&#34;</span><span style="color:#719e07">,</span> desc <span style="color:#719e07">=</span> <span style="color:#2aa198">&#34;Query by Id&#34;</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> DubboTest <span style="color:#268bd2">findById</span><span style="color:#719e07">(</span><span style="color:#268bd2">final</span> String id<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#719e07">new</span> DubboTest<span style="color:#719e07">(</span>id<span style="color:#719e07">,</span> <span style="color:#2aa198">&#34;hello world shenyu Apache, findById&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">//......
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>In the interface implementation class, use the annotation <code>@ShenyuDubboClient</code> to register the service with <code>shenyu-admin</code>.</p>
+<p>Configuration information in the configuration file <code>application.yml</code>.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#268bd2">server</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">port</span>: <span style="color:#2aa198">8011</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">address</span>: <span style="color:#2aa198">0.0.0.0</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">servlet</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">context-path</span>: /
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">spring</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">main</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">allow-bean-definition-overriding</span>: <span style="color:#cb4b16">true</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">dubbo</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">registry</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">address</span>: zookeeper://localhost:2181 <span style="color:#586e75"># The registry used by dubbo</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">shenyu</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">register</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">registerType</span>: http <span style="color:#586e75">#Registration Method</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">serverLists</span>: http://localhost:9095 <span style="color:#586e75">#Registration Address</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">props</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">username</span>: admin
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">password</span>: <span style="color:#2aa198">123456</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">client</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">dubbo</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">props</span>:
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">contextPath</span>: /dubbo
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">appName</span>: dubbo
+</span></span></code></pre></div><p>In the configuration file, declare the registry address used by <code>dubbo</code>. The <code>dubbo</code> service registers with <code>shenyu-admin</code>, using the method <code>http</code>, and the registration address is <code>http://localhost:9095</code>.</p>
+<p>See <code>[Application Client Access](https://shenyu.apache.org/docs/design/register-center-design/)</code> for more information on the use of the registration method.</p>
+<h3 id="24-invoke-the-dubbo-service">2.4 Invoke the Dubbo service</h3>
+<p>The <code>shenyu-examples-dubbo</code> project will automatically register the interface methods annotated with <code>@ShenyuDubboClient</code> to the gateway after it is successfully started.</p>
+<p>Open <code>Plugins List -&gt; Proxy -&gt; dubbo</code> to see the list of plugin rules configuration.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/dubbo-service-list-en.png" alt=""></p>
+<p>Information on the selectors for successful registration.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/dubbo-selector-en.png" alt=""></p>
+<p>Information on the rules for successful registration.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/dubbo-rule-en.png" alt=""></p>
+<blockquote>
+<p>Selectors and rules are the soul of the <code>Apache ShenYu</code> gateway. Mastering it well, you can manage any traffic. Corresponding to the matching conditions (conditions) inside the selectors and rules, we can handle various complex scenarios according to different traffic filtering rules. Traffic filtering can get data from <code>Header</code>, <code>URI</code>, <code>Query</code>, <code>Cookie</code> and so on Http requests.</p>
+<p>Then you can use <code>Match</code>, <code>=</code>, <code>Regex</code>, <code>Groovy</code>, <code>Exclude</code> and other matching methods to match the data you expect. Multi-group match additions can use the <code>And/Or</code> matching strategy.</p>
+<p>See: <code>[Selector and Rule Management](https://shenyu.apache.org/docs/user-guide/admin-usage/selector-and-rule)</code> for details and usage.</p>
+</blockquote>
+<p>Initiate a <code>GET</code> request to invoke the <code>dubbo</code> service through the <code>ShenYu</code> gateway.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>GET http://localhost:9195/dubbo/findById?id=100
+</span></span><span style="display:flex;"><span>Accept: application/json
+</span></span></code></pre></div><p>After a successful response, the result is as follows.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>{
+</span></span><span style="display:flex;"><span> &#34;name&#34;: &#34;hello world shenyu Apache, findById&#34;,
+</span></span><span style="display:flex;"><span> &#34;id&#34;: &#34;100&#34;
+</span></span><span style="display:flex;"><span>}
+</span></span></code></pre></div><p>At this point, you can successfully access the <code>dubbo</code> service via <code>http</code> requests. The <code>ShenYu</code> gateway converts the <code>http</code> protocol to the <code>dubbo</code> protocol via the <code>shenyu-plugin-dubbo</code> module.</p>
+<h2 id="3-understanding-of-dubbo-plugin">3. Understanding of Dubbo plugin</h2>
+<p>During the process of running the above <code>demo</code>, are there any questions about</p>
+<ul>
+<li>How does the <code>dubbo</code> service register with <code>shenyu-admin</code>?</li>
+<li>How does <code>shenyu-admin</code> synchronize data to the <code>ShenYu</code> gateway?</li>
+<li>How does the <code>DubboPlugin</code> convert the <code>http</code> protocol to the <code>dubbo</code> protocol?</li>
+</ul>
+<p>With these questions in mind, let&rsquo;s dive into understanding the <code>dubbo</code> plugin.</p>
+<h3 id="31-application-client-access">3.1 Application Client Access</h3>
+<p>Application client access refers to accessing microservices to the <code>Apache ShenYu</code> gateway, which currently supports access to <code>Http</code>, <code>Dubbo</code>, <code>Spring Cloud</code>, <code>gRPC</code>, <code>Motan</code>, <code>Sofa</code>, <code>Tars</code> and other protocols.</p>
+<p>Accessing application clients to the <code>Apache ShenYu</code> gateway is achieved through the registry, which involves client-side registration and server-side synchronization of data. The registry supports <code>Http</code>, <code>Zookeeper</code>, <code>Etcd</code>, <code>Consul</code> and <code>Nacos</code>. The default is to register by <code>Http</code>.</p>
+<p>Please refer to <code>[Client Access Configuration](https://shenyu.apache.org/docs/user-guide/register-center-access)</code> for client access related configuration.</p>
+<h4 id="311-client-side-registration">3.1.1 Client-side Registration</h4>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/register-client.png" alt=""></p>
+<p>Declare the registry client type, such as <code>Http</code> or <code>Zookeeper</code>, in your microservice configuration.
+Load and initialize the corresponding registry client using the <code>SPI</code> method when the application starts, and get the service interface information that needs to be registered in it by implementing the post-processor interface related to the <code>Spring Bean</code>, and put the obtained information into the <code>Disruptor</code>.</p>
+<p>The registry client reads the data from <code>Disruptor</code> and registers the interface information to <code>shenyu-admin</code>, where <code>Disruptor</code> plays the role of decoupling data and operations, which is convenient for extension.</p>
+<h4 id="312-server-side-registration">3.1.2 Server-side Registration</h4>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/register-server.png" alt=""></p>
+<p>Declare the registry server type, such as <code>Http</code> or <code>Zookeeper</code>, in the <code>shenyu-admin</code> configuration. When <code>shenyu-admin</code> starts, it will read the configuration type, load and initialize the corresponding registry server, and when the registry server receives the interface information registered by <code>shenyu-client</code>, it will put it into <code>Disruptor</code>, and then it will trigger the regis [...]
+<p>The <code>Disruptor</code> plays a role in decoupling data and operation, which is good for extension. It also has a data buffering role if too many registration requests lead to registration exceptions.</p>
+<h3 id="32-data-synchronization-principle">3.2 Data Synchronization Principle</h3>
+<p>Data synchronization refers to the policy used to synchronize data to the <code>Apache ShenYu</code> gateway after the <code>shenyu-admin</code> backend has manipulated the data. The <code>Apache ShenYu</code> gateway currently supports <code>ZooKeeper</code>, <code>WebSocket</code>, <code>Http long polling</code>, <code>Nacos</code>, <code>Etcd</code> and <code>Consul</code> for data synchronization. The default is to synchroni [...]
+<p>Please refer to <code>[Data Synchronization Configuration](https://shenyu.apache.org/docs/user-guide/use-data-sync)</code> for the configuration of data synchronization.</p>
+<h4 id="321-the-significance-of-data-synchronization">3.2.1 The Significance of Data Synchronization</h4>
+<p>The gateway is the entry point for traffic requests and plays a very important role in the microservices architecture, and the importance of high availability of the gateway is self-evident. In the process of using the gateway, in order to meet the business requirements, it is often necessary to change the configuration, such as flow control rules, routing rules and so on. Therefore, the dynamic configuration of the gateway is an important factor to ensure the high availability of [...]
+<p>The current data synchronization characteristics are as follows.</p>
+<ul>
+<li>All configurations are cached in the <code>Apache ShenYu</code> gateway memory, and each request uses the local cache, which is very fast.</li>
+<li>Users can change any data in the <code>shenyu-admin</code> backend and it will be synchronized to the gateway memory immediately.</li>
+<li>Supports data synchronization of plugins, selectors, rule data, metadata, signature data, etc. for <code>Apache ShenYu</code>.</li>
+<li>All plug-in selectors and rules are dynamically configured and take effect immediately, without restarting the service.</li>
+<li>Data synchronization method supports <code>Zookeeper</code>, <code>Http long polling</code>, <code>Websocket</code>, <code>Nacos</code>, <code>Etcd</code> and <code>Consul</code>.</li>
+</ul>
+<h4 id="322-data-synchronization-principle-analysis">3.2.2 Data Synchronization Principle Analysis</h4>
+<p>The following diagram shows the flow of <code>Apache ShenYu</code> data synchronization. The <code>Apache ShenYu</code> gateway synchronizes configuration data from the configuration service when it starts, and supports push-pull mode to get configuration change information and then update the local cache. Administrators can change user permissions, rules, plugins, traffic configuration in the administration backend (<code>shenyu-admin</code>) and synchronize the [...]
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/data-sync.png" alt=""></p>
+<p>In the original version, the configuration service relied on the <code>Zookeeper</code> implementation, and the management backend <code>pushed</code> the changes to the gateway. Now we can support <code>WebSocket</code>, <code>Http long polling</code>, <code>Zookeeper</code>, <code>Nacos</code>, <code>Etcd</code> and <code>Consul</code>, by setting <code>shenyu.sync.${strategy}</code> in the configuration file to specify the co [...]
+<p>As shown in the figure below, <code>shenyu-admin</code> sends out configuration change notifications through <code>EventPublisher</code> after a user makes a configuration change, and <code>EventDispatcher</code> processes the change notification, and then synchronizes the data according to the configured synchronization policy (<code>http, weboscket, zookeeper, naocs, etcd, consul</code>). etcd, consul`), the configuration is sent to the corresponding event [...]
+<ul>
+<li>If it is a <code>websocket</code> synchronization policy, the changed data will be actively pushed to <code>shenyu-web</code> and there will be a corresponding <code>WebsocketDataHandler</code> processor at the gateway layer to handle the data push from <code>shenyu-admin</code>.</li>
+<li>In case of <code>zookeeper</code> synchronization policy, the change data will be updated to <code>zookeeper</code>, and <code>ZookeeperSyncCache</code> will listen to <code>zookeeper</code> data changes and process them.</li>
+<li>In case of <code>http</code> synchronization policy, the gateway initiates a long polling request with <code>90s</code> timeout by default, if <code>shenyu-admin</code> has no data change, it will block the <code>http</code> request, if there is data change, it will respond with the changed data information, if more than <code>60s</code> there is still no data change, it will respond with empty data, after the gateway layer receives the response After [...]
+</ul>
+<h3 id="33-process-analysis">3.3 Process Analysis</h3>
+<p>The process analysis shows the service registration process, data synchronization process and service invocation process from the source code perspective.</p>
+<h4 id="331-service-registration-process">3.3.1 Service Registration Process</h4>
+<ul>
+<li>Reading dubbo services</li>
+</ul>
+<p>Use the annotation <code>@ShenyuDubboClient</code> to mark <code>dubbo</code> services that need to be registered to the gateway.</p>
+<p>Annotation scanning is done via the <code>ApacheDubboServiceBeanListener</code>, which implements the <code>ApplicationListener&lt;ContextRefreshedEvent&gt;</code> interface and starts executing the event handler method when a context refresh event occurs during the <code>Spring</code> container startup <code>onApplicationEvent()</code>. In the rewritten method logic, the <code>Dubbo</code> service <code>ServiceBean</code> is read, the me [...]
+<p>The specific registration logic is implemented by the registry, please refer to <code>[Client Access Principles](https://shenyu.apache.org/docs/design/register-center-design/)</code> .</p>
+<ul>
+<li>Processing registration information</li>
+</ul>
+<p>The metadata and <code>URI</code> data registered by the client through the registration center are processed at the <code>shenyu-admin</code> end, which is responsible for storing to the database and synchronizing to the <code>shenyu</code> gateway. The client-side registration processing logic of the <code>Dubbo</code> plugin is in the <code>ShenyuClientRegisterDubboServiceImpl</code>. The inheritance relationship is as follows.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/ShenyuClientRegisterDubboServiceImpl.png" alt=""></p>
+<ul>
+<li>ShenyuClientRegisterService: client registration service, top-level interface.</li>
+<li>FallbackShenyuClientRegisterService: registration failure, provides retry operation.</li>
+<li>AbstractShenyuClientRegisterServiceImpl: abstract class, implements part of the public registration logic.</li>
+<li>ShenyuClientRegisterDubboServiceImpl: implements the registration of <code>Dubbo</code> plug-ins.</li>
+</ul>
+<p>Registration information including selectors, rules and metadata.</p>
+<p>The overall <code>dubbo</code> service registration process is as follows.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/dubbo-register-en.png" alt=""></p>
+<h4 id="332-data-synchronization-process">3.3.2 Data Synchronization Process</h4>
+<ul>
+<li>admin update data</li>
+</ul>
+<p>Suppose in the backend management system, a new selector data is added, the request goes to the <code>createSelector()</code> method in the <code>SelectorController</code> class, which is responsible for verifying the data, adding or updating the data, and returning the result information.</p>
+<p>In the <code>SelectorServiceImpl</code> class, the <code>createOrUpdate()</code> method completes the conversion of the data, saves it to the database, publishes events, and updates the <code>upstream</code>.</p>
+<p>Persistence of data is done in the <code>Service</code> class, i.e. saving data to the database. Publishing the changed data is done by <code>eventPublisher.publishEvent()</code>, the <code>eventPublisher</code> object is an <code>ApplicationEventPublisher</code> class, the fully qualified name of this class is <code>org.springframework. ApplicationEventPublisher</code>, the function of publishing data is exactly what is done through <code>Spring< [...]
+<p>When the event is published, it automatically goes to the <code>onApplicationEvent()</code> method in the <code>DataChangedEventDispatcher</code> class, which handles the event according to the different data types and data synchronization methods.</p>
+<ul>
+<li>Gateway data synchronization</li>
+</ul>
+<p>At startup, the gateway loads different configuration classes and initializes data synchronization-related classes according to the specified data synchronization method.</p>
+<p>After receiving the data, it performs deserialization operation to read the data type and operation type. Different data types have different data processing methods, so there are different implementation classes. But they also have the same processing logic between them, so they can be implemented by template method design pattern. The same logic is put in the <code>handle()</code> method in the abstract class <code>AbstractDataHandler</code>, and the different logic i [...]
+<p>Adding a new selector data is a new operation that goes to the <code>SelectorDataHandler.doUpdate()</code> concrete data processing logic.</p>
+<p>In the common plugin data subscriber <code>CommonPluginDataSubscriber</code>, which is responsible for handling all plugin, selector and rule information</p>
+<p>Saves data to the gateway&rsquo;s memory, <code>BaseDataCache</code> is the class that ultimately caches the data, implemented through the singleton pattern. The selector data is then stored in <code>SELECTOR_MAP</code>, a <code>Map</code>. In the subsequent use, the data is also taken from here.</p>
+<p>The above logic is represented in a flowchart as follows.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/data-sync-seq-en.png" alt=""></p>
+<h4 id="333-service-invocation-process">3.3.3 Service Invocation Process</h4>
+<p>In the <code>Dubbo</code> plugin system, the class extends relationship is as follows.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/ApacheDubboPlugin.png" alt=""></p>
+<blockquote>
+<p>ShenyuPlugin: top-level interface, defining interface methods.</p>
+<p>AbstractShenyuPlugin: abstract class that implements the common logic of the plugin; &gt; AbstractShenyuPlugin: abstract class that implements the common logic of the plugin.</p>
+<p>AbstractDubboPlugin: dubbo plug-in abstract class, implementing <code>dubbo</code> common logic (ShenYu gateway supports ApacheDubbo and AlibabaDubbo).</p>
+<p>ApacheDubboPlugin: ApacheDubbo plugin.</p>
+</blockquote>
+<ul>
+<li>org.apache.shenyu.web.handler.ShenyuWebHandler.DefaultShenyuPluginChain#execute()</li>
+</ul>
+<p>After passing the <code>ShenYu</code> gateway proxy, the request entry is <code>ShenyuWebHandler</code>, which implements the <code>org.springframework.web.server.WebHandler</code> interface and connects all plugins through the chain-of-responsibility design pattern.</p>
+<ul>
+<li>org.apache.shenyu.plugin.base.AbstractShenyuPlugin#execute()</li>
+</ul>
+<p>Determining whether a plugin is executed when a request is made to the gateway is done by the specified matching logic. The matching logic for selectors and rules is executed in the <code>execute()</code> method.</p>
+<ul>
+<li>org.apache.shenyu.plugin.global.GlobalPlugin#execute()</li>
+</ul>
+<p>The first to be executed is the <code>GlobalPlugin</code> , which is a global plugin that constructs contextual information in the <code>execute()</code> method.</p>
+<ul>
+<li>org.apache.shenyu.plugin.base.RpcParamTransformPlugin#execute()</li>
+</ul>
+<p>Next to be executed is the <code>RpcParamTransformPlugin</code>, which is responsible for reading the parameters from the <code>http</code> request, saving them in the <code>exchange</code> and passing them to the <code>rpc</code> service. In the <code>execute()</code> method, the core logic of the plugin is executed: it gets the request information from <code>exchange</code> and processes the parameters according to the form of the content passe [...]
+<ul>
+<li>org.apache.shenyu.plugin.dubbo.common.AbstractDubboPlugin</li>
+</ul>
+<p>Then what gets executed is the <code>DubboPlugin</code> . In the <code>doExecute()</code> method, the main focus is on checking metadata and parameters. In the <code>doDubboInvoker()</code> method, special context information is set and then the generalized invocation of <code>dubbo</code> is started.</p>
+<p>In the <code>genericInvoker()</code> method.</p>
+<ul>
+<li>Gets the <code>ReferenceConfig</code> object.</li>
+<li>obtains the generalization service <code>GenericService</code> object.</li>
+<li>Constructs the request parameter <code>pair</code> object.</li>
+<li>Initiate an asynchronous generalization invocation.</li>
+</ul>
+<p>The generalization call enables you to call the <code>dubbo</code> service at the gateway.</p>
+<p>The <code>ReferenceConfig</code> object is the key object that supports generalization calls, and its initialization is done during data synchronization.</p>
+<ul>
+<li>org.apache.shenyu.plugin.response.ResponsePlugin#execute()</li>
+</ul>
+<p>The last one to be executed is <code>ResponsePlugin</code>, which unifies the response result messages of the gateway. The processing type is determined by the <code>MessageWriter</code>, and the class extends relationship is as follows.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/MessageWriter.png" alt=""></p>
+<blockquote>
+<p>MessageWriter: interface that defines message processing methods.</p>
+<p>NettyClientMessageWriter: Handles the results of <code>Netty</code> calls.</p>
+<p>RPCMessageWriter: processing the results of <code>RPC</code> calls.</p>
+<p>WebClientMessageWriter: processing the results of <code>WebClient</code> calls;</p>
+</blockquote>
+<p>The <code>Dubbo</code> service is called and the result of processing is the <code>RPCMessageWriter</code>.</p>
+<ul>
+<li>org.apache.shenyu.plugin.response.strategy.RPCMessageWriter#writeWith()</li>
+</ul>
+<p>Process the response results in the <code>writeWith()</code> method, get the results or handle exceptions.</p>
+<p>At this point in the analysis, the source code analysis of the <code>Dubbo</code> plugin is complete, and the analysis flowchart is as follows.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/shenyu-dubbo/dubbo-execute-en.png" alt=""></p>
+<h2 id="4-summary">4. Summary</h2>
+<p>This article analyzes the proxy process of <code>ShenYu</code> gateway to Dubbo service from a practical case. The main knowledge points involved are as follows.</p>
+<ul>
+<li>Implementing plug-ins through the chain-of-responsibility design pattern.</li>
+<li>implementing <code>AbstractShenyuPlugin</code> using the template method design pattern to handle generic operation types.</li>
+<li>implementation of the cached data class <code>BaseDataCache</code> using the singleton design pattern.</li>
+<li>the ability to introduce different registries and number synchronization methods through the <code>springboot starter</code>, which is very scalable.</li>
+<li>support for hot updates of rules through <code>admin</code> to facilitate traffic control.</li>
+<li><code>Disruptor</code> queue is for data and operation decoupling, as well as data buffering.</li>
+</ul></description></item><item><title>Blog: Makes it More Convenient for You to Proxy Dubbo Services in Apache APISIX</title><link>https://cn.dubbo.apache.org/en/blog/2022/01/18/makes-it-more-convenient-for-you-to-proxy-dubbo-services-in-apache-apisix/</link><pubDate>Tue, 18 Jan 2022 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2022/01/18/makes-it-more-convenient-for-you-to-proxy-dubbo-services-in-apache-apisix/</guid><description>
+<h2 id="background">Background</h2>
+<p><a href="https://cn.dubbo.apache.org/en/">Apache Dubbo</a> is a MicroService development framework open sourced by Alibaba and donated to Apache, which provides two key capabilities of RPC communication and microservice governance. It has not only been validated by Ali&rsquo;s massive traffic in e-commerce scenario, but also been widely implemented in domestic technology companies.</p>
+<p>In practical application scenarios, Apache Dubbo is generally used as the implementation framework for RPC calls between back-end systems, and when HTTP interfaces need to be provided to the front-end, the Dubbo Service is packaged as an HTTP interface through a &ldquo;glue layer&rdquo; and then delivered to the front-end system.</p>
+<p><a href="https://apisix.apache.org/">Apache APISIX</a> is the top open source project of Apache Software Foundation and the most active open source gateway project today. As a dynamic, real-time, high-performance open source API gateway, Apache APISIX provides rich traffic management features such as load balancing, dynamic upstream, grayscale publishing, service meltdown, authentication, observability, and more.</p>
+<p>Benefiting from the advantages of Apache Dubbo application scenarios, Apache APISIX is based on the open source project tengine/mod_dubbo module to equip Apache Dubbo services with HTTP gateway capabilities. Dubbo Service can be easily published as an HTTP service via the dubbo-proxy plugin.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/apisix-plugin/1.png" alt="Architecture Diagram"></p>
+<h2 id="how-to-use">How to use</h2>
+<h3 id="getting-started-installation-and-use">Getting Started: Installation and Use</h3>
+<blockquote>
+<p>Here we recommend using the Apache APISIX version 2.11 image for installation. This version of APISIX-Base has the Dubbo module compiled by default, so you can use the <code>dubbo-proxy</code> plugin directly.</p>
+</blockquote>
+<p>In the next steps, we will use the <a href="https://github.com/apache/dubbo-samples"><code>dubbo-samples</code></a> project for a partial demonstration. This project is a demo application implemented using Apache Dubbo, and in this article we use one of the sub-modules as the Dubbo Provider.</p>
+<p>Before we get into the action, let&rsquo;s take a brief look at the definition, configuration, and implementation of the Dubbo interface.</p>
+<h4 id="interface-implementation">Interface implementation</h4>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">DemoService</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * standard samples dubbo infterace demo
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * @param context pass http infos
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * @return Map&lt;String, Object&gt;&lt;/&gt; pass to response http
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> **/</span>
+</span></span><span style="display:flex;"><span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">apisixDubbo</span><span style="color:#719e07">(</span>Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> httpRequestContext<s [...]
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>As shown above, the Dubbo interface is defined in a fixed way. The <code>Map</code> of method parameters represents the information passed by APISIX to the Dubbo Provider about the HTTP request (e.g. header, body, &hellip;). The <code>Map</code> of the method return value indicates how the Dubbo Provider passes some information to APISIX about the HTTP response to be returned.</p>
+<p>After the interface information, the DemoService can be published via XML configuration.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#586e75">&lt;!-- service implementation, as same as regular local bean --&gt;</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;bean</span> id=<span style="color:#2aa198">&#34;demoService&#34;</span> class=<span style="color:#2aa198">&#34;org.apache.dubbo.samples.provider.DemoServiceImpl&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#586e75">&lt;!-- declare the service interface to be exported --&gt;</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;dubbo:service</span> interface=<span style="color:#2aa198">&#34;org.apache.dubbo.samples.apisix.DemoService&#34;</span> ref=<span style="color:#2aa198">&#34;demoService&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span></code></pre></div><p>After the above configuration, the Consumer can access the <code>apisixDubbo</code> method through <code>org.apache.dubbo.samples.apisix.DemoService</code> The specific interface implementation is as follows.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">DemoServiceImpl</span> <span style="color:#268bd2">implements</span> DemoService <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">apisixDubbo</span><span style="color:#719e07">(</span>Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#71 [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">for</span> <span style="color:#719e07">(</span>Map<span style="color:#719e07">.</span>Entry<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> entry <span style="color:#719e07">:</span> httpRequestContext<span style="color:#719e07">.</span>entrySet<span style="color:# [...]
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Key = &#34;</span> <span style="color:#719e07">+</span> entry<span style="color:#719e07">.</span>getKey<span style="color:#719e07">()</span> <span style="color:#719e07">+</span> <span style="color:#2aa198">&#34; [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> ret <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> HashMap<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;();</span>
+</span></span><span style="display:flex;"><span> ret<span style="color:#719e07">.</span>put<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;body&#34;</span><span style="color:#719e07">,</span> <span style="color:#2aa198">&#34;dubbo success\n&#34;</span><span style="color:#719e07">);</span> <span style="color:#586e75">// http response body
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> ret<span style="color:#719e07">.</span>put<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;status&#34;</span><span style="color:#719e07">,</span> <span style="color:#2aa198">&#34;200&#34;</span><span style="color:#719e07">);</span> <span style="color:#586e75">// http response status
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> ret<span style="color:#719e07">.</span>put<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;test&#34;</span><span style="color:#719e07">,</span> <span style="color:#2aa198">&#34;123&#34;</span><span style="color:#719e07">);</span> <span style="color:#586e75">// http response header
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> ret<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>:::note
+In the above code, <code>DemoServiceImpl</code> prints the received <code>httpRequestContext</code> and describes the HTTP response to the Dubbo request by returning a Map object with the specified Key.
+:::</p>
+<h4 id="operation-steps">Operation steps</h4>
+<ol>
+<li>Start <a href="https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-tengine#install-dubbo"><code>dubbo-samples</code></a>.</li>
+<li>Enable the <code>dubbo-proxy</code> plugin in the <code>config.yaml</code> file.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#586e75"># Add this in config.yaml</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">plugins</span>:
+</span></span><span style="display:flex;"><span> - ... <span style="color:#586e75"># plugin you need</span>
+</span></span><span style="display:flex;"><span> - dubbo-proxy
+</span></span></code></pre></div><ol start="3">
+<li>Create an Upstream that points to the Dubbo Provider.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>curl http://127.0.0.1:9180/apisix/admin/upstreams/1 -H <span style="color:#2aa198">&#39;X-API-KEY: edd1c9f034335f136f87ad84b625c8f1&#39;</span> -X PUT -d <span style="color:#2aa198">&#39;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198">{
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;nodes&#34;: {
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;127.0.0.1:20880&#34;: 1
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> },
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;type&#34;: &#34;roundrobin&#34;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198">}&#39;</span>
+</span></span></code></pre></div><ol start="4">
+<li>Expose an HTTP route for the DemoService.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>curl http://127.0.0.1:9180/apisix/admin/routes/1 -H <span style="color:#2aa198">&#39;X-API-KEY: edd1c9f034335f136f87ad84b625c8f1&#39;</span> -X PUT -d <span style="color:#2aa198">&#39;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198">{
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;host&#34;: &#34;example.org&#34;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;uris&#34;: [
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;/demo&#34;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> ],
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;plugins&#34;: {
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;dubbo-proxy&#34;: {
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;service_name&#34;: &#34;org.apache.dubbo.samples.apisix.DemoService&#34;,
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;service_version&#34;: &#34;0.0.0&#34;,
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;method&#34;: &#34;apisixDubbo&#34;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> }
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> },
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;upstream_id&#34;: 1
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198">}&#39;</span>
+</span></span></code></pre></div><ol start="5">
+<li>Use the curl command to request Apache APISIX and view the returned results.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>curl http://127.0.0.1:9080/demo -H <span style="color:#2aa198">&#34;Host: example.org&#34;</span> -X POST --data <span style="color:#2aa198">&#39;{&#34;name&#34;: &#34;hello&#34;}&#39;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>&lt; HTTP/1.1 <span style="color:#2aa198">200</span> OK
+</span></span><span style="display:flex;"><span>&lt; Date: Sun, <span style="color:#2aa198">26</span> Dec <span style="color:#2aa198">2021</span> 11:33:27 GMT
+</span></span><span style="display:flex;"><span>&lt; Content-Type: text/plain; <span style="color:#268bd2">charset</span><span style="color:#719e07">=</span>utf-8
+</span></span><span style="display:flex;"><span>&lt; Content-Length: <span style="color:#2aa198">14</span>
+</span></span><span style="display:flex;"><span>&lt; Connection: keep-alive
+</span></span><span style="display:flex;"><span>&lt; test: <span style="color:#2aa198">123</span>
+</span></span><span style="display:flex;"><span>&lt; Server: APISIX/2.11.0
+</span></span><span style="display:flex;"><span>&lt;
+</span></span><span style="display:flex;"><span>dubbo success
+</span></span></code></pre></div><p>:::note
+The above code returns the <code>test: 123</code> Header, and the <code>dubbo success</code> string as the body. This is the same as what we expected in the <code>DemoServiceImpl</code> code.
+:::</p>
+<ol start="6">
+<li>You can view the logs of the Dubbo Provider.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>Key = content-length, Value = 17
+</span></span><span style="display:flex;"><span>Key = host, Value = example.org
+</span></span><span style="display:flex;"><span>Key = content-type, Value = application/x-www-form-urlencoded
+</span></span><span style="display:flex;"><span>Key = body, Value = [B@70754265
+</span></span><span style="display:flex;"><span>Key = accept, Value = */*
+</span></span><span style="display:flex;"><span>Key = user-agent, Value = curl/7.80.0
+</span></span></code></pre></div><p>:::note
+The Header and Body of the HTTP request are available through the <code>httpRequestContext</code>, where the Header is used as a Map element, while the Body has a fixed string &ldquo;body&rdquo; as the Key value and a Byte array as the Value.
+:::</p>
+<h3 id="advanced-complex-scenario-example">Advanced: Complex Scenario Example</h3>
+<p>As you can see in the simple use case above, we do publish Dubbo Service as an HTTP service via Apache APISIX, but there are obvious limitations in its use. For example, the parameters and return values of the interface must be <code>Map&lt;String, Object&gt;</code>.</p>
+<p>So, how do you expose the HTTP service through Apache APISIX if there is an interface in your project that is already defined, but does not meet the above restrictions?</p>
+<h4 id="operation-steps-1">Operation steps</h4>
+<p>For the above scenario, we can use the HTTP Request Body to describe the Service and Method to be invoked and the corresponding parameters, and then use the reflection mechanism of Java to realize the invocation of the target method. Finally, the return value is serialized to JSON and written to the HTTP Response Body.</p>
+<p>This will further enhance the &ldquo;HTTP to Dubbo&rdquo; capability of Apache APISIX and apply it to all existing Dubbo services. For details, see the following.</p>
+<ol>
+<li>Add a Dubbo Service for existing projects to handle HTTP to Dubbo conversions in a unified way.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">DubboInvocationParameter</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> String type<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> String value<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">DubboInvocation</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> String service<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> String method<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> DubboInvocationParameter<span style="color:#719e07">[]</span> parameters<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">HTTP2DubboService</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">invoke</span><span style="color:#719e07">(</span>Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> context<span style="color [...]
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">@Component</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">HTTP2DubboServiceImpl</span> <span style="color:#268bd2">implements</span> HTTP2DubboService <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Autowired</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> ApplicationContext appContext<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">invoke</span><span style="color:#719e07">(</span>Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07" [...]
+</span></span><span style="display:flex;"><span> DubboInvocation invocation <span style="color:#719e07">=</span> JSONObject<span style="color:#719e07">.</span>parseObject<span style="color:#719e07">((</span><span style="color:#dc322f">byte</span><span style="color:#719e07">[])</span> context<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;body&#34;</span><span [...]
+</span></span><span style="display:flex;"><span> Object<span style="color:#719e07">[]</span> args <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> Object<span style="color:#719e07">[</span>invocation<span style="color:#719e07">.</span>getParameters<span style="color:#719e07">().</span>size<span style="color:#719e07">()];</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">for</span> <span style="color:#719e07">(</span><span style="color:#dc322f">int</span> i <span style="color:#719e07">=</span> <span style="color:#2aa198">0</span><span style="color:#719e07">;</span> i <span style="color:#719e07">&lt;</span> args<span style="color:#719e07">.</span>length<span style="color:#719e07">;</span> i<span style="color [...]
+</span></span><span style="display:flex;"><span> DubboInvocationParameter parameter <span style="color:#719e07">=</span> invocation<span style="color:#719e07">.</span>getParameters<span style="color:#719e07">().</span>get<span style="color:#719e07">(</span>i<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> args<span style="color:#719e07">[</span>i<span style="color:#719e07">]</span> <span style="color:#719e07">=</span> JSONObject<span style="color:#719e07">.</span>parseObject<span style="color:#719e07">(</span>parameter<span style="color:#719e07">.</span>getValue<span style="color:#719e07">(),</span> Class<span style="color:#719e07">.</span>forName<span style="color:#719e07">(< [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> Object svc <span style="color:#719e07">=</span> appContext<span style="color:#719e07">.</span>getBean<span style="color:#719e07">(</span>Class<span style="color:#719e07">.</span>forName<span style="color:#719e07">(</span>invocation<span style="color:#719e07">.</span>getService<span style="color:#719e07">()));</span>
+</span></span><span style="display:flex;"><span> Object result <span style="color:#719e07">=</span> svc<span style="color:#719e07">.</span>getClass<span style="color:#719e07">().</span>getMethod<span style="color:#719e07">(</span>invocation<span style="color:#719e07">.</span>getMethod<span style="color:#719e07">()).</span>invoke<span style="color:#719e07">(</span>args<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Object<span style="color:#719e07">&gt;</span> httpResponse <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> HashMap<span style="color:#719e07">&lt;&gt;();</span>
+</span></span><span style="display:flex;"><span> httpResponse<span style="color:#719e07">.</span>put<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;status&#34;</span><span style="color:#719e07">,</span> <span style="color:#2aa198">200</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> httpResponse<span style="color:#719e07">.</span>put<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;body&#34;</span><span style="color:#719e07">,</span> JSONObject<span style="color:#719e07">.</span>toJSONString<span style="color:#719e07">(</span>result<span style="color:#719e07">));</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> httpResponse<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>Initiate the relevant call with the following command request.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>curl http://127.0.0.1:9080/demo -H <span style="color:#2aa198">&#34;Host: example.org&#34;</span> -X POST --data <span style="color:#2aa198">&#39;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198">{
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;service&#34;: &#34;org.apache.dubbo.samples.apisix.DemoService&#34;,
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;method&#34;: &#34;createUser&#34;,
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;parameters&#34;: [
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> {
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;type&#34;: &#34;org.apache.dubbo.samples.apisix.User&#34;,
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> &#34;value&#34;: &#34;{&#39;</span>name<span style="color:#2aa198">&#39;: &#39;</span>hello<span style="color:#2aa198">&#39;}&#34;
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> }
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198"> ]
+</span></span></span><span style="display:flex;"><span><span style="color:#2aa198">}&#39;</span>
+</span></span></code></pre></div><h2 id="summary">Summary</h2>
+<p>In this article, we introduced how to use Apache APISIX to implement a proxy for Dubbo Service. By introducing the <code>dubbo-proxy</code> plugin, you can build a simpler and more efficient traffic link for the back-end system of Dubbo framework.</p>
+<p>We hope that the above steps and use cases will provide you with ideas for using it in relevant scenarios. For more information about the <code>dubbo-proxy</code> plugin, please refer to the <a href="https://apisix.apache.org/docs/apisix/plugins/dubbo-proxy/">official documentation</a>.</p></description></item><item><title>Blog: 2.7.14 Release Note</title><link>https://cn.dubbo.apache.org/en/blog/2021/09/20/2.7.14-release-note/</link><pubDate>Mon, 20 Sep 2021 00:00:0 [...]
+<h2 id="change-lists">Change Lists</h2>
+<ul>
+<li>add Dynamic Configuration Override Support For ServiceDiscovery. (#8389)</li>
+<li>fix mock parameters doesn&rsquo;t work when it contain &lsquo;:&rsquo; or &lsquo;=&rsquo;. (#8379)</li>
+<li>fix the issue of taking the zone parameter value in ZoneAwareClusterInvoker. (#8521)</li>
+<li>add the switch for check class is in serialize white list , default is true. (#8537)</li>
+<li>fix NPE on serialization checking when request timed out. (#8587)</li>
+<li>fix NetUtils.ignoreNetworkInterface can&rsquo;t process network card name contains &lsquo;(&rsquo; symbol. (#8629)</li>
+<li>unify the way of getting local address. (#8679)</li>
+<li>fix retries param didn&rsquo;t work well when it is 0. (#8743)</li>
+<li>close client immediately when destroy unused invoker. (#8756)</li>
+<li>fix destroy IllegalStateException and doOverrideIfNecessary NPE. (#8683)</li>
+<li>show message according to log level when DefaultFuture.closeChannel. (#8778)</li>
+<li>use MapUtils instead of AttachmentsAdapter. (#8772)</li>
+</ul>
+<h2 id="dependency-changes">Dependency Changes</h2>
+<ul>
+<li>netty4: 4.1.51.Final -&gt; 4.1.66.Final</li>
+<li>netty4_ssl: 2.0.39.Final -&gt; 2.0.40.Final</li>
+<li>http_client: 4.5.3 -&gt; 4.5.13</li>
+<li>jetty: 9.4.11.v20180605 -&gt; 9.4.43.v20210629</li>
+<li>apollo_client: 1.1.1 -&gt; 1.8.0</li>
+<li>tomcat_embed: 8.5.31-&gt; 9.0.48</li>
+<li>commons_io: 2.6 -&gt; 2.7</li>
+<li>curator: 5.0.0 -&gt; 5.1.0</li>
+<li>hessian_lite: 3.2.8 -&gt; 3.2.11</li>
+</ul></description></item><item><title>Blog: 3.0.2.1 Release Note</title><link>https://cn.dubbo.apache.org/en/blog/2021/08/23/3.0.2.1-release-note/</link><pubDate>Mon, 23 Aug 2021 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2021/08/23/3.0.2.1-release-note/</guid><description>
+<p>This is a bugfix version of 3.0.2.
+Exactly the same as version 3.0.2, except for the following changes.</p>
+<h2 id="bugfix">Bugfix</h2>
+<ul>
+<li>Fix nacos group inviable in consumer side (#8533)</li>
+<li>Fix NPE on serialization checking when request timed out (#8547)</li>
+<li>Compact with dubbo-all without farbic-io (#8546)</li>
+</ul></description></item><item><title>Blog: 3.0.2 Release Note</title><link>https://cn.dubbo.apache.org/en/blog/2021/08/18/3.0.2-release-note/</link><pubDate>Wed, 18 Aug 2021 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2021/08/18/3.0.2-release-note/</guid><description>
+<h2 id="features">Features</h2>
+<ul>
+<li>improve generic service with @DubboService annotation.</li>
+<li>metadata report config support xml to config protocol and port.</li>
+<li>compatible for curator5.</li>
+<li>p2p invoke support wildcard url match.</li>
+<li>add Dynamic Configuration Override Support For ServiceDiscovery.</li>
+<li>add provider configuration override disable option.</li>
+<li>support native image.</li>
+<li>support disable shutdown hook.</li>
+<li>add Kubernetes Mesh Rule support.</li>
+<li>support SSL at netty transport.</li>
+</ul>
+<h2 id="bugfixs">BugFixs</h2>
+<ul>
+<li>fix re-start override dynamic config.</li>
+<li>fix delete configurators does not take effect.</li>
+<li>fix triple protocol will throw exception when the service is exposed.</li>
+<li>fix ConfigCenterConfig.setAddress will override username problem.</li>
+<li>fix DefaultFuture.closeChannel will shutdown ExecutorService.</li>
+<li>fix TripleClientHandler#writeRequest throwing NPE problem.</li>
+<li>fix NPE when parse migration rule error happen.</li>
+<li>fix Activated Extensions order.</li>
+<li>fix URLAddress#parse method to judge the isPathAddress problem when the address is ipv6.</li>
+<li>fix custom parameter in configuration properties does not work.</li>
+<li>fix Config id Override when both using API and Spring.</li>
+<li>fix service discovery not work on bootstrap &amp; fix address pollution.</li>
+<li>fix nacos registry can&rsquo;t received instance change notify.</li>
+<li>fix could not resolve placeholder &lsquo;${dubbo.application}&rsquo; in xml.</li>
+<li>fix service parameter fetch order.</li>
+<li>fix error of register dubbo bootstrap application listener manually.</li>
+<li>fix mock parameters doesn&rsquo;t work when it contain &lsquo;:&rsquo; or &lsquo;=&rsquo;.</li>
+<li>fix delete mesh rule npe.</li>
+</ul>
+<h2 id="optimization">Optimization</h2>
+<ul>
+<li>add exception catch for RemovalTask, ensure semaphore release.</li>
+<li>check duplicated ReferenceConfig/ServiceConfig by unique service name.</li>
+<li>improve the performance for generating random numbers.</li>
+<li>if user define interface service discovery, not publish service name mapping info.</li>
+<li>use StringBuilder#append(Char) to improve performance.</li>
+<li>gRPC Compile class interface order.</li>
+<li>improve property placeholder resolving of reference bean.</li>
+<li>use CompletableFuture#get(long, TimeUnit) to take place of CompletableFuture#get() in MergeableClusterInvoker.</li>
+<li>service delay export config ignore metadata service.</li>
+<li>improve dubbo config beans and bootstrap initialization.</li>
+<li>improve duplicated config checking and add tests for reference annotation.</li>
+<li>replace with ring for registry notification &amp; suppress property checker.</li>
+<li>improve dynamic configuration initialization.</li>
+<li>lock-free ConfigManager and improve config checking.</li>
+<li>modify metadata equals and instance listener.</li>
+<li>improve async export / refer.</li>
+<li>use TreeSet to ensure ServiceNames order when subscribe.</li>
+<li>make first tenth calls notify not delay RegistryNotifier.</li>
+<li>refactor compiler to generate new format stubs.</li>
+<li>change mesh rule group to config default value.</li>
+<li>compatible with nacos grouping via group.</li>
+<li>remove runtime params in ServiceInfo.</li>
+<li>throw RpcException when NacosException occurred.</li>
+<li>configcenter ban accessLogKey and FileRouterFactory key.</li>
+<li>improve config bean initialization compatible with spring 3.x/4.1.x.</li>
+<li>dubbo bootstrap start re-entry, export/refer new services.</li>
+<li>org.apache.dubbo.* add serialization whitelist.</li>
+<li>ensure generated config id is unique, checking existed config.</li>
+<li>compatible with filed change declaration override for Javaassist.</li>
+<li>refactor Codec check, default deny.</li>
+<li>compatible with adaptive extensions when ApplicationModel is null.</li>
+</ul>
+<h2 id="code-improvement">Code Improvement</h2>
+<p>Thanks for these contribution to improve stability of Apache Dubbo.</p>
+<p><a href="https://github.com/apache/dubbo/pull/8111">#8111</a>,
+<a href="https://github.com/apache/dubbo/pull/8147">#8147</a>,
+<a href="https://github.com/apache/dubbo/pull/8164">#8164</a>,
+<a href="https://github.com/apache/dubbo/pull/8177">#8177</a>,
+<a href="https://github.com/apache/dubbo/pull/8180">#8180</a>,
+<a href="https://github.com/apache/dubbo/pull/8161">#8161</a>,
+<a href="https://github.com/apache/dubbo/pull/8183">#8183</a>,
+<a href="https://github.com/apache/dubbo/pull/8205">#8205</a>,
+<a href="https://github.com/apache/dubbo/pull/8215">#8215</a>,
+<a href="https://github.com/apache/dubbo/pull/8173">#8173</a>,
+<a href="https://github.com/apache/dubbo/pull/8219">#8219</a>,
+<a href="https://github.com/apache/dubbo/pull/8228">#8228</a>,
+<a href="https://github.com/apache/dubbo/pull/8232">#8232</a>,
+<a href="https://github.com/apache/dubbo/pull/8230">#8230</a>,
+<a href="https://github.com/apache/dubbo/pull/8236">#8236</a>,
+<a href="https://github.com/apache/dubbo/pull/8260">#8260</a>,
+<a href="https://github.com/apache/dubbo/pull/8262">#8262</a>,
+<a href="https://github.com/apache/dubbo/pull/8252">#8252</a>,
+<a href="https://github.com/apache/dubbo/pull/8246">#8246</a>,
+<a href="https://github.com/apache/dubbo/pull/8208">#8208</a>,
+<a href="https://github.com/apache/dubbo/pull/8278">#8278</a>,
+<a href="https://github.com/apache/dubbo/pull/8267">#8267</a>,
+<a href="https://github.com/apache/dubbo/pull/8277">#8277</a>,
+<a href="https://github.com/apache/dubbo/pull/8291">#8291</a>,
+<a href="https://github.com/apache/dubbo/pull/8296">#8296</a>,
+<a href="https://github.com/apache/dubbo/pull/8302">#8302</a>,
+<a href="https://github.com/apache/dubbo/pull/8175">#8175</a>,
+<a href="https://github.com/apache/dubbo/pull/8319">#8319</a>,
+<a href="https://github.com/apache/dubbo/pull/8309">#8309</a>,
+<a href="https://github.com/apache/dubbo/pull/8336">#8336</a>,
+<a href="https://github.com/apache/dubbo/pull/8332">#8332</a>,
+<a href="https://github.com/apache/dubbo/pull/8328">#8328</a>,
+<a href="https://github.com/apache/dubbo/pull/8355">#8355</a>,
+<a href="https://github.com/apache/dubbo/pull/8396">#8396</a>,
+<a href="https://github.com/apache/dubbo/pull/8401">#8401</a>,
+<a href="https://github.com/apache/dubbo/pull/8395">#8395</a>,
+<a href="https://github.com/apache/dubbo/pull/8415">#8415</a>,
+<a href="https://github.com/apache/dubbo/pull/8406">#8406</a>,
+<a href="https://github.com/apache/dubbo/pull/8411">#8411</a>,
+<a href="https://github.com/apache/dubbo/pull/8418">#8418</a>,
+<a href="https://github.com/apache/dubbo/pull/8439">#8439</a>,
+<a href="https://github.com/apache/dubbo/pull/8404">#8404</a>,
+<a href="https://github.com/apache/dubbo/pull/8443">#8443</a></p>
+<h2 id="dependency-changes">Dependency Changes</h2>
+<ul>
+<li>remove dependency: org.eclipse.collections:eclipse-collections</li>
+<li>remove dependency: com.google.guava:guava</li>
+<li>jetty: 9.4.11.v20180605 -&gt; 9.4.43.v20210629</li>
+<li>apollo client: 1.1.1 -&gt; 1.8.0</li>
+<li>snakeyaml: 1.20 -&gt; 1.29</li>
+<li>tomcat embed: 8.5.31 -&gt; 8.5.69</li>
+<li>nacos client: 2.0.0 -&gt; 2.0.2</li>
+<li>swagger: 1.5.19 -&gt; 1.5.24</li>
+<li>hessian_lite: 3.2.8 -&gt; 3.2.11</li>
+</ul></description></item><item><title>Blog: 3.0.1 Release Note</title><link>https://cn.dubbo.apache.org/en/blog/2021/07/02/3.0.1-release-note/</link><pubDate>Fri, 02 Jul 2021 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2021/07/02/3.0.1-release-note/</guid><description>
+<h2 id="optimization">Optimization</h2>
+<ul>
+<li>Refactor NameMapping to Metadata, Support application field in MigrationRule</li>
+<li>Add cache for scan result</li>
+<li>Improve config overrides of method and argument</li>
+<li>Support servlet takeover mode</li>
+<li>Add ServiceListener for ServiceConfig</li>
+<li>Improve method callback</li>
+</ul>
+<h2 id="bugfixs">BugFixs</h2>
+<ul>
+<li>Add force check</li>
+<li>Fix multi-registry will destroy unavailable clusters</li>
+<li>Remove needless toString convert &amp; Enable checking by default</li>
+<li>Ignore invalid MetadataReportConfig</li>
+<li>Fix NPE when consumer start</li>
+<li>Fix some compatiable issues</li>
+<li>Optimize Service related issues</li>
+<li>Opt Migration &amp; Fix reSubscribe for ServiceDiscovery</li>
+<li>Fix NPE in MetadataInfo</li>
+<li>Fix customizer not changed</li>
+</ul>
+<h2 id="code-improvement">Code Improvement</h2>
+<p>Thanks for these contribution to improve stability of Apache Dubbo.</p>
+<p><a href="https://github.com/apache/dubbo/pull/8043">#8043</a>,
+<a href="https://github.com/apache/dubbo/pull/8044">#8044</a>,
+<a href="https://github.com/apache/dubbo/pull/8048">#8048</a>,
+<a href="https://github.com/apache/dubbo/pull/8071">#8071</a>,
+<a href="https://github.com/apache/dubbo/pull/8119">#8119</a>,
+<a href="https://github.com/apache/dubbo/pull/8132">#8132</a></p></description></item><item><title>Blog: Past Releases</title><link>https://cn.dubbo.apache.org/en/blog/2020/05/18/past-releases/</link><pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2020/05/18/past-releases/</guid><description>
+<h2 id="verification">Verification</h2>
+<p>you can follow these <a href="https://www.apache.org/info/verification">procedures</a> and the <a href="https://downloads.apache.org/dubbo/KEYS">KEYS</a> file to verify the download files</p>
+<h2 id="apache-dubbo">Apache Dubbo</h2>
+<blockquote>
+<p>GitHub: <a href="https://github.com/apache/dubbo">https://github.com/apache/dubbo</a> <br>
+Release Notes: <a href="https://github.com/apache/dubbo/releases">https://github.com/apache/dubbo/releases</a></p>
+</blockquote>
+<h3 id="2719-2022-12-13">2.7.19 (2022-12-13)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/2.7.19/apache-dubbo-2.7.19-src.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.7.19/apache-dubbo-2.7.19-src.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.7.19/apache-dubbo-2.7.19-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="320-beta2-2022-11-28">3.2.0-beta.2 (2022-11-28)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/3.2.0-beta.2/apache-dubbo-3.2.0-beta.2-src.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/3.2.0-beta.2/apache-dubbo-3.2.0-beta.2-src.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/3.2.0-beta.2/apache-dubbo-3.2.0-beta.2-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="313-2022-11-28">3.1.3 (2022-11-28)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/3.1.3/apache-dubbo-3.1.3-src.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/3.1.3/apache-dubbo-3.1.3-src.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/3.1.3/apache-dubbo-3.1.3-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="320-beta1-2022-11-08">3.2.0-beta.1 (2022-11-08)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.2.0-beta.1/apache-dubbo-3.2.0-beta.1-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.2.0-beta.1/apache-dubbo-3.2.0-beta.1-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.2.0-beta.1/apache-dubbo-3.2.0-beta.1-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="312-2022-11-08">3.1.2 (2022-11-08)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.1.2/apache-dubbo-3.1.2-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.1.2/apache-dubbo-3.1.2-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.1.2/apache-dubbo-3.1.2-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="311-2022-09-29">3.1.1 (2022-09-29)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.1.1/apache-dubbo-3.1.1-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.1.1/apache-dubbo-3.1.1-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.1.1/apache-dubbo-3.1.1-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="3012-2022-09-29">3.0.12 (2022-09-29)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/3.0.12/apache-dubbo-3.0.12-src.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/3.0.12/apache-dubbo-3.0.12-src.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/3.0.12/apache-dubbo-3.0.12-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2718-2022-09-29">2.7.18 (2022-09-29)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.18/apache-dubbo-2.7.18-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.18/apache-dubbo-2.7.18-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.18/apache-dubbo-2.7.18-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2717-2022-08-23">2.7.17 (2022-08-23)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.17/apache-dubbo-2.7.17-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.17/apache-dubbo-2.7.17-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.17/apache-dubbo-2.7.17-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="3011-2022-08-23">3.0.11 (2022-08-23)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.11/apache-dubbo-3.0.11-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.11/apache-dubbo-3.0.11-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.11/apache-dubbo-3.0.11-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="310-2022-08-22">3.1.0 (2022-08-22)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.1.0/apache-dubbo-3.1.0-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.1.0/apache-dubbo-3.1.0-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.1.0/apache-dubbo-3.1.0-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="3010-2022-07-21">3.0.10 (2022-07-21)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.10/apache-dubbo-3.0.10-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.10/apache-dubbo-3.0.10-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.10/apache-dubbo-3.0.10-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2716-2022-07-06">2.7.16 (2022-07-06)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.16/apache-dubbo-2.7.16-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.16/apache-dubbo-2.7.16-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.16/apache-dubbo-2.7.16-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="309-2022-06-23">3.0.9 (2022-06-23)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.9/apache-dubbo-3.0.9-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.9/apache-dubbo-3.0.9-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.9/apache-dubbo-3.0.9-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="308-2022-05-11">3.0.8 (2022-05-11)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.8/apache-dubbo-3.0.8-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.8/apache-dubbo-3.0.8-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.8/apache-dubbo-3.0.8-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="307-2022-04-01">3.0.7 (2022-04-01)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.7/apache-dubbo-3.0.7-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.7/apache-dubbo-3.0.7-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.7/apache-dubbo-3.0.7-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="306-2022-02-28">3.0.6 (2022-02-28)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.6/apache-dubbo-3.0.6-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.6/apache-dubbo-3.0.6-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.6/apache-dubbo-3.0.6-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="305-2021-12-30">3.0.5 (2021-12-30)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.5/apache-dubbo-3.0.5-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.5/apache-dubbo-3.0.5-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.5/apache-dubbo-3.0.5-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2715-2021-12-29">2.7.15 (2021-12-29)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.15/apache-dubbo-2.7.15-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.15/apache-dubbo-2.7.15-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.15/apache-dubbo-2.7.15-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2612-2021-12-29">2.6.12 (2021-12-29)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.12/apache-dubbo-2.6.12-src.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.12/apache-dubbo-v-src.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.12/apache-dubbo-2.6.12-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="304-2021-10-24">3.0.4 (2021-10-24)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.4/apache-dubbo-3.0.4-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.4/apache-dubbo-3.0.4-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.4/apache-dubbo-3.0.4-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="303-2021-09-27">3.0.3 (2021-09-27)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.3/apache-dubbo-3.0.3-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.3/apache-dubbo-3.0.3-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.3/apache-dubbo-3.0.3-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2714-2021-09-20">2.7.14 (2021-09-20)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.14/apache-dubbo-2.7.14-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.14/apache-dubbo-2.7.14-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.14/apache-dubbo-2.7.14-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2611-2021-09-18">2.6.11 (2021-09-18)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.cgi?path=dubbo/2.6.11/apache-dubbo-2.6.11-source-release.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.cgi?path=dubbo/2.6.11/apache-dubbo-2.6.11-source-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.cgi?path=dubbo/2.6.11/apache-dubbo-2.6.11-source-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="3021-2021-08-23">3.0.2.1 (2021-08-23)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.2.1/apache-dubbo-3.0.2.1-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.2.1/apache-dubbo-3.0.2.1-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.2.1/apache-dubbo-3.0.2.1-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="302-2021-08-16">3.0.2 (2021-08-16)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.2/apache-dubbo-3.0.2-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.2/apache-dubbo-3.0.2-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.2/apache-dubbo-3.0.2-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2713-2021-08-05">2.7.13 (2021-08-05)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.13/apache-dubbo-2.7.13-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.13/apache-dubbo-2.7.13-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.13/apache-dubbo-2.7.13-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="301-2021-07-02">3.0.1 (2021-07-02)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.1/apache-dubbo-3.0.1-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.1/apache-dubbo-3.0.1-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.1/apache-dubbo-3.0.1-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="300-2021-06-16">3.0.0 (2021-06-16)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/3.0.0/apache-dubbo-3.0.0-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.0/apache-dubbo-3.0.0-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/3.0.0/apache-dubbo-3.0.0-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2712-2021-06-11">2.7.12 (2021-06-11)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.12/apache-dubbo-2.7.12-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.12/apache-dubbo-2.7.12-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.12/apache-dubbo-2.7.12-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2711-2021-05-12">2.7.11 (2021-05-12)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.11/apache-dubbo-2.7.11-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.11/apache-dubbo-2.7.11-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.11/apache-dubbo-2.7.11-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2710-2021-04-08">2.7.10 (2021-04-08)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.10/apache-dubbo-2.7.10-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.10/apache-dubbo-2.7.10-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.10/apache-dubbo-2.7.10-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="279-2020-02-23">2.7.9 (2020-02-23)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.9/apache-dubbo-2.7.9-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.9/apache-dubbo-2.7.9-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.9/apache-dubbo-2.7.9-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="278-2020-07-28">2.7.8 (2020-07-28)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.8/apache-dubbo-2.7.8-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.8/apache-dubbo-2.7.8-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.8/apache-dubbo-2.7.8-source-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="277-2020-05-18">2.7.7 (2020-05-18)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.7/apache-dubbo-2.7.7-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.7/apache-dubbo-2.7.7-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.7/apache-dubbo-2.7.7-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="275-2019-12-29">2.7.5 (2019-12-29)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.5/apache-dubbo-2.7.5-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.5/apache-dubbo-2.7.5-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.5/apache-dubbo-2.7.5-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="2741-2019-10-27">2.7.4.1 (2019-10-27)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.4.1/apache-dubbo-2.7.4.1-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.4.1/apache-dubbo-2.7.4.1-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.4.1/apache-dubbo-2.7.4.1-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="274-2019-10-19">2.7.4 (2019-10-19)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.4/apache-dubbo-2.7.4-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.4/apache-dubbo-2.7.4-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.4/apache-dubbo-2.7.4-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="273-2019-07-19">2.7.3 (2019-07-19)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.3/apache-dubbo-2.7.3-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.3/apache-dubbo-2.7.3-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.3/apache-dubbo-2.7.3-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="272-2019-06-06">2.7.2 (2019-06-06)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/dubbo/2.7.2/apache-dubbo-2.7.2-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.2/apache-dubbo-2.7.2-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/dubbo/2.7.2/apache-dubbo-2.7.2-src.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="271-2019-03-26">2.7.1 (2019-03-26)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-src.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-src.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-src.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-bin.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-bin.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.1/apache-dubbo-incubating-2.7.1-bin.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="270-2019-01-29">2.7.0 (2019-01-29)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.7.0/apache-dubbo-incubating-2.7.0-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="267-2019-07-15">2.6.7 (2019-07-15)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-source-release.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-source-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-bin-release.zip">binary</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-bin-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/dubbo/2.6.7/apache-dubbo-2.6.7-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="266-2019-03-07">2.6.6 (2019-03-07)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-source-release.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-source-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-bin-release.zip">binary</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-bin-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/2.6.6/apache-dubbo-incubating-2.6.6-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="265-2018-11-23">2.6.5 (2018-11-23)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.5/apache-dubbo-incubating-2.6.5-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="264-2018-10-08">2.6.4 (2018-10-08)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.4/apache-dubbo-incubating-2.6.4-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="263-2018-09-11">2.6.3 (2018-09-11)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="262-2018-06-07">2.6.2 (2018-06-07)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/2.6.2/dubbo-incubating-2.6.2-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h2 id="dubbo-spring-boot-starter">Dubbo Spring Boot Starter</h2>
+<blockquote>
+<p>GitHub: <a href="https://github.com/apache/incubator-dubbo-spring-boot-project">https://github.com/apache/incubator-dubbo-spring-boot-project</a> <br>
+发布说明:https://github.com/apache/incubator-dubbo-spring-boot-project/releases</p>
+</blockquote>
+<h3 id="271-2019-04-09">2.7.1 (2019-04-09)</h3>
+<ul>
+<li><a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-source-release.zip">source</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-source-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-bin-release.zip">binary</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-bin-release.zip.asc">asc</a> |
+<a href="https://www.apache.org/dyn/closer.lua/incubator/dubbo/spring-boot-project/2.7.1/apache-dubbo-spring-boot-project-incubating-2.7.1-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="270-2019-02-14">2.7.0 (2019-02-14)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/2.7.0/apache-dubbo-spring-boot-project-incubating-2.7.0-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="021-2019-01-27">0.2.1 (2019-01-27)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.2.1/apache-dubbo-spring-boot-project-incubating-0.2.1-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h3 id="012-2019-01-27">0.1.2 (2019-01-27)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-source-release.zip.sha512">sha512</a></li>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-bin-release.zip">binary</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-bin-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/spring-boot-project/0.1.2/apache-dubbo-spring-boot-project-incubating-0.1.2-bin-release.zip.sha512">sha512</a></li>
+</ul>
+<h2 id="dubbo-admin">Dubbo Admin</h2>
+<blockquote>
+<p>GitHub: <a href="https://github.com/apache/incubator-dubbo-admin">https://github.com/apache/incubator-dubbo-admin</a> <br>
+Release Notes: <a href="https://github.com/apache/incubator-dubbo-admin/releases">https://github.com/apache/incubator-dubbo-admin/releases</a></p>
+</blockquote>
+<h3 id="01-2019-02-15">0.1 (2019-02-15)</h3>
+<ul>
+<li><a href="https://archive.apache.org/dist/incubator/dubbo/dubbo-ops/0.1/apache-dubbo-ops-incubating-0.1-source-release.zip">source</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/dubbo-ops/0.1/apache-dubbo-ops-incubating-0.1-source-release.zip.asc">asc</a> |
+<a href="https://archive.apache.org/dist/incubator/dubbo/dubbo-ops/0.1/apache-dubbo-ops-incubating-0.1-source-release.zip.sha512">sha512</a></li>
+</ul></description></item><item><title>Blog: Dubbo Admin service test</title><link>https://cn.dubbo.apache.org/en/blog/2019/08/26/service-test/</link><pubDate>Mon, 26 Aug 2019 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2019/08/26/service-test/</guid><description>
+<p>Based on the metadata of Dubbo2.7, Dubbo Admin implements the service test function, which can call the real service provider on the console through generalized call.</p>
+<h2 id="usage">Usage</h2>
+<ul>
+<li>
+<p>Deploy the provider: You can download the demo <a href="https://github.com/nzomkxia/dubbo-demo">here</a>. This project is based on Spring Boot, which is convenient to start in the IDE or command line. For service testing, you only need to start <code>dubbo-basic-provider</code>.</p>
+</li>
+<li>
+<p>Service-seeking: After completing the server deployment, you can query the corresponding service on the Dubbo Admin&rsquo;s <code>service test</code> page:
+<img src="https://cn.dubbo.apache.org/imgs/blog/admin/testSearch.jpg" alt="testSearch"><br>
+the information here is similar to the metadata, including the method name, parameter type and return value. Click the label on the right to enter the <code>service test</code> page.</p>
+</li>
+<li>
+<p>Service test:
+<img src="https://cn.dubbo.apache.org/imgs/blog/admin/testSuccess.jpg" alt="testSuccess"><br>
+<code>service test</code> page contains two json editor, the parameter&rsquo;s informations are all stored in a json format, where you need to fill in the corresponding parameter values (in this case, the number type is String ), after filling, click <code>execute</code> to initiate the call to the server, and the result of the call is displayed in the editor on the right. If the call fails, the detailed cause of the failure is displayed. Let&rsquo;s look at the examp [...]
+<img src="https://cn.dubbo.apache.org/imgs/blog/admin/testFail.jpg" alt="testFail"></p>
+<p>In this case, the Dubbo service provider&rsquo;s process is shut down before the service test is executed, you can see that the returned result is an <code>No provider availble</code> exception. As with normal calls, business and framework exceptions are returned in the results, for easy business troubleshooting.</p>
+</li>
+<li>
+<p>Complex type parameters <br>
+Consider the following methods and types in <code>UserService</code>:</p>
+</li>
+</ul>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#586e75">//org.apache.dubbo.demo.api.UserService
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span>Result <span style="color:#268bd2">getUser</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">,</span> UserInfoDO userInfoDO<span style="color:#719e07">);</span>
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">UserInfoDO</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> <span style="color:#dc322f">int</span> id<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> LocationDO locationDO<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> DepartmentDO departmentDO<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> String <span style="color:#268bd2">toString</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#2aa198">&#34;UserInfoDO{&#34;</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;id=&#34;</span> <span style="color:#719e07">+</span> id <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;, locationDO=&#34;</span> <span style="color:#719e07">+</span> locationDO<span style="color:#719e07">.</span>toString<span style="color:#719e07">()</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;, departmentDO=&#34;</span> <span style="color:#719e07">+</span> departmentDO<span style="color:#719e07">.</span>toString<span style="color:#719e07">()</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#39;}&#39;</span><span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">DepartmentDO</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> String departName<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> LocationDO departLocation<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> String <span style="color:#268bd2">toString</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#2aa198">&#34;DepartmentDO{&#34;</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;departName=&#39;&#34;</span> <span style="color:#719e07">+</span> departName <span style="color:#719e07">+</span> <span style="color:#2aa198">&#39;\&#39;&#39;</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;, departLocation=&#34;</span> <span style="color:#719e07">+</span> departLocation<span style="color:#719e07">.</span>toString<span style="color:#719e07">()</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#39;}&#39;</span><span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">LocationDO</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> String address<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> <span style="color:#dc322f">int</span> postNum<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> String <span style="color:#268bd2">toString</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#2aa198">&#34;LocationDO{&#34;</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;address=&#39;&#34;</span> <span style="color:#719e07">+</span> address <span style="color:#719e07">+</span> <span style="color:#2aa198">&#39;\&#39;&#39;</span> <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;, postNum=&#34;</span> <span style="color:#719e07">+</span> postNum <span style="color:#719e07">+</span>
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#39;}&#39;</span><span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>The parameters are complex complex type. When the service is tested, the value of each field will be filled out layer by layer, As shown below:<br>
+<img src="https://cn.dubbo.apache.org/imgs/blog/admin/complex.jpg" alt="complex">
+It can also make successful call and the result is returned.</p>
+<h2 id="principledata-source">Principle:Data source</h2>
+<p>In the service test, the most important thing is the complete method signature, and the type information of the parameters, with which the values of each parameter can be filled step by step to assemble the complete service consumer. In Dubbo 2.7, the metadata center has been added. The method signature and parameter type information of Dubbo Admin is from here:<br>
+<img src="https://cn.dubbo.apache.org/imgs/blog/admin/metadata.png" alt="medatada">
+As shown, the server will register the metadata information of the service to the metadata center when it runs,the format is as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span>{
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;methods&#34;</span>: [
+</span></span><span style="display:flex;"><span> {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;name&#34;</span>: <span style="color:#2aa198">&#34;sayHello&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;parameterTypes&#34;</span>: [
+</span></span><span style="display:flex;"><span> <span style="color:#2aa198">&#34;org.apache.dubbo.demo.model.User&#34;</span>
+</span></span><span style="display:flex;"><span> ],
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;returnType&#34;</span>: <span style="color:#2aa198">&#34;org.apache.dubbo.demo.model.Result&#34;</span>
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span> ],
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;types&#34;</span>: [
+</span></span><span style="display:flex;"><span> {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;char&#34;</span>
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;long&#34;</span>
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;org.apache.dubbo.demo.model.Result&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;properties&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;msg&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;java.lang.String&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;properties&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;value&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;char[]&#34;</span>
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;hash&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;int&#34;</span>
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;userName&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;java.lang.String&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;properties&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;value&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;char[]&#34;</span>
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;hash&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;int&#34;</span>
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;org.apache.dubbo.demo.model.User&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;properties&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;id&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;java.lang.Long&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;properties&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;value&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;long&#34;</span>
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;username&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;java.lang.Sring&#34;</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;properties&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;value&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;char[]&#34;</span>
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;hash&#34;</span>: {
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&#34;type&#34;</span>: <span style="color:#2aa198">&#34;int&#34;</span>
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> }
+</span></span><span style="display:flex;"><span> },
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span> ]
+</span></span><span style="display:flex;"><span>}
+</span></span></code></pre></div><p>Related to service testing is the method and type information contained in <code>methods</code> and <code>types</code>. Based on this information, Dubbo Admin renders the parameters into the Json Editor of the service test page, where the user enters the values of each parameter and each member variable.</p>
+<h2 id="principle-generalized-calls">Principle: Generalized calls</h2>
+<p>With the parameter type, the next question is how to call to the server. In the traditional Dubbo RPC call, the client needs to rely on the server&rsquo;s API jar package ( refer to the <a href="https://github.com/nzomkxia/dubbo-demo/tree/master/dubbo-basic-consumer">dubbo-basic-consumer</a> in the previous demo ), which is unlikely for Dubbo Admin, because the up and down of services are dynamic, Dubbo Admin can not dynamically increase the jar package dependencies, so y [...]
+<h2 id="summary-and-outlook">Summary and outlook</h2>
+<p>This article briefly introduces the usage and principle of service testing, and will further enhance this function in the future, such as processing the parameter types of abstract classes, importing parameter values from json files, supporting the saving of parameter values, etc., to facilitate regression testing of the service interface.</p></description></item><item><title>Blog: Tracing Dubbo service with Apache Skywalking</title><link>https://cn.dubbo.apache.org/en/blog/2019 [...]
+<h2 id="introduction-to-apache-skywalking">Introduction to Apache Skywalking</h2>
+<p><a href="https://github.com/apache/skywalking">Apache Skywalking</a> is the APM system that it designed for micro-services architectures and cloud native architecture systems and supports distribute tracking. <a href="https://github.com/apache/skywalking">Apache skywalking (incubator)</a> collects and analyzes the trace data and generates the relationship between the application and the service metric, Apache skywalking supports multiple languages agent, for example < [...]
+<p>Currently, Skywalking has supported analysis the operation of distributed systems from 6 visual dimensions. The overview view is a global view of your applications and components, including the number of components and applications, application alarm fluctuations, slow service lists, and application throughput; The topology shows the topological relationship of the whole application; The application view represents the upstream and downstream relationship of the application from si [...]
+<h2 id="dubbo-and-apache-skywalking">Dubbo and Apache Skywalking</h2>
+<h3 id="build-the-dubbo-demo--project">Build the Dubbo demo project</h3>
+<p>The Dubbo demo has been uploaded to the <a href="https://github.com/SkywalkingTest/dubbo-trace-example">GitHub repository</a>.</p>
+<h4 id="api-project">API project</h4>
+<p>Service interface definition:
+package org.apache.skywalking.demo.interfaces;</p>
+<p>public interface HelloService {
+String sayHello(String name);
+}</p>
+<h4 id="service-provider-project">Service provider project</h4>
+<p>package org.apache.skywalking.demo.provider;</p>
+<p>@Service(version = &ldquo;${demo.service.version}&rdquo;,
+application = &ldquo;${dubbo.application.id}&rdquo;,
+protocol = &ldquo;${dubbo.protocol.id}&rdquo;,
+registry = &ldquo;${dubbo.registry.id}&rdquo;, timeout = 60000)
+public class HelloServiceImpl implements HelloService {</p>
+<pre><code>public String sayHello(String name) {
+LockSupport.parkNanos(TimeUnit.SECONDS.toNanos(1));
+return &quot;Hello, &quot; + name;
+}
+</code></pre>
+<p>}</p>
+<h4 id="service-consumer-project">Service consumer project</h4>
+<p>package org.apache.skywalking.demo.consumer;</p>
+<p>@RestController
+public class ConsumerController {</p>
+<pre><code>private static int COUNT = 0;
+@Reference(version = &quot;${demo.service.version}&quot;,
+application = &quot;${dubbo.application.id}&quot;,
+url = &quot;dubbo://localhost:20880&quot;, timeout = 60000)
+private HelloService helloService;
+@GetMapping(&quot;/sayHello/{name}&quot;)
+public String sayHello(@PathVariable(name = &quot;name&quot;) String name) {
+if ((COUNT++) % 3 == 0){
+throw new RuntimeException();
+}
+LockSupport.parkNanos(TimeUnit.SECONDS.toNanos(2));
+return helloService.sayHello(name);
+}
+</code></pre>
+<p>}</p>
+<h3 id="deploy-apache-skywalking">Deploy Apache Skywalking</h3>
+<p><a href="https://github.com/apache/skywalking">Apache skywalking</a> offers two deployment modes: single-node mode and cluster mode,Here is the single-node mode deployment step, and more about how to deploy skywalking with cluster mode, please reference <a href="https://skywalking.apache.org/docs/main/next/en/setup/backend/backend-setup/">document</a>.</p>
+<h4 id="third-party-components">Third-party components</h4>
+<ol>
+<li>JDK 8+</li>
+<li>Elasticsearch 5.x</li>
+</ol>
+<h4 id="deployment-step">Deployment step</h4>
+<ol>
+<li>Download <a href="http://skywalking.apache.org/downloads/">Apache Skywalking Collector</a></li>
+<li>Deploy Elasticsearch service
+<ul>
+<li>Set <code>cluster.name</code> to <code>CollectorDBCluster</code></li>
+<li>Set <code>network.host</code> to <code>0.0.0.0</code></li>
+<li>Start elasticsearch service</li>
+</ul>
+</li>
+<li>Unzip and start the Skywalking Collector. Run the &rsquo; bin/startup.sh &rsquo; command to start skywalking Collector</li>
+</ol>
+<h4 id="deploy-the-demo">Deploy the demo</h4>
+<p>Before you deploy the demo service, please run the following command:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>./mvnw clean package
+</span></span></code></pre></div><h4 id="deploy-the-provider-service">Deploy the provider service</h4>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>java -jar -javaagent:$AGENT_PATH/skywalking-agent.jar -Dskywalking.agent.application_code=dubbo-provider -Dskywalking.collector.servers=localhost:10800 dubbo-provider/target/dubbo-provider.jar
+</span></span></code></pre></div><h4 id="deploy-the-consumer-service">Deploy the consumer service</h4>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>java -jar -javaagent:$AGENT_PATH/skywalking-agent.jar -Dskywalking.agent.application_code=dubbo-consumer -Dskywalking.collector.servers=localhost:10800 dubbo-consumer/target/dubbo-consumer.jar
+</span></span></code></pre></div><h4 id="visit-demo-service">visit demo service</h4>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>curl http://localhost:8080/sayHello/test
+</span></span></code></pre></div><h2 id="skywalking-scren-snapshot">Skywalking scren snapshot</h2>
+<h3 id="dashboard">Dashboard</h3>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-dashboard.png" alt="/admin-guide/images/skywalking-dashboard.png"></p>
+<h3 id="topology">Topology</h3>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-topology.png" alt="/admin-guide/images/skywalking-topology.png"></p>
+<h3 id="application-view">Application view</h3>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-application.png" alt="/admin-guide/images/skywalking-application.png"></p>
+<p>JVM Information
+<img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-application_instance.png" alt="/admin-guide/images/skywalking-application_instance.png"></p>
+<h3 id="service-view">Service view</h3>
+<p>Consumer side
+<img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-service-consumer.png" alt="/admin-guide/images/skywalking-service-consumer.png"></p>
+<p>provider side
+<img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-service-provider.png" alt="/admin-guide/images/skywalking-service-provider.png"></p>
+<h3 id="trace">Trace</h3>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-trace.png" alt="/admin-guide/images/skywalking-trace.png"></p>
+<p>Span info
+<img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-span-Info.png" alt="/admin-guide/images/skywalking-span-Info.png"></p>
+<h3 id="alarm-view">Alarm view</h3>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/skywalking-alarm.png" alt="/admin-guide/images/skywalking-alarm.png"></p></description></item><item><title>Blog: Dubbo extensible mechanism source code analysis - part 2</title><link>https://cn.dubbo.apache.org/en/blog/2019/05/02/dubbo-extensible-mechanism-source-code-analysis-part-2/</link><pubDate>Thu, 02 May 2019 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2019/05/02/dubbo-extensible-mechanism-source-cod [...]
+<p>In the <a href="https://cn.dubbo.apache.org/en/blog/2019/04/25/dubbo-extensible-mechanism-source-code-analysis-part-1/" title="">actual implementation of the Dubbo extensibility mechanism</a>, we learned some concepts of the Dubbo extension mechanism, explored the implementation of LoadBalance in Dubbo, and implemented a LoadBalance on our own. Do you think Dubbo&rsquo;s extension mechanism is great? Next, we will go deep into the source code of Dubbo and see what it is.</p>
+<h2 id="extensionloader">ExtensionLoader</h2>
+<p><code>ExtensionLoader</code> is the core class, which is responsible for the loading and lifecycle management of extension points. Let&rsquo;s start with this class. There are many methods of Extension, and the common methods include:</p>
+<ul>
+<li><code>public static &lt;T&gt; ExtensionLoader&lt;T&gt; getExtensionLoader(Class&lt;T&gt; type)</code></li>
+<li><code>public T getExtension(String name)</code></li>
+<li><code>public T getAdaptiveExtension()</code></li>
+</ul>
+<p>The common usages are:</p>
+<ul>
+<li><code>LoadBalance lb = ExtensionLoader.getExtensionLoader(LoadBalance.class).getExtension(loadbalanceName)</code></li>
+<li><code>RouterFactory routerFactory = ExtensionLoader.getExtensionLoader(RouterFactory.class).getAdaptiveExtension()</code></li>
+</ul>
+<p>Notice: In the source code shown below, I&rsquo;ll remove extraneous code (such as logging, exception catching, and so on) to make it easy to read and understand.</p>
+<ol>
+<li>getExtensionLoader
+This is a static factory method that enters an extensible interface and returns an ExtensionLoader entity class for this interface. With this entity class, you can get not only a specific extension based on name, but also an adaptive extension.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">static</span> <span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> ExtensionLoader<span style="color:#719e07">&lt;</span>T<spa [...]
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// An extension point must be an interface
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> <span style="color:#719e07">if</span> <span style="color:#719e07">(!</span>type<span style="color:#719e07">.</span>isInterface<span style="color:#719e07">())</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalArgumentException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Extension type(&#34;</span> <span style="color:#719e07">+</span> type <span style="color:#719e07">+</span> <span style="color:#2aa198">&#34;) is not interface!&#34;</span><span style="color:#719e07 [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// @SPI annotations must be provided
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> <span style="color:#719e07">if</span> <span style="color:#719e07">(!</span>withExtensionAnnotation<span style="color:#719e07">(</span>type<span style="color:#719e07">))</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalArgumentException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Extension type without @SPI Annotation!&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// Get the corresponding ExtensionLoader from the cache according to the interface
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> <span style="color:#586e75">// Each extension will only be loaded once
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> ExtensionLoader<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> loader <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>ExtensionLoader<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;)</span> EXTENSION_LOADERS<span style="color:#719e07">.</spa [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>loader <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// Initialize extension
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> EXTENSION_LOADERS<span style="color:#719e07">.</span>putIfAbsent<span style="color:#719e07">(</span>type<span style="color:#719e07">,</span> <span style="color:#719e07">new</span> ExtensionLoader<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;(</span>type<span style="color:#719e07">));</span>
+</span></span><span style="display:flex;"><span> loader <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>ExtensionLoader<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;)</span> EXTENSION_LOADERS<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span>type<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> loader<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">private</span> <span style="color:#268bd2">ExtensionLoader</span><span style="color:#719e07">(</span>Class<span style="color:#719e07">&lt;?&gt;</span> type<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">this</span><span style="color:#719e07">.</span>type <span style="color:#719e07">=</span> type<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> objectFactory <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>type <span style="color:#719e07">==</span> ExtensionFactory<span style="color:#719e07">.</span>class <span style="color:#719e07">?</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">:</span> ExtensionLoader<span style="color:#719e07">.</span>getExtensionLoader<span sty [...]
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>getExtension</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> T <span style="color:#268bd2">getExtension</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Holder<span style="color:#719e07">&lt;</span>Object<span style="color:#719e07">&gt;</span> holder <span style="color:#719e07">=</span> cachedInstances<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span>name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>holder <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> cachedInstances<span style="color:#719e07">.</span>putIfAbsent<span style="color:#719e07">(</span>name<span style="color:#719e07">,</span> <span style="color:#719e07">new</span> Holder<span style="color:#719e07">&lt;</span>Object<span style="color:#719e07">&gt;());</span>
+</span></span><span style="display:flex;"><span> holder <span style="color:#719e07">=</span> cachedInstances<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span>name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> Object instance <span style="color:#719e07">=</span> holder<span style="color:#719e07">.</span>get<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// Get it from the cache. If it does not exist, create
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>instance <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">synchronized</span> <span style="color:#719e07">(</span>holder<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> instance <span style="color:#719e07">=</span> holder<span style="color:#719e07">.</span>get<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>instance <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> instance <span style="color:#719e07">=</span> createExtension<span style="color:#719e07">(</span>name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> holder<span style="color:#719e07">.</span>set<span style="color:#719e07">(</span>instance<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#719e07">(</span>T<span style="color:#719e07">)</span> instance<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>Some judgments and caching have been made in the getExtension method, and the main logic is in the createExtension method. Let&rsquo;s move on to the createExtension method.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> T <span style="color:#268bd2">createExtension</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// Get the extension class according to the name of extension point. For example, for LoadBalance, get the RandomLoadBalance class according to random
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> Class<span style="color:#719e07">&lt;?&gt;</span> clazz <span style="color:#719e07">=</span> getExtensionClasses<span style="color:#719e07">().</span>get<span style="color:#719e07">(</span>name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> T instance <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>T<span style="color:#719e07">)</span> EXTENSION_INSTANCES<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span>clazz<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>instance <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// Use reflection to call newInstance to create an example of an extension class
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> EXTENSION_INSTANCES<span style="color:#719e07">.</span>putIfAbsent<span style="color:#719e07">(</span>clazz<span style="color:#719e07">,</span> <span style="color:#719e07">(</span>T<span style="color:#719e07">)</span> clazz<span style="color:#719e07">.</span>newInstance<span style="color:#719e07">());</span>
+</span></span><span style="display:flex;"><span> instance <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>T<span style="color:#719e07">)</span> EXTENSION_INSTANCES<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span>clazz<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// Make dependency injection for the extended class samples
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> injectExtension<span style="color:#719e07">(</span>instance<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// If there is a wrapper, add the wrapper
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> Set<span style="color:#719e07">&lt;</span>Class<span style="color:#719e07">&lt;?&gt;&gt;</span> wrapperClasses <span style="color:#719e07">=</span> cachedWrapperClasses<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>wrapperClasses <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">&amp;&amp;</span> <span style="color:#719e07">!</span>wrapperClasses<span style="color:#719e07">.</span>isEmpty<span style="color:#719e07">())</span> <span style="color:#719e07" [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">for</span> <span style="color:#719e07">(</span>Class<span style="color:#719e07">&lt;?&gt;</span> wrapperClass <span style="color:#719e07">:</span> wrapperClasses<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> instance <span style="color:#719e07">=</span> injectExtension<span style="color:#719e07">((</span>T<span style="color:#719e07">)</span> wrapperClass<span style="color:#719e07">.</span>getConstructor<span style="color:#719e07">(</span>type<span style="color:#719e07">).</span>newInstance<span style="color:#719e07">(</span>instance<span style="color:#719e07">));</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> instance<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>The createExtension method has done the following:</p>
+<ol>
+<li>First, get the corresponding extension class according to name. Read the extension point configuration file from the <code>META-INF</code> folder under ClassPath.</li>
+<li>Use reflection to create an instance of an extended class.</li>
+<li>make dependency injection for the attributes of the extended class instance. That is, IoC.</li>
+<li>If there is a wrapper, add the wrapper. That is, AOP.</li>
+</ol>
+<p>Let&rsquo;s focus on these four processes.</p>
+<ol>
+<li>Get the corresponding extension class according to name. Let’s read the code first:</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Class<span style="color:#719e07">&lt;?&gt;&gt;</span> getExtensionClasses<span style="color:#719e [...]
+</span></span><span style="display:flex;"><span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Class<span style="color:#719e07">&lt;?&gt;&gt;</span> classes <span style="color:#719e07">=</span> cachedClasses<span style="color:#719e07">.</span>get<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>classes <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">synchronized</span> <span style="color:#719e07">(</span>cachedClasses<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> classes <span style="color:#719e07">=</span> cachedClasses<span style="color:#719e07">.</span>get<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>classes <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> classes <span style="color:#719e07">=</span> loadExtensionClasses<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> cachedClasses<span style="color:#719e07">.</span>set<span style="color:#719e07">(</span>classes<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> classes<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#586e75">// synchronized in getExtensionClasses
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span><span style="color:#268bd2">private</span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Class<span style="color:#719e07">&lt;?&gt;&gt;</span> loadExtensionClasses<span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">final</span> SPI defaultAnnotation <span style="color:#719e07">=</span> type<span style="color:#719e07">.</span>getAnnotation<span style="color:#719e07">(</span>SPI<span style="color:#719e07">.</span>class<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>defaultAnnotation <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> String value <span style="color:#719e07">=</span> defaultAnnotation<span style="color:#719e07">.</span>value<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>value <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">&amp;&amp;</span> <span style="color:#719e07">(</span>value <span style="color:#719e07">=</span> value<span style="color:#719e07">.</span>trim<span style="color:#719e07">()).</span>le [...]
+</span></span><span style="display:flex;"><span> String<span style="color:#719e07">[]</span> names <span style="color:#719e07">=</span> NAME_SEPARATOR<span style="color:#719e07">.</span>split<span style="color:#719e07">(</span>value<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>names<span style="color:#719e07">.</span>length <span style="color:#719e07">&gt;</span> <span style="color:#2aa198">1</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalStateException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;more than 1 default extension name on extension &#34;</span> <span style="color:#719e07">+</span> type<span style="color:#719e07">.</span>getName<span style="color:#719e07">());</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>names<span style="color:#719e07">.</span>length <span style="color:#719e07">==</span> <span style="color:#2aa198">1</span><span style="color:#719e07">)</span> cachedDefaultName <span style="color:#719e07">=</span> names<span style="color:#719e07">[</span><span style="color:#2aa198">0</span><span sty [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> Map<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Class<span style="color:#719e07">&lt;?&gt;&gt;</span> extensionClasses <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> HashMap<span style="color:#719e07">&lt;</span>String<span style="color:#719e07">,</span> Class<span style="color:#719e07">&lt;?&am [...]
+</span></span><span style="display:flex;"><span> loadFile<span style="color:#719e07">(</span>extensionClasses<span style="color:#719e07">,</span> DUBBO_INTERNAL_DIRECTORY<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> loadFile<span style="color:#719e07">(</span>extensionClasses<span style="color:#719e07">,</span> DUBBO_DIRECTORY<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> loadFile<span style="color:#719e07">(</span>extensionClasses<span style="color:#719e07">,</span> SERVICES_DIRECTORY<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> extensionClasses<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>This process is very simple. Get the extension class from the cache first, and if it does not exist, load it from the configuration file. The path of the configuration file has been mentioned before:</p>
+<ul>
+<li><code>META-INF/dubbo/internal</code></li>
+<li><code>META-INF/dubbo</code></li>
+<li><code>META-INF/services</code></li>
+</ul>
+<ol start="2">
+<li>Use reflection to create an extended instance. This process is very simple. We can do this using <code>clazz.newInstance()</code>. The attributes of the extended instance created are all null values.</li>
+<li>Extended instance is automatic assembly. In the actual scenario, there have dependencies between classes. Dependencies are also referenced in the extended instance, such as a simple Java class, an extension of another Dubbo, or a Spring Bean. The situation of dependencies is complex, and Dubbo&rsquo;s processing is relatively complicated. We will have a special chapter to explain it later. Now, we just need to know that Dubbo can correctly inject common dependencies in extensi [...]
+<li>Extended instance is auto-wrapping. Auto-wrapping is about implementing Spring like AOP functionality. Dubbo uses it to implement some common functions internally, such as logging, monitoring, and so on. The contents of the extended instance auto-wrapper will also be explained separately later.</li>
+</ol>
+<p>After the above 4 steps, Dubbo creates and initializes an extended instance. The dependencies of this instance are injected and packaged as needed. At this point, this extended instance can be used.</p>
+<h2 id="auto-assembly-of-dubbo-spi-advanced-usage">Auto-assembly of Dubbo SPI advanced usage</h2>
+<p>The relevant code for auto-assembly is in the injectExtension method:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> T <span style="color:#268bd2">injectExtension</span><span style="color:#719e07">(</span>T instance<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">for</span> <span style="color:#719e07">(</span>Method method <span style="color:#719e07">:</span> instance<span style="color:#719e07">.</span>getClass<span style="color:#719e07">().</span>getMethods<span style="color:#719e07">())</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>method<span style="color:#719e07">.</span>getName<span style="color:#719e07">().</span>startsWith<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;set&#34;</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&amp;&amp;</span> method<span style="color:#719e07">.</span>getParameterTypes<span style="color:#719e07">().</span>length <span style="color:#719e07">==</span> <span style="color:#2aa198">1</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&amp;&amp;</span> Modifier<span style="color:#719e07">.</span>isPublic<span style="color:#719e07">(</span>method<span style="color:#719e07">.</span>getModifiers<span style="color:#719e07">()))</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Class<span style="color:#719e07">&lt;?&gt;</span> pt <span style="color:#719e07">=</span> method<span style="color:#719e07">.</span>getParameterTypes<span style="color:#719e07">()[</span><span style="color:#2aa198">0</span><span style="color:#719e07">];</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> String property <span style="color:#719e07">=</span> method<span style="color:#719e07">.</span>getName<span style="color:#719e07">().</span>length<span style="color:#719e07">()</span> <span style="color:#719e07">&gt;</span> <span style="color:#2aa198">3</span> <span style="color:#719e07">?</span> method<span style="color:#719e07">.</span>getName<span style="color:#719e07">( [...]
+</span></span><span style="display:flex;"><span> Object object <span style="color:#719e07">=</span> objectFactory<span style="color:#719e07">.</span>getExtension<span style="color:#719e07">(</span>pt<span style="color:#719e07">,</span> property<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>object <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> method<span style="color:#719e07">.</span>invoke<span style="color:#719e07">(</span>instance<span style="color:#719e07">,</span> object<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> instance<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>To accomplish the automatic assembly of dependencies of the extended instances, you first need to know what the dependencies are and what the types of dependencies are. The solution of Dubbo is to find the Java standard setter method. That is, the method name starting with set has only one parameter. If such a set method exists in an extension class, Dubbo injects it into dependencies, which is similar to the injection of Spring&r [...]
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> <span style="color:#268bd2">ExtensionLoader</span><span style="color:#719e07">(</span>Class<span style="color:#719e07">&lt;?&gt;</span> type<span style="color:#719e07">)</span> <span s [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">this</span><span style="color:#719e07">.</span>type <span style="color:#719e07">=</span> type<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> objectFactory <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>type <span style="color:#719e07">==</span> ExtensionFactory<span style="color:#719e07">.</span>class <span style="color:#719e07">?</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">:</span> ExtensionLoader<span style="color:#719e07">.</span>getExtensionLoader<span sty [...]
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>ObjectFacore is also an extension, obtained through <code>ExtensionLoader.getExtensionLoader(ExtensionFactory.class).getAdaptiveExtension()</code>.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubbo-extensionfactory.png" alt="Dubbo-ExtensionFactory" title=""></p>
+<p>ExtensionFactory includes three implementations:</p>
+<ol>
+<li>SpiExtensionFactory: use Dubbo&rsquo;s Spi to load Extension.</li>
+<li>SpringExtensionFactory: load Extension from the Spring container.</li>
+<li>AdaptiveExtensionFactory: adaptive AdaptiveExtensionLoader</li>
+</ol>
+<p>Pay attention to the AdaptiveExtensionLoader here, the source code is as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">@Adaptive</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">AdaptiveExtensionFactory</span> <span style="color:#268bd2">implements</span> ExtensionFactory <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> <span style="color:#268bd2">final</span> List<span style="color:#719e07">&lt;</span>ExtensionFactory<span style="color:#719e07">&gt;</span> factories<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#268bd2">AdaptiveExtensionFactory</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> ExtensionLoader<span style="color:#719e07">&lt;</span>ExtensionFactory<span style="color:#719e07">&gt;</span> loader <span style="color:#719e07">=</span> ExtensionLoader<span style="color:#719e07">.</span>getExtensionLoader<span style="color:#719e07">(</span>ExtensionFactory<span style="color:#719e07">.</span>class<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> List<span style="color:#719e07">&lt;</span>ExtensionFactory<span style="color:#719e07">&gt;</span> list <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> ArrayList<span style="color:#719e07">&lt;</span>ExtensionFactory<span style="color:#719e07">&gt;();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">for</span> <span style="color:#719e07">(</span>String name <span style="color:#719e07">:</span> loader<span style="color:#719e07">.</span>getSupportedExtensions<span style="color:#719e07">())</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> list<span style="color:#719e07">.</span>add<span style="color:#719e07">(</span>loader<span style="color:#719e07">.</span>getExtension<span style="color:#719e07">(</span>name<span style="color:#719e07">));</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> factories <span style="color:#719e07">=</span> Collections<span style="color:#719e07">.</span>unmodifiableList<span style="color:#719e07">(</span>list<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> T <span style="color:#268bd2">getExtension</span><span style="color:#719e07">(</span>Class<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> type<span style="color:#719e07">,</span> String name<span style="color:# [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">for</span> <span style="color:#719e07">(</span>ExtensionFactory factory <span style="color:#719e07">:</span> factories<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> T extension <span style="color:#719e07">=</span> factory<span style="color:#719e07">.</span>getExtension<span style="color:#719e07">(</span>type<span style="color:#719e07">,</span> name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>extension <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> extension<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>The AdaptiveExtensionLoader class has @Adaptive annotations. As mentioned earlier, Dubbo creates an adaptive instance for each extension. If the extension class has @Adaptive annotations, it will use it as an adaptive class. If not, Dubbo will create one for us. So <code>ExtensionLoader.getExtensionLoader(ExtensionFactory.class).getAdaptiveExtension())</code> will return an AdaptiveExtensionLoader instance as an adaptive extensi [...]
+The AdaptiveExtensionLoader will iterate through all the ExtensionFactory implementations and try to load the extensions. If found, return. If not, continue to find it in the next ExtensionFactory. Dubbo has two ExtensionFactory built in, which are searched from Dubbo&rsquo;s own extension mechanism and Spring container. Since ExtensionFactory itself is also an extension point, we can implement our own ExtensionFactory to enable automatic assembly of Dubbo to support our custom compo [...]
+<h2 id="aop-of-dubbo-spi-advanced-usage">AOP of Dubbo SPI advanced usage</h2>
+<p>We often use AOP functionality when using Spring. Insert other logic before and after the method of the target class. For example, Spring AOP is usually used to implement logging, monitoring, and authentication, and so on.
+Does Dubbo&rsquo;s extension mechanism also support similar features? The answer is yes. In Dubbo, there is a special class called the Wrapper class. It uses the wrapper class to wrap the original extension point instance through the decorator pattern, and then inserts additional logic before and after the original extension point implementation to implement AOP functionality.</p>
+<h3 id="what-is-the-wrapper-class">What is the Wrapper class</h3>
+<p>So what kind of class is the Wrapper class in the Dubbo extension mechanism? The Wrapper class is a class that has a replication constructor and also is a typical decorator pattern. Here&rsquo;s a Wrapper class:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">class</span> <span style="color:#268bd2">A</span><span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> A a<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#268bd2">A</span><span style="color:#719e07">(</span>A a<span style="color:#719e07">){</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">this</span><span style="color:#719e07">.</span>a <span style="color:#719e07">=</span> a<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>Class A has a constructor <code>public A(A a)</code>, and the argument to the constructor is A itself. Such a class can be a Wrapper class in the Dubbo extension mechanism. Such Wrapper classes in Dubbo include ProtocolFilterWrapper, ProtocolListenerWrapper, and so on. You can check the source code to deepen your understanding.</p>
+<h3 id="how-to-configure-the-wrapper-class">How to configure the Wrapper class</h3>
+<p>The Wrapper class in Dubbo is also an extension point. Like other extension points, it is also configured in the <code>META-INF</code> folder. For example, the ProtocolFilterWrapper and ProtocolListenerWrapper in the previous example are configured in the path <code>dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.rpc.Protocol</code>:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>filter=org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper
+</span></span><span style="display:flex;"><span>listener=org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper
+</span></span><span style="display:flex;"><span>mock=org.apache.dubbo.rpc.support.MockProtocol
+</span></span></code></pre></div><p>When Dubbo loads the extension configuration file, there is a piece of code as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#719e07">try</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> clazz<span style="color:#719e07">.</span>getConstructor<span style="color:#719e07">(</span>type<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> Set<span style="color:#719e07">&lt;</span>Class<span style="color:#719e07">&lt;?&gt;&gt;</span> wrappers <span style="color:#719e07">=</span> cachedWrapperClasses<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>wrappers <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> cachedWrapperClasses <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> ConcurrentHashSet<span style="color:#719e07">&lt;</span>Class<span style="color:#719e07">&lt;?&gt;&gt;();</span>
+</span></span><span style="display:flex;"><span> wrappers <span style="color:#719e07">=</span> cachedWrapperClasses<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> wrappers<span style="color:#719e07">.</span>add<span style="color:#719e07">(</span>clazz<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span> <span style="color:#719e07">catch</span> <span style="color:#719e07">(</span>NoSuchMethodException e<span style="color:#719e07">)</span> <span style="color:#719e07">{}</span>
+</span></span></code></pre></div><p>The meaning of this code is that if the extension class has a copy constructor, it will be saved for later use. The class that has the copy constructor is the Wrapper class. The parameter obtained by <code>clazz.getConstructor(type)</code> is the constructor of the extension point interface. Note that the parameter type of the constructor is an extension point interface, not an extension class.
+Take Protocol as an example. The configuration file <code>dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.rpc.Protocol defines filter=org.apache.dubbo.rpc.protocol. ProtocolFilterWrapper</code>.
+The code of ProtocolFilterWrapper is as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">ProtocolFilterWrapper</span> <span style="color:#268bd2">implements</span> Protocol <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> <span style="color:#268bd2">final</span> Protocol protocol<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">// One parameter is the copy constructor of Protocol
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span> <span style="color:#268bd2">public</span> <span style="color:#268bd2">ProtocolFilterWrapper</span><span style="color:#719e07">(</span>Protocol protocol<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>protocol <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalArgumentException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;protocol == null&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">this</span><span style="color:#719e07">.</span>protocol <span style="color:#719e07">=</span> protocol<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>ProtocolFilterWrapper has a constructor <code>public ProtocolFilterWrapper(Protocol protocol)</code>, and the parameter is the extension point Protocol. So it is a Wrapper class in the Dubbo extension mechanism. The ExtensionLoader will cache it. When creating Extension instances later, the ExtensionLoader use these wrapper classes to wrap the original Extension point in turn.</p>
+<h2 id="extension-point-adaptive">Extension point adaptive</h2>
+<p>As mentioned earlier, Dubbo needs to determine which extension to use based on method parameters at runtime. So there is an extension point adaptive instance. In fact, it is an extension point proxy that delays the selection of extensions from starting Dubbo to calling RPC. Each extension point in Dubbo has an adaptive class. If it is not explicitly provided, Dubbo will automatically create one for us. By default, Javaassist is used.
+Let&rsquo;s first look at the code to create an adaptive extension class:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> T <span style="color:#268bd2">getAdaptiveExtension</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Object instance <span style="color:#719e07">=</span> cachedAdaptiveInstance<span style="color:#719e07">.</span>get<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>instance <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">synchronized</span> <span style="color:#719e07">(</span>cachedAdaptiveInstance<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> instance <span style="color:#719e07">=</span> cachedAdaptiveInstance<span style="color:#719e07">.</span>get<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>instance <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> instance <span style="color:#719e07">=</span> createAdaptiveExtension<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> cachedAdaptiveInstance<span style="color:#719e07">.</span>set<span style="color:#719e07">(</span>instance<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#719e07">(</span>T<span style="color:#719e07">)</span> instance<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>Continue to read the createAdaptiveExtension method:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> T <span style="color:#268bd2">createAdaptiveExtension</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> injectExtension<span style="color:#719e07">((</span>T<span style="color:#719e07">)</span> getAdaptiveExtensionClass<span style="color:#719e07">().</span>newInstance<span style="color:#719e07">());</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>Continue to read the getAdaptiveExtensionClass method:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> Class<span style="color:#719e07">&lt;?&gt;</span> getAdaptiveExtensionClass<span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> getExtensionClasses<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>cachedAdaptiveClass <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> cachedAdaptiveClass<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> cachedAdaptiveClass <span style="color:#719e07">=</span> createAdaptiveExtensionClass<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>Continue to read the createAdaptiveExtensionClass method. After a long journey, we finally come to a concrete realization. Look at this createAdaptiveExtensionClass method, which first generates the Java source code for the adaptive class, and then compile the source code into Java bytecode and load it into the JVM.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">private</span> Class<span style="color:#719e07">&lt;?&gt;</span> createAdaptiveExtensionClass<span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> String code <span style="color:#719e07">=</span> createAdaptiveExtensionClassCode<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> ClassLoader classLoader <span style="color:#719e07">=</span> findClassLoader<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>common<span style="color:#719e07">.</span>compiler<span style="color:#719e07">.</span>Compiler compiler <span style="color:#719e07">=</span> ExtensionLoader<span style="color:#719e07">.</span>getExtensionLoader<span style="color:#719e07">(</span>org<span sty [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> compiler<span style="color:#719e07">.</span>compile<span style="color:#719e07">(</span>code<span style="color:#719e07">,</span> classLoader<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>The default implementation of Compiler&rsquo;s code is javassist.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">@SPI</span><span style="color:#719e07">(</span><span style="color:#2aa198">&#34;javassist&#34;</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">Compiler</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Class<span style="color:#719e07">&lt;?&gt;</span> compile<span style="color:#719e07">(</span>String code<span style="color:#719e07">,</span> ClassLoader classLoader<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>The createAdaptiveExtensionClassCode () method uses a StringBuilder to build Java source code for the adaptive class. The method implementation is relatively long, and the code is not posted here. The approach to bytecode generation is also interesting, first generating Java source code, then compiling it and loading it into the jvm. In this way, the generated Java class can be better controlled. And it doesn&rsquo;t have to care [...]
+Below are the Java code example for Protocol adaptive class created by createAdaptiveExtensionClassCode method:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#719e07">package</span> org.apache.dubbo.rpc<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">import</span> org.apache.dubbo.common.extension.ExtensionLoader<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">Protocol$Adaptive</span> <span style="color:#268bd2">implements</span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rpc<span style="color:#719e07">.</span>Protocol <span style="color:#719e07">{ [...]
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">destroy</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> UnsupportedOperationException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;method public abstract void org.apache.dubbo.rpc.Protocol.destroy() of interface org.apache.dubbo.rpc.Protocol is not adaptive method!&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">int</span> <span style="color:#268bd2">getDefaultPort</span><span style="color:#719e07">()</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> UnsupportedOperationException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;method public abstract int org.apache.dubbo.rpc.Protocol.getDefaultPort() of interface org.apache.dubbo.rpc.Protocol is not adaptive method!&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rpc<span style="color:#719e07">.</span>Exporter <span style="color:#268bd2">export</span><span style="color:#719e07">(</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo&l [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>arg0 <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalArgumentException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;org.apache [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>arg0<span style="color:#719e07">.</span>getUrl<span style="color:#719e07">()</span> <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalArgumentException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;org.apache.dubbo.rpc.Invoker argument getUrl() == null&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>common<span style="color:#719e07">.</span>URL url <span style="color:#719e07">=</span> arg0<span style="color:#719e07">.</span>getUrl<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> String extName <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>url<span style="color:#719e07">.</span>getProtocol<span style="color:#719e07">()</span> <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">?</span> <span style="color:#2aa198">&#34;dubbo&#34;</span> <span style="color:#719e07">:& [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>extName <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalStateException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Fail to get extension(org.apache.dubbo.rpc.Protocol) name from url(&#34;</span> <span style="color:#719e07">+</span> url<span style="color:#719e07">.</span>toString<span style="color:#719e07">()</span> <span [...]
+</span></span><span style="display:flex;"><span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rpc<span style="color:#719e07">.</span>Protocol extension <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rp [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> extension<span style="color:#719e07">.</span>export<span style="color:#719e07">(</span>arg0<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rpc<span style="color:#719e07">.</span>Invoker <span style="color:#268bd2">refer</span><span style="color:#719e07">(</span>java<span style="color:#719e07">.</span>lang<span style="color:#719e07">.</span>Class arg0 [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>arg1 <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalArgumentException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;url == nul [...]
+</span></span><span style="display:flex;"><span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>common<span style="color:#719e07">.</span>URL url <span style="color:#719e07">=</span> arg1<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> String extName <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>url<span style="color:#719e07">.</span>getProtocol<span style="color:#719e07">()</span> <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">?</span> <span style="color:#2aa198">&#34;dubbo&#34;</span> <span style="color:#719e07">:& [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">if</span> <span style="color:#719e07">(</span>extName <span style="color:#719e07">==</span> <span style="color:#cb4b16">null</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">throw</span> <span style="color:#719e07">new</span> IllegalStateException<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Fail to get extension(org.apache.dubbo.rpc.Protocol) name from url(&#34;</span> <span style="color:#719e07">+</span> url<span style="color:#719e07">.</span>toString<span style="color:#719e07">()</span> <span [...]
+</span></span><span style="display:flex;"><span> org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rpc<span style="color:#719e07">.</span>Protocol extension <span style="color:#719e07">=</span> <span style="color:#719e07">(</span>org<span style="color:#719e07">.</span>apache<span style="color:#719e07">.</span>dubbo<span style="color:#719e07">.</span>rp [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> extension<span style="color:#719e07">.</span>refer<span style="color:#719e07">(</span>arg0<span style="color:#719e07">,</span> arg1<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>The general logic is the same as at the beginning. The parameters are parsed through the url, and the parsed logic is controlled by the value parameter of @adaptive, and then the extension points implementation are obtained according to the name of the extension point. And then finally make the call. If you want to know the specific construction logic of .Java code, you can see the complete implementation of <code>createAdaptiveExt [...]
+In the generated Protocol$Adaptive, both the getDefaultPort and destroy methods are found to throw the exception directly. Why? Take a look at the source code of Protocol:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">@SPI</span><span style="color:#719e07">(</span><span style="color:#2aa198">&#34;dubbo&#34;</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">Protocol</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#dc322f">int</span> <span style="color:#268bd2">getDefaultPort</span><span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Adaptive</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> Exporter<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">export</span><span style="color:#719e07">(</span>Invoker<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> invoker<span style="colo [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Adaptive</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> Invoker<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">refer</span><span style="color:#719e07">(</span>Class<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> type<span style="color:#719e [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">destroy</span><span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>As you can see, there are four methods in the Protocol interface, but only the methods of export and refer use the @Adaptive annotation. Dubbo automatically generates adaptive instances, and only the methods modified by @Adaptive has a specific implementation. Therefore, in the Protocol$Adaptive class, only the export and refer methods have specific implementations, and the rest of the methods throw exceptions.</p></description></i [...]
+<h2 id="1-extension-mechanism-of-dubbo">1. Extension Mechanism of Dubbo</h2>
+<p>Dubbo is claimed as a high-performance RPC framework on its official website. Today, I want to talk about another great specialty of Dubbo &mdash; its scalability. As quote: Rome wasn’t built in a day. Any successful system always starts as a prototype. It is impossible to design a perfect system at the beginning. Instead, we should focus on true demand and keep improving the system. On the coding side, it requires us to pay attention on abstraction layers and high-level isolat [...]
+When talking about software design, people always mention scalability. A framework with good scalability requires the following:
+1.The framework should follow opening/closed principle: software entities should be open for extension, but closed for modification; This means a framework should allow the maintainer to add new functions with as few modifications as possible.
+2.The framework should allow the user to add new functions by adding code on his project without modifying the framework&rsquo;s original source code base.
+With microkernel architecture and extension mechanism, Dubbo satisfies such requirements and achieves good scalability. In the following chapters, we will discuss Dubbo&rsquo;s extension mechanism in detail.</p>
+<h2 id="2extension-solutions">2.Extension Solutions</h2>
+<p>Creating Extensible applications usually considers:</p>
+<ul>
+<li>Factory method pattern</li>
+<li>IoC container</li>
+<li>OSGi (Open Services Gateway initiative)</li>
+</ul>
+<p>As a framework, Dubbo does not wish to rely on other IoC containers such as Spring, Guice. OSGi is too complicated to fit Dubbo. In the end, Dubbo SPI is inherited from standard JDK SPI and makes it more powerful.</p>
+<h2 id="3java-spi-mechanism">3.Java SPI Mechanism</h2>
+<p>We will first discuss Java SPI mechanism, which is a basis for understanding Dubbo’s extension mechanism. If you are familiar with Java SPI, you can skip this part.</p>
+<p>Java SPI (Service Provider Interface) is a feature for discovering and loading implementations matching a given interface provided in JDK. We can create a text file with the same name as the interface under resource directory <code>META-INF/services</code>. The content of the file is the fully qualified class name of the SPI implementation, in which each component is separated by a line breaker. JDK uses <code>java.util.ServiceLoader</code> to load implementations of a [...]
+<ol>
+<li>Define an interface IRepository to store data.</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">IRepository</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">save</span><span style="color:#719e07">(</span>String data<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>Create 2 implementations for IRepository: MysqlRepository and MongoRepository</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">MysqlRepository</span> <span style="color:#268bd2">implements</span> IRepository <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">save</span><span style="color:#719e07">(</span>String data<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Save &#34;</span> <span style="color:#719e07">+</span> data <span style="color:#719e07">+</span> <span style="color:#2aa198">&#34; to Mysql&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">MongoRepository</span> <span style="color:#268bd2">implements</span> IRepository < [...]
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">save</span><span style="color:#719e07">(</span>String data<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Save &#34;</span> <span style="color:#719e07">+</span> data <span style="color:#719e07">+</span> <span style="color:#2aa198">&#34; to Mongo&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><ol start="3">
+<li>Create a configuration file under <code>META-INF/services</code>.</li>
+</ol>
+<p>The file name is <code>META-INF/services/com.demo.IRepository</code>, the content of file is:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>com.demo.MongoRepository
+</span></span><span style="display:flex;"><span>com.demo.MysqlRepository
+</span></span></code></pre></div><ol start="4">
+<li>Load IRepository using ServiceLoader</li>
+</ol>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span>ServiceLoader<span style="color:#719e07">&lt;</span>IRepository<span style="color:#719e07">&gt;</span> serviceLoader <span style="color:#719e07">=</span> ServiceLoader<span style="color:#719e07">.</span>load<span style="color:#719e07 [...]
+</span></span><span style="display:flex;"><span>Iterator<span style="color:#719e07">&lt;</span>IRepository<span style="color:#719e07">&gt;</span> it <span style="color:#719e07">=</span> serviceLoader<span style="color:#719e07">.</span>iterator<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">while</span> <span style="color:#719e07">(</span>it <span style="color:#719e07">!=</span> <span style="color:#cb4b16">null</span> <span style="color:#719e07">&amp;&amp;</span> it<span style="color:#719e07">.</span>hasNext<span style="color:#719e07">()){</span>
+</span></span><span style="display:flex;"><span> IRepository demoService <span style="color:#719e07">=</span> it<span style="color:#719e07">.</span>next<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;class:&#34;</span> <span style="color:#719e07">+</span> demoService<span style="color:#719e07">.</span>getClass<span style="color:#719e07">().</span>getName<span style="color:#719e07">());</span>
+</span></span><span style="display:flex;"><span> demoService<span style="color:#719e07">.</span>save<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;tom&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>In the above example, we created an extension and two of its applications. We created the configuration file in ClassPath and loaded the extensions using ServiceLoader. The final output is:
+class:testDubbo.MongoRepository
+Save tom to Mongo
+class:testDubbo.MysqlRepository
+Save tom to Mysql</p>
+<h2 id="4-dubbo-spi-mechanism">4. Dubbo SPI Mechanism</h2>
+<p>Java SPI is simple to use. It also supports basic extension point functions, however, it has some disadvantages:</p>
+<ul>
+<li>It will load and instantiate all implementations at once to find the requested implementation.</li>
+<li>The configuration file only includes the extension implementation but does not name them, which makes it hard to reference them in applications.</li>
+<li>If extensions depend on other extensions, Java SPI cannot automatically load the dependency SPI.</li>
+<li>It does not provide functions such as IOC or AOP in Spring.</li>
+<li>It is hard to assemble extensions with other frameworks. For example, if the extension depends on Spring bean, the original Java SPI will not support it.</li>
+</ul>
+<p>Therefore, Java SPI is good for some simple scenarios, but does not fit for Dubbo. Dubbo makes some extensions on the original SPI mechanism. We will discuss more about the Dubbo SPI mechanism in the following sections.</p>
+<h2 id="5-basic-concepts-for-dubbo-extension-point-mechanism">5. Basic Concepts for Dubbo Extension Point Mechanism</h2>
+<p>Before diving into Dubbo&rsquo;s extension mechanism,Let us first declare some basic concepts in Dubbo SPI. Those terms will appear multiple times in the following section.</p>
+<h3 id="51-extension-point">5.1 Extension Point</h3>
+<p>an interface of java.</p>
+<h3 id="52-extension">5.2 Extension</h3>
+<p>an implementation class of the Extension Point</p>
+<h3 id="53-extension-instance">5.3 Extension Instance</h3>
+<p>instance of an extension point implementation class</p>
+<h3 id="54-extension-adaptive-instance">5.4 Extension Adaptive Instance</h3>
+<p>Maybe it is a little difficult to understand this concept when hearing about it the first time. It may help you understand it better by calling it an extension proxy class. The extension adaptive instance is actually an extension proxy, which implements the method of extension point interface. When calling the interface method of the extension point, it will decide which extension to use according to the actual parameters. For example, the extension point of an IRepository has one [...]
+<ul>
+<li>There are two configurations in Dubbo, one is a fixed system-level configuration and it will not be changed after Dubbo launches. Another is the run-time configuration that may be different for each RPC. For instance, the timeout is configured as 10 seconds in the xml file, which will not change after Dubbo launches. However, for a certain PRC call, we can set its timeout to 30 seconds so as to override the system-level configuration. For Dubbo, the parameters called in each RPC i [...]
+<li>Our class is usually singleton-scaled, such as beans of Spring IoC Container. When instantiating beans, if it depends on some specific extension point, it will know which extension to use, otherwise, the bean will not know how to choose extensions. At this time, a proxy mode is needed, which implements the interface of an extension point. The method can dynamically select the appropriate extension according to the run-time parameters, and this proxy is an adaptive instance. Adapti [...]
+</ul>
+<h3 id="55-spi">5.5 @SPI</h3>
+<p>@SPI annotation works on the interface of the extension point, which indicates that the interface is an extension point, and can be loaded by Dubbo ExtensionLoader. If there is no such ExtentionLoader, the call will throw an exception.</p>
+<h3 id="56-adaptive">5.6 @Adaptive</h3>
+<p>@Adaptive annotation is used on the method that extends the interface, which indicates an adaptive method. When Dubbo generates an adaptive instance for an extension point, if the function has @Adaptive annotation, then Dubbo will generate the corresponding code for the method. The method determines which extension to use according to the parameters. When @Adaptive annotation is used on the class to implement a Decorator class, it is similar to the Decorator pattern, whose major fu [...]
+<h3 id="57-extensionloader">5.7 ExtensionLoader</h3>
+<p>Similar to the Java SPI ServiceLoader, it is responsible for loading extensions and life-cycle maintenance.</p>
+<h3 id="58-extension-alias">5.8 Extension Alias</h3>
+<p>Different from Java, each extension in Dubbo has an alias, which is used to reference them in the application, such as</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#268bd2">random</span><span style="color:#719e07">=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">roundrobin</span><span style="color:#719e07">=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance
+</span></span></code></pre></div><p>where random, roundrobin are alias of the corresponding extensions, and we can directly use them in the configuration file.</p>
+<h3 id="59-paths">5.9 Paths</h3>
+<p>Similar to the way Java SPI loading the extension configuration from the <code>META-INF/services</code> directory, Dubbo will also load the extension configuration file from the following path:</p>
+<ul>
+<li><code>META-INF/dubbo/internal</code></li>
+<li><code>META-INF/dubbo</code></li>
+<li><code>META-INF/services</code></li>
+</ul>
+<h2 id="6-interpretation-for-dubbos-loadbalance-extension-point">6. Interpretation for Dubbo&rsquo;s LoadBalance Extension Point</h2>
+<p>Now that we know some basic idea about Dubbo, let us check a practical extension point in Dubbo to get some intuition.</p>
+<p>We take the Dubbo’s LoadBalance extension point as an example. A service in Dubbo usually has multiple providers. When a consumer calls the service, he needs to choose one of the providers. This is an example of LoadBalance. Now, let us figure out how LoadBalance becomes an extension point in Dubbo.</p>
+<h3 id="61-loadbalance-interfance">6.1 LoadBalance Interfance</h3>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">@SPI</span><span style="color:#719e07">(</span>RandomLoadBalance<span style="color:#719e07">.</span>NAME<span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">LoadBalance</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Adaptive</span><span style="color:#719e07">(</span><span style="color:#2aa198">&#34;loadbalance&#34;</span><span style="color:#719e07">)</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> Invoker<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">select</span><span style="color:#719e07">(</span>List<span style="color:#719e07">&lt;</span>Invoker<span style="color:#719e07">&lt;</span>T<span style="color:#71 [...]
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>LoadBalance interface has only one select method. Select method chose one invoker among multiple invokers. In the code above, the elements related to Dubbo SPI are:</p>
+<ul>
+<li>@SPI(RandomLoadBalance.NAME) @SPI is used for LoadBalance interface, which indicates that the LoadBalance interface is an extension point. Without the @SPI annotation, if we try to load the extension, it will throw an exception. @SPI annotation has one parameter, and this parameter represents the Alias of the default implementation of the extension point. If there has no explicitly specified extension, the default implementation will be used.
+<code>RandomLoadBalance.NAME</code> is a constant with value “random” and is a random load balancing implementation. The definition of random is in the configuration file <code>META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.LoadBalance</code>:</li>
+</ul>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#268bd2">random</span><span style="color:#719e07">=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">roundrobin</span><span style="color:#719e07">=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">leastactive</span><span style="color:#719e07">=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">consistenthash</span><span style="color:#719e07">=</span>com.alibaba.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalance
+</span></span></code></pre></div><p>There are four extension implementations of LoadBalance defined in the configuration file. The implementation of load balancing will not be covered in this article. The only thing we need to know is that Dubbo provides four kinds of load balancing implementations. We can explicitly specify an implementation by using xml file, properties file or JVM parameter. If there has no explicitly specified implementation, Dubbo will use random a [...]
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubbo_loadbalance.png" alt=""></p>
+<ul>
+<li>@Adaptive(&ldquo;loadbalance&rdquo;) Applying @Adaptive annotation on select method indicates that select method is an adaptive method. Dubbo will automatically generate the corresponding code for the method. When select method is called, it will decide which extension to apply based on the method parameters. @Adaptive parameter <code>loadbalance</code> indicates that the value of loadbalance in method is the extension implementation that will be actually called. How [...]
+</ul>
+<h3 id="62-obtain-loadbalance-extension">6.2 Obtain LoadBalance extension</h3>
+<p>The code of LoadBalance in Dubbo is as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span>LoadBalance lb <span style="color:#719e07">=</span> ExtensionLoader<span style="color:#719e07">.</span>getExtensionLoader<span style="color:#719e07">(</span>LoadBalance<span style="color:#719e07">.</span>class<span style="color:#719e07">).&l [...]
+</span></span></code></pre></div><p>Using ExtensionLoader.getExtensionLoader(LoadBalance.class) method to obtain an implementation of ExtensionLoader, then we call getExtension and pass an extension alias to obtain the corresponding extension implementation.</p>
+<h2 id="7-customize-a-loadbalance-extension">7. Customize a LoadBalance Extension</h2>
+<p>In this session, we will use a simple example to implement a LoadBalance and integrate it into Dubbo. I will show some important steps and codes, and the complete demo can be downloaded from the following address(<a href="https://github.com/vangoleo/dubbo-spi-demo">https://github.com/vangoleo/dubbo-spi-demo</a>).</p>
+<h3 id="71-implement-loadbalance-interface">7.1 implement LoadBalance Interface</h3>
+<p>First, we build a LoadBalance instance. Since we just need the instance to demonstrate Dubbo extension mechanism, it will be very simple. We choose the first invoker and print a log sentence in the console.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#719e07">package</span> com.dubbo.spi.demo.consumer<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">DemoLoadBalance</span> <span style="color:#268bd2">implements</span> LoadBalance <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> Invoker<span style="color:#719e07">&lt;</span>T<span style="color:#719e07">&gt;</span> <span style="color:#268bd2">select</span><span style="color:#719e07">(</span>List<span style="color:#719e07">&lt;</span>Invoker<span style="color:#719e [...]
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;DemoLoadBalance: Select the first invoker...&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> invokers<span style="color:#719e07">.</span>get<span style="color:#719e07">(</span><span style="color:#2aa198">0</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><h3 id="72-add-extension-configuration-file">7.2 Add extension configuration file</h3>
+<p>Add file:<code>META-INF/dubbo/com.alibaba.dubbo.rpc.cluster.LoadBalance</code>. The content of file is:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#268bd2">demo</span><span style="color:#719e07">=</span>com.dubbo.spi.demo.consumer.DemoLoadBalance
+</span></span></code></pre></div><h3 id="73-configure-customized-loadbalance">7.3 Configure customized LoadBalance</h3>
+<p>Through the above 2 steps, we have already added a LoadBalance implementation named demo, and set up the configuration file. In the next step, we need to explicitly tell Dubbo to implement the demo while doing load balancing. If we use Dubbo through spring, we could set it up in the xml file.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#268bd2">&lt;dubbo:reference</span> id=<span style="color:#2aa198">&#34;helloService&#34;</span> interface=<span style="color:#2aa198">&#34;com.dubbo.spi.demo.api.IHelloService&#34;</span> loadbalance=<span sty [...]
+</span></span></code></pre></div><p>Configure &lt;loadbalance=&ldquo;demo&rdquo;&gt; in <a href="dubbo:reference">dubbo:reference</a> at consumer part.</p>
+<h3 id="74-launch-dubbo">7.4 launch Dubbo</h3>
+<p>Launch Dubbo and call IHelloService, the console will output log: <code>DemoLoadBalance: Select the first invoker...</code>, which means Dubbo does use our customized LoadBalance.</p>
+<h2 id="summary">Summary</h2>
+<p>So far, we learnt the basic concepts of Dubbo SPI beginning with Java SPI, and we used LoadBalance in Dubbo as an example to help us understand better. Finally, we practiced and created a customized LoadBalance and integrated it to Dubbo. We believe that combining concepts and practice, everyone can get a better idea of Dubbo’s scalability. To summarize, Dubbo SPI has the following features:</p>
+<ul>
+<li>Build extensions on Dubbo does not require modifications on the original source code base.</li>
+<li>The customized Dubbo extension point implementation is a normal Java class. Dubbo does not introduce any specialized elements, and have almost zero code intrusion.
+*Extension registration on Dubbo requires only configuration file under the ClassPath directory. It is simple to use and has no effect on the existing code. This meets opening/closed principle.</li>
+<li>Dubbo&rsquo;s extension mechanism default: @SPI(&ldquo;dubbo&rdquo;) represents the default SPI object.</li>
+<li>Dubbo&rsquo;s extension mechanism supports the advanced features such as IoC and AoP, etc.</li>
+<li>Dubbo&rsquo;s extension mechanism supports third-party IoC containers. It supports Spring beans by default and can be extended to other containers, such as Google/Guice.</li>
+<li>It is easy to switch the implementation of the extension point because it requires only modifications on the specific implementation in the configuration file without changing the code.</li>
+</ul>
+<p>In the next article, we will go deep and check Dubbo&rsquo;s source code to learn more about Dubbo&rsquo;s extensibility mechanism.</p></description></item><item><title>Blog: Implementation background and practice of Dubbo client asynchronous interface</title><link>https://cn.dubbo.apache.org/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-client-asynchronous-interface/</link><pubDate>Wed, 20 Feb 2019 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apac [...]
+<h2 id="preface">Preface</h2>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubboasyn_client/1_en.png" alt="image | left"></p>
+<p>Let&rsquo;s start with a brief introduction about the stages of a complete Dubbo invocation.</p>
+<ol>
+<li>
+<p>Biz~ represents business thread, that is, the thread where the business logic is located. Biz~ thread pool may be created and maintained by business itself, most of which may be managed by system framework itself (for example, a web system runs under Tomcat container, Biz~ thread is maintained by Tomcat); IO~ stands for network data processing thread, which is created and maintained by IO framework (such as Netty, Grizzly). Dubbo Remoting&rsquo;s default Netty implementation is [...]
+</li>
+<li>
+<p>As we all know, the way of data communication between threads is shared variables. The data communication between Biz and IO is Queue. Specifically to Dubbo, Biz put a task in EventLoop&rsquo;s LinkedBlockingQueue in the client side implementation (i.e. the steps labeled in Figure 1 above), and the corresponding Thread in the EventLoop will keep iteration the Queue to keep on executing the information the task contains. Specific code can refer to SingleThreadEventExecutor (by t [...]
+</li>
+<li>
+<p>As shown in the figure above, a standard RPC call passes through four message (event) transfers of 1,2,3,4, respectively are the client business thread sending requests to the client IO thread, the server business logic thread receiving the server IO thread requests, the server logic thread responding to the server IO thread after processing, and the client IO thread receiving the results feedback to the business logic thread.</p>
+</li>
+</ol>
+<h2 id="client-asynchronization">Client Asynchronization</h2>
+<h3 id="background">Background</h3>
+<p>In the Java language (other languages are not clear), a call of the local interface can be transparently converted into the call of remote RPC through the proxy mechanism. Most business parties prefer this programming method similar to the local interface to do remote service invocation. Therefore, although RPC is naturally asynchronous internally, users using Dubbo mostly use synchronization, while asynchrony becomes a minority use scenario. The advantage of synchronization is tha [...]
+<p>Therefore, the motivation of client asynchronization is to save thread resource overhead at the cost of understanding how asynchronization is used. In the synchronous mode, the return type of API interface represents a certain business class, while in the asynchronous case, the response and the request are completely independent events, so it is most suitable for the return type of API interface to be CompletionStage mentioned above, which is the inevitable asynchronization support [...]
+<p>The example blow is to illustrate it.</p>
+<h3 id="the-sample">The sample</h3>
+<p>Refer to the example code for event notification: <a href="https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-notify">https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-notify</a></p>
+<p>Event notification allows the Consumer to trigger &lsquo;oninvoke&rsquo;, &lsquo;onreturn&rsquo; and &lsquo;onthrow&rsquo; events, which respectively represent before the call, after the call returns normally, or when an exception occurs.</p>
+<p>You can specify a method for notifying events when configuring the Consumer, such as:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#268bd2">&lt;bean</span> id=<span style="color:#2aa198">&#34;demoCallback&#34;</span> class=<span style="color:#2aa198">&#34;com.alibaba.dubbo.samples.notify.impl.NotifyImpl&#34;</span> <span style="color:#268b [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;dubbo:reference</span> id=<span style="color:#2aa198">&#34;demoService&#34;</span> check=<span style="color:#2aa198">&#34;false&#34;</span> interface=<span style="color:#2aa198">&#34;com.alibaba.dubbo.samples.notify.api.DemoService&#34;</span> version=<span style="color:#2aa198">&#34;1.0.0&#34;</span> group=<span style="color:#2a [...]
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:method</span> name=<span style="color:#2aa198">&#34;sayHello&#34;</span> onreturn=<span style="color:#2aa198">&#34;demoCallback.onreturn&#34;</span> onthrow=<span style="color:#2aa198">&#34;demoCallback.onthrow&#34;</span><span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;/dubbo:reference&gt;</span>
+</span></span></code></pre></div><p>The code for NotifyImpl is as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">NotifyImpl</span> <span style="color:#268bd2">implements</span> Notify<span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> Map<span style="color:#719e07">&lt;</span>Integer<span style="color:#719e07">,</span> String<span style="color:#719e07">&gt;</span> ret <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> HashMap<span style="color:#719e07">&lt;</span>Integer<span style="color:#719e07">,</span> String<span style="color [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">onreturn</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> id<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> ret<span style="color:#719e07">.</span>put<span style="color:#719e07">(</span>id<span style="color:#719e07">,</span> name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;onreturn: &#34;</span> <span style="color:#719e07">+</span> name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">onthrow</span><span style="color:#719e07">(</span>Throwable ex<span style="color:#719e07">,</span> String name<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> id<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;onthrow: &#34;</span> <span style="color:#719e07">+</span> name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>It is important to note that the parameters for the three methods in the custom Notify interface are as follows:</p>
+<ul>
+<li><code>oninvoke</code> The parameters of the method are the same as those of the calling method.</li>
+<li><code>onreturn</code> The first parameter of the method is the return value of the calling method, and the rest is the parameters of the calling method.</li>
+<li><code>onthrow</code> The first parameter to the method is the call exception, and the rest is the parameter to the calling method.</li>
+</ul>
+<p>In the above configuration, the <code>sayHello</code> method is called synchronously, so the execution of the event notification method is also synchronously executed. <code>async=true</code> can be configured to make the method call asynchronous, and the notification event method is also executed asynchronously. In particular, the <code>oninvoke</code> method executes synchronously, regardless of whether it is invoked asynchronously or not.</p>
+<h3 id="practical-advice">Practical advice</h3>
+<ul>
+<li>
+<div data-type="alignment" data-value="justify" style="text-align:justify">
+<div data-type="p">Logical Non-Strongly dependent results after RPC invocation: Asynchronous callbacks are suitable for client-side asynchronous invocation when the client <strong>is not strongly dependent on the server response</strong>.</div>
+</div>
+</li>
+<li>
+<div data-type="alignment" data-value="justify" style="text-align:justify">
+<div data-type="p">RX scenario: after learning about reactive programming model, I believe that as long as the programming thinking can embrace reactive and the state machine design of business model can be adjusted appropriately, asynchronous solutions can be applied in all scenarios, so as to achieve better terminal response experience. For Dubbo, the current asynchronous interface model needs to be improved like the reactive model interface in order to make the user more naturally [...]
+</div>
+</li>
+</ul>
+<h3 id="conclusions">Conclusions</h3>
+<ul>
+<li>The motivation of client asynchronization is that the request sending and response processing are two different independent events, how the response is handled and in which thread is handled are not required to be coupled with the business logic thread of the request sending event.</li>
+<li>The processing logic of response event callbacks in which thread to process is to be selected according to the situation. It is recommended that if the callback logic is relatively simple, it should be directly in the IO thread; if it contains IO type synchronization operations such as remote access or DB access, it is recommended that it be processed in a separate thread pool.</li>
+</ul></description></item><item><title>Blog: Implementation background and practice of Dubbo server asynchronous interface</title><link>https://cn.dubbo.apache.org/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-server-asynchronous-interface/</link><pubDate>Wed, 20 Feb 2019 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-server-asynchronous-interface/</guid><description>
+<h2 id="preface">Preface</h2>
+<p>It is suggested to make an understanding of the thread phase involved in the process of Dubbo first, please refer to <a href="https://cn.dubbo.apache.org/en/blog/2019/02/20/implementation-background-and-practice-of-dubbo-client-asynchronous-interface/">Implementation background and practice of Dubbo client asynchronous interface</a> for details.</p>
+<h2 id="implementation-background">Implementation background</h2>
+<p>It is necessary to introduce the server-side thread strategy in more detail to deepen the user&rsquo;s judgment basis for selecting server-side asynchrony. It is also necessary to introduce coroutines, the &ldquo;secret weapon&rdquo; often used in server-side asynchrony.</p>
+<h3 id="server-side-thread-strategy">Server-side thread strategy</h3>
+<p>Dubbo supports a variety of NIO frameworks to implement remoting protocols. Whether Netty, Mina or Grizzly, the implementations are much the same. They are all based on event-driven methods to establish network channels and read data streams. Taking introduction to <a href="https://javaee.github.io/grizzly/iostrategies.html">Thread Strategy</a> of Grizzly as an example, the following four categories are usually supported. Dubbo as an RPC framework, the default choice is the f [...]
+<ol>
+<li><strong>Worker-thread Strategy</strong></li>
+</ol>
+<p>The most useful IOStrategy, where Selector thread delegates NIO events processing to a worker threads.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubboasyn_server/1.png" alt="workerthread-strategy.png"></p>
+<p>This IOStrategy is very scalable and safe. We can change the size of selector and worker thread pool as required and there is no risk that some problem, which may occur during the specific NIO event processing, will impact other Channels registered on the same Selector.</p>
+<p>The disadvantage is the cost of thread context switching.</p>
+<ol start="2">
+<li><strong>Same-thread Strategy</strong></li>
+</ol>
+<p>Potentially the most efficient IOStrategy. Unlike the worker-thread IOStrategy, the same-thread IOStrategy processes NIO events in the current thread, avoiding expensive thread context switches.</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubboasyn_server/2.png" alt="samethread-strategy.png"></p>
+<p>This IOStrategy is still pretty scalable, because we can tune the selector thread pool size, but it does have drawbacks. Care needs to be taken that channel NIO event processing won’t block or execute any long lasting operation, because it may block the processing of other NIO events that occur on the same Selector.</p>
+<ol start="3">
+<li><strong>Dynamic Strategy</strong></li>
+</ol>
+<p>As mentioned previously worker-thread and same-thread strategies have distinct advantages and disadvantages. However, what if a strategy could try to swap them smartly during runtime depending on the current conditions (load, gathered statistics… etc)?</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubboasyn_server/3.png" alt="dynamic-strategy.png"></p>
+<p>Potentially this IOStrategy could bring a lot of benefit and allow finer control of the resources. However, it’s important to not overload the condition evaluation logic, as its complexity will make this IOStrategy inefficient comparing to previous two strategies.</p>
+<p>By the way, I want you to pay more attention to this strategy, which is probably the best combination of Dubbo server asynchrony.</p>
+<ol start="4">
+<li><strong>Leader-follower Strategy</strong></li>
+</ol>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubboasyn_server/4.png" alt="leaderfollower-strategy.png"></p>
+<p>This IOStrategy is similar to worker-thread IOStrategy, but instead of passing NIO event processing to a worker thread, it changes worker thread to a selector thread by passing it the control over Selector and the actual NIO event processing takes place in the current thread. This strategy actually confuses worker and IO thread stages, which is not recommended.</p>
+<h3 id="coroutine-and-thread">Coroutine and thread</h3>
+<p>In terms of CPU resource management, the minimum scheduling unit of OS and JVM is thread. The coroutine library implemented by business application through extension can have independent running unit. In fact, it is also done based on thread. The principle should be to save the context and switch to another coroutine when IO blocking or lock waiting is encountered.</p>
+<p><strong>In the default Dubbo thread strategy, there are worker thread pools to execute the business logic, but the ThreadPool Full problem often occurs. In order to release worker threads as soon as possible, another thread will be set up in the implementation of the business service. The cost is thread context switching again, and it&rsquo;s necessary to consider link-level data transfer (such as tracing information) and flow-control export controls, etc. Of course, if Dubb [...]
+<h2 id="the-sample">The sample</h2>
+<p>Use an example to experience the Dubbo server-side asynchronous interface. For Demo code, visit <a href="https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-notify">https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-notify</a>。</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">AsyncServiceImpl</span> <span style="color:#268bd2">implements</span> AsyncService <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> String <span style="color:#268bd2">sayHello</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Main sayHello() method start.&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">final</span> AsyncContext asyncContext <span style="color:#719e07">=</span> RpcContext<span style="color:#719e07">.</span>startAsync<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">new</span> Thread<span style="color:#719e07">(()</span> <span style="color:#719e07">-&gt;</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> asyncContext<span style="color:#719e07">.</span>signalContextSwitch<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Attachment from consumer: &#34;</span> <span style="color:#719e07">+</span> RpcContext<span style="color:#719e07">.</span>getContext<span style="color:#719e07">().</span>getAttachment<span style="color:#719e07">(</span [...]
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34; -- Async start.&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">try</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Thread<span style="color:#719e07">.</span>sleep<span style="color:#719e07">(</span><span style="color:#2aa198">500</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span> <span style="color:#719e07">catch</span> <span style="color:#719e07">(</span>InterruptedException e<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> e<span style="color:#719e07">.</span>printStackTrace<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span> asyncContext<span style="color:#719e07">.</span>write<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Hello &#34;</span> <span style="color:#719e07">+</span> name <span style="color:#719e07">+</span> <span style="color:#2aa198">&#34;, response from provider.&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34; -- Async end.&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}).</span>start<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> System<span style="color:#719e07">.</span>out<span style="color:#719e07">.</span>println<span style="color:#719e07">(</span><span style="color:#2aa198">&#34;Main sayHello() method end.&#34;</span><span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> <span style="color:#2aa198">&#34;hello, &#34;</span> <span style="color:#719e07">+</span> name<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span></code></pre></div><h2 id="practical-suggestions">Practical suggestions</h2>
+<ul>
+<li>Don&rsquo;t rely too much on server-side asynchrony.</li>
+<li>Server-side asynchrony is basically a false proposition in the face of event-driven or Reactive.<span data-type="color" style="color:rgb(36, 41, 46)"><span data-type="background" style="background-color:rgb(255, 255, 255)">Supplement the reason: the server asynchrony is said Dubbo server-side business threads (default is 200) is not enough, but in the Event-Driven mode, 200 threads certainly do not need that much, just as much as the number of CPU cores. As long as the busin [...]
+<li>To use server-side asynchrony, it is recommended that the server-side thread strategy adopt the Same_thread pattern + Coroutine Library.</li>
+</ul>
+<h2 id="conclusions">Conclusions</h2>
+<p>When Dubbo supports business applications, it encounters a variety of requirements scenarios, and server-side asynchrony provides users with a solution to deal with ThreadPool Full. In the case of ThreadPool Full, if the current system bottleneck is CPU, this solution is not recommended. If the system load is not high, increasing the number of worker threads or using server asynchrony can be considered.</p></description></item><item><title>Blog: How to use Seata to ensure consis [...]
+<h2 id="use-case">Use case</h2>
+<p>A business logic for user purchasing commodities. The whole business logic is powered by 3 microservices:</p>
+<ul>
+<li>Storage service: deduct storage count on given commodity.</li>
+<li>Order service: create order according to purchase request.</li>
+<li>Account service: debit the balance of user&rsquo;s account.</li>
+</ul>
+<h3 id="architecture">Architecture</h3>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/fescar/fescar-1.png" alt="Architecture"></p>
+<h3 id="storageservice">StorageService</h3>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">StorageService</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * deduct storage count
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> */</span>
+</span></span><span style="display:flex;"><span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">deduct</span><span style="color:#719e07">(</span>String commodityCode<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> count<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><h3 id="orderservice">OrderService</h3>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">OrderService</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * create order
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> */</span>
+</span></span><span style="display:flex;"><span> Order <span style="color:#268bd2">create</span><span style="color:#719e07">(</span>String userId<span style="color:#719e07">,</span> String commodityCode<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> orderCount<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><h3 id="accountservice">AccountService</h3>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">AccountService</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * debit balance of user&#39;s account
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> */</span>
+</span></span><span style="display:flex;"><span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">debit</span><span style="color:#719e07">(</span>String userId<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> money<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><h3 id="main-business-logic">Main business logic</h3>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">BusinessServiceImpl</span> <span style="color:#268bd2">implements</span> BusinessService <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> StorageService storageService<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> OrderService orderService<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * purchase
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> */</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">purchase</span><span style="color:#719e07">(</span>String userId<span style="color:#719e07">,</span> String commodityCode<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> orderCount<span style="color:#719e07">)</span> <span style="color:#719e07 [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> storageService<span style="color:#719e07">.</span>deduct<span style="color:#719e07">(</span>commodityCode<span style="color:#719e07">,</span> orderCount<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> orderService<span style="color:#719e07">.</span>create<span style="color:#719e07">(</span>userId<span style="color:#719e07">,</span> commodityCode<span style="color:#719e07">,</span> orderCount<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">StorageServiceImpl</span> <span style="color:#268bd2">implements</span> StorageServic [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> StorageDAO storageDAO<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">@Override</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">deduct</span><span style="color:#719e07">(</span>String commodityCode<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> count<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span> Storage storage <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> Storage<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> storage<span style="color:#719e07">.</span>setCount<span style="color:#719e07">(</span>count<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> storage<span style="color:#719e07">.</span>setCommodityCode<span style="color:#719e07">(</span>commodityCode<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> storageDAO<span style="color:#719e07">.</span>update<span style="color:#719e07">(</span>storage<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">class</span> <span style="color:#268bd2">OrderServiceImpl</span> <span style="color:#268bd2">implements</span> OrderService &l [...]
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> OrderDAO orderDAO<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">private</span> AccountService accountService<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> Order <span style="color:#268bd2">create</span><span style="color:#719e07">(</span>String userId<span style="color:#719e07">,</span> String commodityCode<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> orderCount<span style="color:#719e07">)</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#dc322f">int</span> orderMoney <span style="color:#719e07">=</span> calculate<span style="color:#719e07">(</span>commodityCode<span style="color:#719e07">,</span> orderCount<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> accountService<span style="color:#719e07">.</span>debit<span style="color:#719e07">(</span>userId<span style="color:#719e07">,</span> orderMoney<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> Order order <span style="color:#719e07">=</span> <span style="color:#719e07">new</span> Order<span style="color:#719e07">();</span>
+</span></span><span style="display:flex;"><span> order<span style="color:#719e07">.</span>userId <span style="color:#719e07">=</span> userId<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> order<span style="color:#719e07">.</span>commodityCode <span style="color:#719e07">=</span> commodityCode<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> order<span style="color:#719e07">.</span>count <span style="color:#719e07">=</span> orderCount<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span> order<span style="color:#719e07">.</span>money <span style="color:#719e07">=</span> orderMoney<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">return</span> orderDAO<span style="color:#719e07">.</span>insert<span style="color:#719e07">(</span>order<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><h2 id="distributed-transaction-solution-with-seata">Distributed Transaction Solution with Seata</h2>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/fescar/fescar-2.png" alt="undefined"></p>
+<p>We just need an annotation <code>@GlobalTransactional</code> on business method:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span> <span style="color:#268bd2">@GlobalTransactional</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">public</span> <span style="color:#dc322f">void</span> <span style="color:#268bd2">purchase</span><span style="color:#719e07">(</span>String userId<span style="color:#719e07">,</span> String commodityCode<span style="color:#719e07">,</span> <span style="color:#dc322f">int</span> orderCount<span style="color:#719e07">)</span> <span style="color:#719e07 [...]
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">......</span>
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">}</span>
+</span></span></code></pre></div><h2 id="example-powered-by-dubbo--seata">Example powered by Dubbo + Seata</h2>
+<h3 id="step-1-setup-database">Step 1: Setup database</h3>
+<ul>
+<li>Requirement: MySQL with InnoDB engine.</li>
+</ul>
+<p><strong>Note:</strong> In fact, there should be 3 database for the 3 services in the example use case. However, we can just create one database and configure 3 data sources for simple.</p>
+<p>Modify Spring XML with the database URL/username/password you just created.</p>
+<p>dubbo-account-service.xml
+dubbo-order-service.xml
+dubbo-storage-service.xml</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span> <span style="color:#268bd2">&lt;property</span> name=<span style="color:#2aa198">&#34;url&#34;</span> value=<span style="color:#2aa198">&#34;jdbc:mysql://x.x.x.x:3306/xxx&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;property</span> name=<span style="color:#2aa198">&#34;username&#34;</span> value=<span style="color:#2aa198">&#34;xxx&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;property</span> name=<span style="color:#2aa198">&#34;password&#34;</span> value=<span style="color:#2aa198">&#34;xxx&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span></code></pre></div><h3 id="step-2-create-undo_log-table-for-seata">Step 2: Create undo_log table for Seata</h3>
+<p><code>UNDO_LOG</code> table is required by Seata AT mode.</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#586e75">-- Note that when Seata version is upgraded to 0.3.0+, it is changed from the previous normal index to the unique index.
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"></span><span style="color:#719e07">CREATE</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">`</span>undo_log<span style="color:#719e07">`</span> (
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>id<span style="color:#719e07">`</span> <span style="color:#b58900">bigint</span>(<span style="color:#2aa198">20</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span> AUTO_INCREMENT,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>branch_id<span style="color:#719e07">`</span> <span style="color:#b58900">bigint</span>(<span style="color:#2aa198">20</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>xid<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">100</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>context<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">128</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>rollback_info<span style="color:#719e07">`</span> longblob <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>log_status<span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>log_created<span style="color:#719e07">`</span> datetime <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>log_modified<span style="color:#719e07">`</span> datetime <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>ext<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">100</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">PRIMARY</span> <span style="color:#719e07">KEY</span> (<span style="color:#719e07">`</span>id<span style="color:#719e07">`</span>),
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">UNIQUE</span> <span style="color:#719e07">KEY</span> <span style="color:#719e07">`</span>ux_undo_log<span style="color:#719e07">`</span> (<span style="color:#719e07">`</span>xid<span style="color:#719e07">`</span>,<span style="color:#719e07">`</span>branch_id<span style="color:#719e07">`</span>)
+</span></span><span style="display:flex;"><span>) ENGINE<span style="color:#719e07">=</span>InnoDB AUTO_INCREMENT<span style="color:#719e07">=</span><span style="color:#2aa198">1</span> <span style="color:#719e07">DEFAULT</span> CHARSET<span style="color:#719e07">=</span>utf8;
+</span></span></code></pre></div><h3 id="step-3-create-tables-for-example-business">Step 3: Create tables for example business</h3>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">DROP</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">IF</span> <span style="color:#719e07">EXISTS</span> <span style="color:#719e07">`</span>storage_tbl<span style="color:#719e07">`</span>;
+</span></span><span style="display:flex;"><span><span style="color:#719e07">CREATE</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">`</span>storage_tbl<span style="color:#719e07">`</span> (
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>id<span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span> AUTO_INCREMENT,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>commodity_code<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">255</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span><span style="color:#719e07">count</span><span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#2aa198">0</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">PRIMARY</span> <span style="color:#719e07">KEY</span> (<span style="color:#719e07">`</span>id<span style="color:#719e07">`</span>),
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">UNIQUE</span> <span style="color:#719e07">KEY</span> (<span style="color:#719e07">`</span>commodity_code<span style="color:#719e07">`</span>)
+</span></span><span style="display:flex;"><span>) ENGINE<span style="color:#719e07">=</span>InnoDB <span style="color:#719e07">DEFAULT</span> CHARSET<span style="color:#719e07">=</span>utf8;
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">DROP</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">IF</span> <span style="color:#719e07">EXISTS</span> <span style="color:#719e07">`</span>order_tbl<span style="color:#719e07">`</span>;
+</span></span><span style="display:flex;"><span><span style="color:#719e07">CREATE</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">`</span>order_tbl<span style="color:#719e07">`</span> (
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>id<span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span> AUTO_INCREMENT,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>user_id<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">255</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>commodity_code<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">255</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span><span style="color:#719e07">count</span><span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#2aa198">0</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>money<span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#2aa198">0</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">PRIMARY</span> <span style="color:#719e07">KEY</span> (<span style="color:#719e07">`</span>id<span style="color:#719e07">`</span>)
+</span></span><span style="display:flex;"><span>) ENGINE<span style="color:#719e07">=</span>InnoDB <span style="color:#719e07">DEFAULT</span> CHARSET<span style="color:#719e07">=</span>utf8;
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">DROP</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">IF</span> <span style="color:#719e07">EXISTS</span> <span style="color:#719e07">`</span>account_tbl<span style="color:#719e07">`</span>;
+</span></span><span style="display:flex;"><span><span style="color:#719e07">CREATE</span> <span style="color:#719e07">TABLE</span> <span style="color:#719e07">`</span>account_tbl<span style="color:#719e07">`</span> (
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>id<span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">NOT</span> <span style="color:#719e07">NULL</span> AUTO_INCREMENT,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>user_id<span style="color:#719e07">`</span> <span style="color:#b58900">varchar</span>(<span style="color:#2aa198">255</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#719e07">NULL</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">`</span>money<span style="color:#719e07">`</span> <span style="color:#b58900">int</span>(<span style="color:#2aa198">11</span>) <span style="color:#719e07">DEFAULT</span> <span style="color:#2aa198">0</span>,
+</span></span><span style="display:flex;"><span> <span style="color:#719e07">PRIMARY</span> <span style="color:#719e07">KEY</span> (<span style="color:#719e07">`</span>id<span style="color:#719e07">`</span>)
+</span></span><span style="display:flex;"><span>) ENGINE<span style="color:#719e07">=</span>InnoDB <span style="color:#719e07">DEFAULT</span> CHARSET<span style="color:#719e07">=</span>utf8;
+</span></span></code></pre></div><h3 id="step-4-start-seata-server">Step 4: Start Seata-Server</h3>
+<ul>
+<li>Download server <a href="https://github.com/seata/seata/releases">package</a>, unzip it.</li>
+<li>Start Seata-Server</li>
+</ul>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>Usage: sh seata-server.sh<span style="color:#719e07">(</span><span style="color:#719e07">for</span> linux and mac<span style="color:#719e07">)</span> or cmd seata-server.bat<span style="color:#719e07">(</span><span style="color:#719e07">fo [...]
+</span></span><span style="display:flex;"><span> Options:
+</span></span><span style="display:flex;"><span> --host, -h
+</span></span><span style="display:flex;"><span> The host to bind.
+</span></span><span style="display:flex;"><span> Default: 0.0.0.0
+</span></span><span style="display:flex;"><span> --port, -p
+</span></span><span style="display:flex;"><span> The port to listen.
+</span></span><span style="display:flex;"><span> Default: <span style="color:#2aa198">8091</span>
+</span></span><span style="display:flex;"><span> --storeMode, -m
+</span></span><span style="display:flex;"><span> log store mode : file、db
+</span></span><span style="display:flex;"><span> Default: file
+</span></span><span style="display:flex;"><span> --help
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>e.g.
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>sh seata-server.sh -p <span style="color:#2aa198">8091</span> -h 127.0.0.1 -m file
+</span></span></code></pre></div><h3 id="step-5-run-example">Step 5: Run example</h3>
+<ul>
+<li>Start AccountService (<a href="https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-transaction/src/main/java/org/apache/dubbo/samples/starter/DubboAccountServiceStarter.java">DubboAccountServiceStarter</a>).</li>
+<li>Start StockService (<a href="https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-transaction/src/main/java/org/apache/dubbo/samples/starter/DubboStorageServiceStarter.java">DubboStorageServiceStarter</a>).</li>
+<li>Start OrderService (<a href="https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-transaction/src/main/java/org/apache/dubbo/samples/starter/DubboOrderServiceStarter.java">DubboOrderServiceStarter</a>).</li>
+<li>Run BusinessService for test (<a href="https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-transaction/src/main/java/org/apache/dubbo/samples/starter/DubboBusinessTester.java">DubboBusinessTester</a>).</li>
+</ul>
+<h3 id="related-projects">Related projects</h3>
+<ul>
+<li>Seata: <a href="https://github.com/seata/seata">https://github.com/seata/seata</a></li>
+<li>Seata Samples : <a href="https://github.com/seata/seata-samples">https://github.com/seata/seata-samples</a></li>
+</ul></description></item><item><title>Blog: The fifth Dubbo meetup has been held in Hangzhou</title><link>https://cn.dubbo.apache.org/en/blog/2018/12/10/the-fifth-dubbo-meetup-has-been-held-in-hangzhou/</link><pubDate>Mon, 10 Dec 2018 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2018/12/10/the-fifth-dubbo-meetup-has-been-held-in-hangzhou/</guid><description>
+<p>The fifth Dubbo meetup has been held in Hangzhou,</p>
+<p>Please enjoy the slides of the topics:</p>
+<ul>
+<li>Ding Li: How to involve in dubbo community <a href="https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201812%40hangzhou/how-to-involve-in-dubbo-community.pdf">slides</a></li>
+<li>Shenli Cao: Dubbo 2.7 introduction <a href="https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201812%40hangzhou/dubbo-2.7-introduction.pdf">slides</a></li>
+<li>Tao Yang: Dubbo practice in netease koala <a href="https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201812%40hangzhou/dubbo-practice-in-netease-koala.pdf">slides</a></li>
+<li>Mercy Ma: Nacos support in Dubbo <a href="https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201812%40hangzhou/nacos-support-in-dubbo.pdf">slides</a></li>
+<li>Yihao Zhao: Sentinel: Sentinel support for Dubbo <a href="https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201812%40hangzhou/sentinel-support-for-dubbo.pdf">slides</a></li>
+<li>Zhixuan Chen: Troubleshooting Dubbo with Arthas <a href="https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201812%40hangzhou/troubleshooting-dubbo-with-arthas.pdf">slides</a></li>
+</ul></description></item><item><title>Blog: Dubbo Integrates with Nacos to Become a Registry</title><link>https://cn.dubbo.apache.org/en/blog/2018/11/07/dubbo-integrates-with-nacos-to-become-a-registry/</link><pubDate>Wed, 07 Nov 2018 00:00:00 +0000</pubDate><guid>https://cn.dubbo.apache.org/en/blog/2018/11/07/dubbo-integrates-with-nacos-to-become-a-registry/</guid><description>
+<p>Nacos is an important registry in Dubbo ecosystem, and dubbo-registry-nacos is the implementation of Dubbo-integrated Nacos registry.</p>
+<h2 id="preparation-works">Preparation Works</h2>
+<p>Before you integrate dubbo-registry-nacos into your Dubbo project, make sure the Nacos service is started in the background. If you are not familiar with the basic use of Nacos, you can refer to the Quick Start for Nacos: <a href="https://nacos.io/en-us/docs/quick-start.html">https://nacos.io/en-us/docs/quick-start.html</a>. Nacos versions above 0.6.1 are recommended.</p>
+<h2 id="get-started-quickly">Get Started Quickly</h2>
+<p>The operation steps for Dubbo to integrate Nacos into a registry are simple, the general steps can be divided into &ldquo;add Maven dependency&rdquo; and &ldquo;configure the registry.&rdquo;</p>
+<h2 id="increase-maven-dependency">Increase Maven Dependency</h2>
+<p>First, you need to add the Maven dependency of dubbo-registry-nacos to your project&rsquo;s pom.xml file, and it is strongly recommended that you use Dubbo 2.6.5:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#268bd2">&lt;dependencies&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Dubbo Nacos registry dependency --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dependency&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;groupId&gt;</span>org.apache<span style="color:#268bd2">&lt;/groupId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;artifactId&gt;</span>dubbo-registry-nacos<span style="color:#268bd2">&lt;/artifactId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;version&gt;</span>0.0.2<span style="color:#268bd2">&lt;/version&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;/dependency&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Keep latest Nacos client version --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dependency&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;groupId&gt;</span>org.apache.nacos<span style="color:#268bd2">&lt;/groupId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;artifactId&gt;</span>nacos-client<span style="color:#268bd2">&lt;/artifactId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;version&gt;</span>[0.6.1,)<span style="color:#268bd2">&lt;/version&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;/dependency&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Dubbo dependency --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dependency&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;groupId&gt;</span>org.apache<span style="color:#268bd2">&lt;/groupId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;artifactId&gt;</span>dubbo<span style="color:#268bd2">&lt;/artifactId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;version&gt;</span>2.6.5<span style="color:#268bd2">&lt;/version&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;/dependency&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Alibaba Spring Context extension --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dependency&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;groupId&gt;</span>org.apache.spring<span style="color:#268bd2">&lt;/groupId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;artifactId&gt;</span>spring-context-support<span style="color:#268bd2">&lt;/artifactId&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;version&gt;</span>1.0.2<span style="color:#268bd2">&lt;/version&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;/dependency&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;/dependencies&gt;</span>
+</span></span></code></pre></div><p>When you add dubbo-registry-nacos to your project, you don&rsquo;t need to programmatically implement the service discovery and registration logic, the actual implementation is provided by the third-party package, and then to configure the Naocs registry.</p>
+<h2 id="configure-the-registry">Configure the Registry</h2>
+<p>Assuming your Dubbo application is assembled by the Spring Framework, there are two configuration options: Dubbo Spring externalization configuration and Spring XML configuration files, I strongly recommend the former.</p>
+<h2 id="dubbo-spring-externalization-configuration">Dubbo Spring Externalization Configuration</h2>
+<p>Dubbo Spring externalization configuration is a new feature introduced by Dubbo 2.5.8, which automatically generates and binds Dubbo configuration Bean through the Spring Environment property, simplifying configuration and lowering the threshold for microservice development.</p>
+<p>Assume your Dubbo application uses Zookeeper as the registry and its server IP address is 10.20.153.10, the registered address is also stored in the dubbo-config.properties file as a Dubbo externalization configuration attribute, as shown below:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#586e75">## application</span>
+</span></span><span style="display:flex;"><span>dubbo.application.name <span style="color:#719e07">=</span> <span style="color:#2aa198">your-dubbo-application</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#586e75">## Zookeeper registry address</span>
+</span></span><span style="display:flex;"><span>dubbo.registry.address <span style="color:#719e07">=</span> <span style="color:#2aa198">zookeeper://10.20.153.10:2181</span>
+</span></span><span style="display:flex;"><span>...
+</span></span></code></pre></div><p>Assuming your Nacos Server is also running on server 10.20.153.10 and using the default Nacos service port 8848, you can simply adjust the dubbo.registry.address property as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-properties" data-lang="properties"><span style="display:flex;"><span><span style="color:#586e75">## 其他属性保持不变</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#586e75">## Nacos registry address</span>
+</span></span><span style="display:flex;"><span>dubbo.registry.address <span style="color:#719e07">=</span> <span style="color:#2aa198">nacos://10.20.153.10:8848</span>
+</span></span><span style="display:flex;"><span>...
+</span></span></code></pre></div><p>Subsequently, restart your Dubbo application, and Dubbo&rsquo;s service delivery and consumption information can be displayed in the Nacos console:</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubbo-registry-nacos-1.png" alt="image-20181213103845976"></p>
+<p>As shown in the figure, the service name prefixed with providers: is the meta-information for the service provider, and consumers: represents the meta-information of the service consumer. Click &ldquo;Details&rdquo; to view service status details:</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubbo-registry-nacos-2.png" alt="image-20181213104145998"></p>
+<p>If you are using the Spring XML configuration file to assemble the Dubbo registry, refer to the next section.</p>
+<h2 id="spring-xml-configuration-file">Spring XML Configuration File</h2>
+<p>Also, assume your Dubbo application uses Zookeeper as the registry and its server IP address is 10.20.153.10 and assemble the Spring Bean in an XML file, as shown below:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#719e07">&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;beans</span> xmlns=<span style="color:#2aa198">&#34;http://www.springframework.org/schema/beans&#34;</span>
+</span></span><span style="display:flex;"><span> xmlns:xsi=<span style="color:#2aa198">&#34;http://www.w3.org/2001/XMLSchema-instance&#34;</span>
+</span></span><span style="display:flex;"><span> xmlns:dubbo=<span style="color:#2aa198">&#34;http://dubbo.apache.org/schema/dubbo&#34;</span>
+</span></span><span style="display:flex;"><span> xsi:schemaLocation=<span style="color:#2aa198">&#34;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd&#34;</span><span style="color:#268bd2">&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Provider application information for dependency calculation --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:application</span> name=<span style="color:#2aa198">&#34;dubbo-provider-xml-demo&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Using the Zookeeper registry Zookeeper --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:registry</span> address=<span style="color:#2aa198">&#34;zookeeper://10.20.153.10:2181&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;/beans&gt;</span>
+</span></span></code></pre></div><p>Similar to the Dubbo Spring externalization configuration, simply adjust the address property configuration:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-xml" data-lang="xml"><span style="display:flex;"><span><span style="color:#719e07">&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;beans</span> xmlns=<span style="color:#2aa198">&#34;http://www.springframework.org/schema/beans&#34;</span>
+</span></span><span style="display:flex;"><span> xmlns:xsi=<span style="color:#2aa198">&#34;http://www.w3.org/2001/XMLSchema-instance&#34;</span>
+</span></span><span style="display:flex;"><span> xmlns:dubbo=<span style="color:#2aa198">&#34;http://dubbo.apache.org/schema/dubbo&#34;</span>
+</span></span><span style="display:flex;"><span> xsi:schemaLocation=<span style="color:#2aa198">&#34;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd&#34;</span><span style="color:#268bd2">&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Provider application information for dependency calculation--&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:application</span> name=<span style="color:#2aa198">&#34;dubbo-provider-xml-demo&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> <span style="color:#586e75">&lt;!-- Using the Nacos registry --&gt;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#268bd2">&lt;dubbo:registry</span> address=<span style="color:#2aa198">&#34;nacos://10.20.153.10:8848&#34;</span> <span style="color:#268bd2">/&gt;</span>
+</span></span><span style="display:flex;"><span> ...
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">&lt;/beans&gt;</span>
+</span></span></code></pre></div><p>Once you restart the Dubbo application, you can also see that the registration meta-information for both service providers and consumers is presented in the Nacos console:</p>
+<p><img src="https://cn.dubbo.apache.org/imgs/blog/dubbo-registry-nacos-3.png" alt="image-20181213113049185"></p>
+<p>Do you absolutely configure or switch Nacos registry super Easy? If you want to get more or unclear, refer to the complete example below.</p>
+<h2 id="complete-example">Complete Example</h2>
+<p>The metadata in the above image is derived from the Dubbo Spring annotation-driven example and the Dubbo Spring XML configuration-driven example, both of which will be described below, you can choose your preferred programming model. Before we get into the formal discussion, let&rsquo;s look at the preparations for both, as they both rely on Java service interfaces and implementations. Also, ensure that the Nacos service is started in the local (127.0.0.1) environment.</p>
+<h3 id="example-interfaces-and-implementations">Example Interfaces and Implementations</h3>
+<p>First, define the sample interface, as follows:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#719e07">package</span> org.apache.dubbo.demo.service<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#586e75">/**
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * DemoService
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> *
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> * @since 2.7.4
+</span></span></span><span style="display:flex;"><span><span style="color:#586e75"> */</span>
+</span></span><span style="display:flex;"><span><span style="color:#268bd2">public</span> <span style="color:#268bd2">interface</span> <span style="color:#268bd2">DemoService</span> <span style="color:#719e07">{</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span> String <span style="color:#268bd2">sayName</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">);</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
+</span></span></code></pre></div><p>Provide implementation classes for the above interfaces:</p>
+<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#719e07">package</span> org.apache.dubbo.demo.service<span style="color:#719e07">;</span>
+</span></span><span style="display:flex;"><span>
... 291712 lines suppressed ...