You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by pu...@apache.org on 2019/05/06 04:15:55 UTC
[incubator-dubbo-website] branch ecology-page updated: feat: 优化移动端适配及窗口尺寸变化
This is an automated email from the ASF dual-hosted git repository.
purpleforce pushed a commit to branch ecology-page
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git
The following commit(s) were added to refs/heads/ecology-page by this push:
new b659fa5 feat: 优化移动端适配及窗口尺寸变化
b659fa5 is described below
commit b659fa547a842cd19b78a6f25b9e66c90c2ed4b9
Author: liandong.cld <li...@alibaba-inc.com>
AuthorDate: Mon May 6 12:15:41 2019 +0800
feat: 优化移动端适配及窗口尺寸变化
---
build/blog.css | 2 +-
build/blog.js | 2 +-
build/blogDetail.css | 2 +-
build/blogDetail.js | 4 +-
build/community.css | 2 +-
build/community.js | 2 +-
build/documentation.css | 2 +-
build/documentation.js | 4 +-
build/ecology.css | 2 +-
build/ecology.js | 6 +-
build/home.css | 2 +-
build/home.js | 2 +-
en-us/blog/dubbo-zk.html | 14 +--
en-us/blog/dubbo-zk.json | 2 +-
en-us/blog/dubbo2-js.html | 2 +-
en-us/blog/dubbo2-js.json | 2 +-
en-us/blog/introduction-to-dubbo-qos.html | 2 +-
en-us/blog/introduction-to-dubbo-qos.json | 2 +-
en-us/blog/pinpoint.html | 88 ++++++++---------
en-us/blog/pinpoint.json | 2 +-
en-us/docs/admin/install/zookeeper.html | 24 ++---
en-us/docs/admin/install/zookeeper.json | 2 +-
en-us/docs/admin/introduction.html | 12 +--
en-us/docs/admin/introduction.json | 2 +-
en-us/docs/admin/ops/pinpoint.html | 88 ++++++++---------
en-us/docs/admin/ops/pinpoint.json | 2 +-
en-us/docs/dev/SPI.html | 2 +-
en-us/docs/dev/SPI.json | 2 +-
en-us/docs/dev/impls/cache.html | 2 +-
en-us/docs/dev/impls/cache.json | 2 +-
en-us/docs/dev/impls/cluster.html | 2 +-
en-us/docs/dev/impls/cluster.json | 2 +-
en-us/docs/dev/impls/compiler.html | 2 +-
en-us/docs/dev/impls/compiler.json | 2 +-
en-us/docs/dev/impls/container.html | 2 +-
en-us/docs/dev/impls/container.json | 2 +-
en-us/docs/dev/impls/dispatcher.html | 2 +-
en-us/docs/dev/impls/dispatcher.json | 2 +-
en-us/docs/dev/impls/exchanger.html | 2 +-
en-us/docs/dev/impls/exchanger.json | 2 +-
en-us/docs/dev/impls/exporter-listener.html | 2 +-
en-us/docs/dev/impls/exporter-listener.json | 2 +-
en-us/docs/dev/impls/extension-factory.html | 2 +-
en-us/docs/dev/impls/extension-factory.json | 2 +-
en-us/docs/dev/impls/filter.html | 2 +-
en-us/docs/dev/impls/filter.json | 2 +-
en-us/docs/dev/impls/invoker-listener.html | 2 +-
en-us/docs/dev/impls/invoker-listener.json | 2 +-
en-us/docs/dev/impls/load-balance.html | 2 +-
en-us/docs/dev/impls/load-balance.json | 2 +-
en-us/docs/dev/impls/logger-adapter.html | 2 +-
en-us/docs/dev/impls/logger-adapter.json | 2 +-
en-us/docs/dev/impls/merger.html | 2 +-
en-us/docs/dev/impls/merger.json | 2 +-
en-us/docs/dev/impls/monitor.html | 2 +-
en-us/docs/dev/impls/monitor.json | 2 +-
en-us/docs/dev/impls/networker.html | 2 +-
en-us/docs/dev/impls/networker.json | 2 +-
en-us/docs/dev/impls/page.html | 2 +-
en-us/docs/dev/impls/page.json | 2 +-
en-us/docs/dev/impls/protocol.html | 2 +-
en-us/docs/dev/impls/protocol.json | 2 +-
en-us/docs/dev/impls/proxy-factory.html | 2 +-
en-us/docs/dev/impls/proxy-factory.json | 2 +-
en-us/docs/dev/impls/registry.html | 2 +-
en-us/docs/dev/impls/registry.json | 2 +-
en-us/docs/dev/impls/remoting.html | 2 +-
en-us/docs/dev/impls/remoting.json | 2 +-
en-us/docs/dev/impls/router.html | 2 +-
en-us/docs/dev/impls/router.json | 2 +-
en-us/docs/dev/impls/serialize.html | 2 +-
en-us/docs/dev/impls/serialize.json | 2 +-
en-us/docs/dev/impls/status-checker.html | 2 +-
en-us/docs/dev/impls/status-checker.json | 2 +-
en-us/docs/dev/impls/telnet-handler.html | 2 +-
en-us/docs/dev/impls/telnet-handler.json | 2 +-
en-us/docs/dev/impls/threadpool.html | 2 +-
en-us/docs/dev/impls/threadpool.json | 2 +-
en-us/docs/dev/impls/validation.html | 2 +-
en-us/docs/dev/impls/validation.json | 2 +-
en-us/docs/user/configuration/properties.html | 6 +-
en-us/docs/user/configuration/properties.json | 2 +-
en-us/docs/user/configuration/xml.html | 2 +-
en-us/docs/user/configuration/xml.json | 2 +-
en-us/docs/user/demos/dump.html | 4 +-
en-us/docs/user/demos/dump.json | 2 +-
en-us/docs/user/demos/explicit-target.html | 2 +-
en-us/docs/user/demos/explicit-target.json | 2 +-
en-us/docs/user/demos/graceful-shutdown.html | 4 +-
en-us/docs/user/demos/graceful-shutdown.json | 2 +-
en-us/docs/user/demos/hostname-binding.html | 4 +-
en-us/docs/user/demos/hostname-binding.json | 2 +-
en-us/docs/user/demos/logger-strategy.html | 2 +-
en-us/docs/user/demos/logger-strategy.json | 2 +-
en-us/docs/user/demos/multi-protocols.html | 4 +-
en-us/docs/user/demos/multi-protocols.json | 2 +-
en-us/docs/user/demos/multi-registry.html | 8 +-
en-us/docs/user/demos/multi-registry.json | 2 +-
en-us/docs/user/demos/preflight-check.html | 8 +-
en-us/docs/user/demos/preflight-check.json | 2 +-
en-us/docs/user/demos/service-container.html | 2 +-
en-us/docs/user/demos/service-container.json | 2 +-
en-us/docs/user/quick-start.html | 2 +-
en-us/docs/user/quick-start.json | 2 +-
en-us/docs/user/references/protocol/rmi.html | 2 +-
en-us/docs/user/references/protocol/rmi.json | 2 +-
en-us/docs/user/references/qos.html | 2 +-
en-us/docs/user/references/qos.json | 2 +-
en-us/docs/user/references/registry/simple.html | 2 +-
en-us/docs/user/references/registry/simple.json | 2 +-
package.json | 1 +
src/components/header/index.scss | 6 +-
src/pages/ecology/index.jsx | 27 +++++-
src/pages/ecology/index.scss | 29 ++++--
src/pages/ecology/memo.jsx | 15 +++
zh-cn/blog/dubbo-admin.html | 12 +--
zh-cn/blog/dubbo-admin.json | 2 +-
zh-cn/blog/dubbo-annotation-driven.html | 2 +-
zh-cn/blog/dubbo-annotation-driven.json | 2 +-
zh-cn/blog/dubbo-externalized-configuration.html | 108 ++++++++++-----------
zh-cn/blog/dubbo-externalized-configuration.json | 2 +-
zh-cn/blog/dubbo-registry-nacos-integration.html | 72 +++++++-------
zh-cn/blog/dubbo-registry-nacos-integration.json | 2 +-
zh-cn/blog/dubbo-rest.html | 6 +-
zh-cn/blog/dubbo-rest.json | 2 +-
zh-cn/blog/dubbo-zk.html | 14 +--
zh-cn/blog/dubbo-zk.json | 2 +-
zh-cn/blog/dubbo2-js.html | 2 +-
zh-cn/blog/dubbo2-js.json | 2 +-
zh-cn/blog/introduction-to-dubbo-qos.html | 2 +-
zh-cn/blog/introduction-to-dubbo-qos.json | 2 +-
zh-cn/blog/pinpoint.html | 88 ++++++++---------
zh-cn/blog/pinpoint.json | 2 +-
zh-cn/docs/admin/install/zookeeper.html | 24 ++---
zh-cn/docs/admin/install/zookeeper.json | 2 +-
zh-cn/docs/admin/introduction.html | 12 +--
zh-cn/docs/admin/introduction.json | 2 +-
zh-cn/docs/admin/ops/pinpoint.html | 88 ++++++++---------
zh-cn/docs/admin/ops/pinpoint.json | 2 +-
zh-cn/docs/dev/SPI.html | 2 +-
zh-cn/docs/dev/SPI.json | 2 +-
zh-cn/docs/dev/impls/cache.html | 2 +-
zh-cn/docs/dev/impls/cache.json | 2 +-
zh-cn/docs/dev/impls/cluster.html | 2 +-
zh-cn/docs/dev/impls/cluster.json | 2 +-
zh-cn/docs/dev/impls/compiler.html | 2 +-
zh-cn/docs/dev/impls/compiler.json | 2 +-
zh-cn/docs/dev/impls/container.html | 2 +-
zh-cn/docs/dev/impls/container.json | 2 +-
zh-cn/docs/dev/impls/dispatcher.html | 2 +-
zh-cn/docs/dev/impls/dispatcher.json | 2 +-
zh-cn/docs/dev/impls/exchanger.html | 2 +-
zh-cn/docs/dev/impls/exchanger.json | 2 +-
zh-cn/docs/dev/impls/exporter-listener.html | 2 +-
zh-cn/docs/dev/impls/exporter-listener.json | 2 +-
zh-cn/docs/dev/impls/extension-factory.html | 2 +-
zh-cn/docs/dev/impls/extension-factory.json | 2 +-
zh-cn/docs/dev/impls/filter.html | 2 +-
zh-cn/docs/dev/impls/filter.json | 2 +-
zh-cn/docs/dev/impls/invoker-listener.html | 2 +-
zh-cn/docs/dev/impls/invoker-listener.json | 2 +-
zh-cn/docs/dev/impls/load-balance.html | 2 +-
zh-cn/docs/dev/impls/load-balance.json | 2 +-
zh-cn/docs/dev/impls/logger-adapter.html | 2 +-
zh-cn/docs/dev/impls/logger-adapter.json | 2 +-
zh-cn/docs/dev/impls/merger.html | 2 +-
zh-cn/docs/dev/impls/merger.json | 2 +-
zh-cn/docs/dev/impls/monitor.html | 2 +-
zh-cn/docs/dev/impls/monitor.json | 2 +-
zh-cn/docs/dev/impls/networker.html | 2 +-
zh-cn/docs/dev/impls/networker.json | 2 +-
zh-cn/docs/dev/impls/page.html | 2 +-
zh-cn/docs/dev/impls/page.json | 2 +-
zh-cn/docs/dev/impls/protocol.html | 2 +-
zh-cn/docs/dev/impls/protocol.json | 2 +-
zh-cn/docs/dev/impls/proxy-factory.html | 2 +-
zh-cn/docs/dev/impls/proxy-factory.json | 2 +-
zh-cn/docs/dev/impls/registry.html | 2 +-
zh-cn/docs/dev/impls/registry.json | 2 +-
zh-cn/docs/dev/impls/remoting.html | 2 +-
zh-cn/docs/dev/impls/remoting.json | 2 +-
zh-cn/docs/dev/impls/router.html | 2 +-
zh-cn/docs/dev/impls/router.json | 2 +-
zh-cn/docs/dev/impls/serialize.html | 2 +-
zh-cn/docs/dev/impls/serialize.json | 2 +-
zh-cn/docs/dev/impls/status-checker.html | 2 +-
zh-cn/docs/dev/impls/status-checker.json | 2 +-
zh-cn/docs/dev/impls/telnet-handler.html | 2 +-
zh-cn/docs/dev/impls/telnet-handler.json | 2 +-
zh-cn/docs/dev/impls/threadpool.html | 2 +-
zh-cn/docs/dev/impls/threadpool.json | 2 +-
zh-cn/docs/dev/impls/validation.html | 2 +-
zh-cn/docs/dev/impls/validation.json | 2 +-
zh-cn/docs/user/configuration/annotation.html | 18 ++--
zh-cn/docs/user/configuration/annotation.json | 2 +-
zh-cn/docs/user/configuration/config-center.html | 18 ++--
zh-cn/docs/user/configuration/config-center.json | 2 +-
.../configuration/configuration-load-process.html | 98 +++++++++----------
.../configuration/configuration-load-process.json | 2 +-
.../user/configuration/properties-deprecated.html | 6 +-
.../user/configuration/properties-deprecated.json | 2 +-
zh-cn/docs/user/demos/dump.html | 4 +-
zh-cn/docs/user/demos/dump.json | 2 +-
zh-cn/docs/user/demos/explicit-target.html | 2 +-
zh-cn/docs/user/demos/explicit-target.json | 2 +-
zh-cn/docs/user/demos/graceful-shutdown.html | 4 +-
zh-cn/docs/user/demos/graceful-shutdown.json | 2 +-
zh-cn/docs/user/demos/hostname-binding.html | 4 +-
zh-cn/docs/user/demos/hostname-binding.json | 2 +-
zh-cn/docs/user/demos/multi-protocols.html | 4 +-
zh-cn/docs/user/demos/multi-protocols.json | 2 +-
zh-cn/docs/user/demos/multi-registry.html | 8 +-
zh-cn/docs/user/demos/multi-registry.json | 2 +-
zh-cn/docs/user/demos/preflight-check.html | 8 +-
zh-cn/docs/user/demos/preflight-check.json | 2 +-
zh-cn/docs/user/demos/routing-rule.html | 2 +-
zh-cn/docs/user/demos/routing-rule.json | 2 +-
zh-cn/docs/user/demos/service-container.html | 2 +-
zh-cn/docs/user/demos/service-container.json | 2 +-
zh-cn/docs/user/demos/simplify-registry-data.html | 4 +-
zh-cn/docs/user/demos/simplify-registry-data.json | 2 +-
zh-cn/docs/user/quick-start.html | 4 +-
zh-cn/docs/user/quick-start.json | 2 +-
zh-cn/docs/user/references/protocol/rmi.html | 2 +-
zh-cn/docs/user/references/protocol/rmi.json | 2 +-
zh-cn/docs/user/references/qos.html | 2 +-
zh-cn/docs/user/references/qos.json | 2 +-
zh-cn/docs/user/references/registry/simple.html | 2 +-
zh-cn/docs/user/references/registry/simple.json | 2 +-
zh-cn/docs/user/versions/version-270.html | 14 +--
zh-cn/docs/user/versions/version-270.json | 2 +-
231 files changed, 702 insertions(+), 650 deletions(-)
diff --git a/build/blog.css b/build/blog.css
index 37d678b..f3775bb 100644
--- a/build/blog.css
+++ b/build/blog.css
@@ -1 +1 @@
-.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
+.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
diff --git a/build/blog.js b/build/blog.js
index fd1e939..7cf1122 100644
--- a/build/blog.js
+++ b/build/blog.js
@@ -1,4 +1,4 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=186 [...]
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=188 [...]
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
diff --git a/build/blogDetail.css b/build/blogDetail.css
index 20270fa..75c3448 100644
--- a/build/blogDetail.css
+++ b/build/blogDetail.css
@@ -1 +1 @@
-.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
+.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
diff --git a/build/blogDetail.js b/build/blogDetail.js
index 33a8215..f708936 100644
--- a/build/blogDetail.js
+++ b/build/blogDetail.js
@@ -1,6 +1,6 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=187 [...]
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=189 [...]
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
-!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";Objec [...]
\ No newline at end of file
+!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";Objec [...]
\ No newline at end of file
diff --git a/build/community.css b/build/community.css
index a609b69..8a2ce66 100644
--- a/build/community.css
+++ b/build/community.css
@@ -1 +1 @@
-.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
+.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
diff --git a/build/community.js b/build/community.js
index 5f1736b..6c3805e 100644
--- a/build/community.js
+++ b/build/community.js
@@ -1,4 +1,4 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=188 [...]
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=190 [...]
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
diff --git a/build/documentation.css b/build/documentation.css
index 237fffa..78f8deb 100644
--- a/build/documentation.css
+++ b/build/documentation.css
@@ -1 +1 @@
-.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
+.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
diff --git a/build/documentation.js b/build/documentation.js
index 73456b9..ebdbe74 100644
--- a/build/documentation.js
+++ b/build/documentation.js
@@ -1,6 +1,6 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=189 [...]
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=191 [...]
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
-!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var l=n.apply(null,r);l&&e.push(l)}else if("object"===o)for(var s in r)i.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";Objec [...]
\ No newline at end of file
+!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var l=n.apply(null,r);l&&e.push(l)}else if("object"===o)for(var s in r)i.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";Objec [...]
\ No newline at end of file
diff --git a/build/ecology.css b/build/ecology.css
index 1784931..75ae158 100644
--- a/build/ecology.css
+++ b/build/ecology.css
@@ -1 +1 @@
-.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
+.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
diff --git a/build/ecology.js b/build/ecology.js
index 7fb0491..4e039b7 100644
--- a/build/ecology.js
+++ b/build/ecology.js
@@ -1,11 +1,11 @@
-!function(e){function t(n){if(c[n])return c[n].exports;var o=c[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var c={};t.m=e,t.c=c,t.i=function(e){return e},t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=190 [...]
+!function(e){function t(n){if(c[n])return c[n].exports;var o=c[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var c={};t.m=e,t.c=c,t.i=function(e){return e},t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=192 [...]
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
-!function(){"use strict";function c(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var r=c.apply(null,n);r&&e.push(r)}else if("object"===o)for(var a in n)i.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(c.default=c,e.exports=c):(n=[],void 0!==(o=function(){return c}.apply(t,n))&&(e.exports=o))}()},function(e,t,c){"use strict";Objec [...]
+!function(){"use strict";function c(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var r=c.apply(null,n);r&&e.push(r)}else if("object"===o)for(var a in n)i.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(c.default=c,e.exports=c):(n=[],void 0!==(o=function(){return c}.apply(t,n))&&(e.exports=o))}()},function(e,t,c){"use strict";Objec [...]
object-assign
(c) Sindre Sorhus
@license MIT
*/
-var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},c=0;c<10;c++)t["_"+String.fromCharCode(c)]=c;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmn [...]
\ No newline at end of file
+var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},c=0;c<10;c++)t["_"+String.fromCharCode(c)]=c;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmn [...]
\ No newline at end of file
diff --git a/build/home.css b/build/home.css
index ca5d52f..3194f6a 100644
--- a/build/home.css
+++ b/build/home.css
@@ -1 +1 @@
-.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
+.header-container{position:fixed;left:0;top:0;width:100%;z-index:1000;background-color:#fff}.header-container-primary{background-color:transparent}.header-container-normal{background-color:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.08)}.header-container .header-body{max-width:1280px;margin:0 auto;height:66px;line-height:66px}.header-container .header-body .logo{margin-left:40px;width:96px;vertical-align:sub}.header-container .header-body .header-menu{float:right}.header-container .header-b [...]
\ No newline at end of file
diff --git a/build/home.js b/build/home.js
index 68c5add..9b5eda4 100644
--- a/build/home.js
+++ b/build/home.js
@@ -1,4 +1,4 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=191 [...]
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=193 [...]
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
diff --git a/en-us/blog/dubbo-zk.html b/en-us/blog/dubbo-zk.html
index 766cc8c..ee43b15 100644
--- a/en-us/blog/dubbo-zk.html
+++ b/en-us/blog/dubbo-zk.html
@@ -135,10 +135,10 @@ For example, the service provider of <code>com.foo.BarService</code> will regis
<span class="hljs-keyword">static</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ProviderConfiguration</span> </span>{}
</code></pre>
<p>Dubbo-provider.properties is an external configuration in a spring application, as follows:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">demo-provider</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://$DOCKER_HOST:2181</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">20880</span>
+<pre><code class="language-properties">dubbo.application.name=demo-provider
+dubbo.registry.address=zookeeper://$DOCKER_HOST:2181
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=20880
</code></pre>
<p>Since zookeeper runs in a docker container, please be noted that:</p>
<ul>
@@ -193,9 +193,9 @@ JLine support is enabled
<span class="hljs-keyword">static</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ConsumerConfiguration</span> </span>{}
</code></pre>
<p>"dubbo-consumer.properties" is a method of external configuration in a Spring application, as follows:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">demo-consumer</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://$DOCKER_HOST:2181</span>
-<span class="hljs-meta">dubbo.consumer.timeout</span>=<span class="hljs-string">3000</span>
+<pre><code class="language-properties">dubbo.application.name=demo-consumer
+dubbo.registry.address=zookeeper://$DOCKER_HOST:2181
+dubbo.consumer.timeout=3000
</code></pre>
<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>7. Client: Initiating A Remote Call</h4>
diff --git a/en-us/blog/dubbo-zk.json b/en-us/blog/dubbo-zk.json
index bbbd96c..4757a37 100644
--- a/en-us/blog/dubbo-zk.json
+++ b/en-us/blog/dubbo-zk.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-zk.md",
- "__html": "<h1>Using Zookeeper in Dubbo</h1>\n<h2>Introduction of Zookeeper</h2>\n<h3>The basic concept</h3>\n<p>In the mordern distrbuted applications, there are multiple coordination problems between nodes and nodes, including: leader election, group service, locking, configuration management, naming and synchronization. Apache Zookeeper, as its name implied, is a distributed, open-source coordination service framwork to address these demand.</p>\n<p>In order to ensure the high perfo [...]
+ "__html": "<h1>Using Zookeeper in Dubbo</h1>\n<h2>Introduction of Zookeeper</h2>\n<h3>The basic concept</h3>\n<p>In the mordern distrbuted applications, there are multiple coordination problems between nodes and nodes, including: leader election, group service, locking, configuration management, naming and synchronization. Apache Zookeeper, as its name implied, is a distributed, open-source coordination service framwork to address these demand.</p>\n<p>In order to ensure the high perfo [...]
"link": "/en-us/blog/dubbo-zk.html",
"meta": {
"title": "Using Zookeeper in Dubbo",
diff --git a/en-us/blog/dubbo2-js.html b/en-us/blog/dubbo2-js.html
index b43b650..26a0570 100644
--- a/en-us/blog/dubbo2-js.html
+++ b/en-us/blog/dubbo2-js.html
@@ -108,7 +108,7 @@
}
</code></pre>
<p>After that,<span data-type="color" style="color:#24292E"> we expose the dubbo service with xml files:</span></p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://code.alibabatech.com/schema/dubbo"</span>
<span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
diff --git a/en-us/blog/dubbo2-js.json b/en-us/blog/dubbo2-js.json
index a56bfe6..50b4bd8 100644
--- a/en-us/blog/dubbo2-js.json
+++ b/en-us/blog/dubbo2-js.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo2-js.md",
- "__html": "<h1>Implementation of cross-language calls by Dubbo2.js</h1>\n<blockquote>\n<p><a href=\"https://github.com/dubbo/dubbo2.js\">dubbo2.js</a> is a Dubbo client for node.js developped by <a href=\"https://www.qianmi.com/\">Qianmiwang</a>. It supports Dubbo's native protocol, which makes the RPC calls between javascript and java efficient and agile. This tool has been contributed to Dubbo's community.</p>\n</blockquote>\n<h2>Cross-language calls for micro service</h2>\n<p>Nowada [...]
+ "__html": "<h1>Implementation of cross-language calls by Dubbo2.js</h1>\n<blockquote>\n<p><a href=\"https://github.com/dubbo/dubbo2.js\">dubbo2.js</a> is a Dubbo client for node.js developped by <a href=\"https://www.qianmi.com/\">Qianmiwang</a>. It supports Dubbo's native protocol, which makes the RPC calls between javascript and java efficient and agile. This tool has been contributed to Dubbo's community.</p>\n</blockquote>\n<h2>Cross-language calls for micro service</h2>\n<p>Nowada [...]
"link": "/en-us/blog/dubbo2-js.html",
"meta": {
"title": "Implementation of cross-language calls by Dubbo2.js",
diff --git a/en-us/blog/introduction-to-dubbo-qos.html b/en-us/blog/introduction-to-dubbo-qos.html
index b5c4c23..d99351e 100644
--- a/en-us/blog/introduction-to-dubbo-qos.html
+++ b/en-us/blog/introduction-to-dubbo-qos.html
@@ -201,7 +201,7 @@ dubbo.application.qos.accept.foreign.ip=false
</code></pre>
<h4>XML</h4>
<p>If you are going to config using XML, you can try this:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/en-us/blog/introduction-to-dubbo-qos.json b/en-us/blog/introduction-to-dubbo-qos.json
index 9bf7922..116d2e2 100644
--- a/en-us/blog/introduction-to-dubbo-qos.json
+++ b/en-us/blog/introduction-to-dubbo-qos.json
@@ -1,6 +1,6 @@
{
"filename": "introduction-to-dubbo-qos.md",
- "__html": "<h1>Manipulating Services Dynamically via QoS</h1>\n<p>QoS (short form of <strong>Quality of Service</strong>), is a common terminology talking about network devices. For example, by adjusting and manipulating the weights of ports of a router dynamically via QoS, engineers could give priority to services running on these ports and make sure these services' quality and reliability.</p>\n<p>In Dubbo, QoS is used to query and manipulate services dynamically, like getting a list [...]
+ "__html": "<h1>Manipulating Services Dynamically via QoS</h1>\n<p>QoS (short form of <strong>Quality of Service</strong>), is a common terminology talking about network devices. For example, by adjusting and manipulating the weights of ports of a router dynamically via QoS, engineers could give priority to services running on these ports and make sure these services' quality and reliability.</p>\n<p>In Dubbo, QoS is used to query and manipulate services dynamically, like getting a list [...]
"link": "/en-us/blog/introduction-to-dubbo-qos.html",
"meta": {
"title": "Manipulating Services Dynamically via QoS",
diff --git a/en-us/blog/pinpoint.html b/en-us/blog/pinpoint.html
index 1d10a7a..c252cba 100644
--- a/en-us/blog/pinpoint.html
+++ b/en-us/blog/pinpoint.html
@@ -53,7 +53,7 @@ have minimal impact on the performance (approximately 3% increase in resource us
<h3>Dubbo demo</h3>
<h4>Create API module</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
@@ -73,7 +73,7 @@ public interface HelloService {
</code></pre>
<h4>Dubbo provider</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -188,34 +188,34 @@ public interface HelloService {
<ol start="3">
<li><code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">server.port</span> = <span class="hljs-string">9090</span>
-<span class="hljs-meta">management.port</span> = <span class="hljs-string">9091</span>
-<span class="hljs-comment">
-# Service version</span>
-<span class="hljs-meta">demo.service.version</span> = <span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Base packages to scan Dubbo Components (e.g @Service , @Reference)</span>
-<span class="hljs-meta">dubbo.scan.basePackages</span> = <span class="hljs-string">com.example.demoprovider</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span> = <span class="hljs-string">12345</span>
-<span class="hljs-comment">
-## RegistryConfig Bean</span>
-<span class="hljs-meta">dubbo.registry.id</span> = <span class="hljs-string">my-registry</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">N/A</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name = dubbo-provider-demo
+server.port = 9090
+management.port = 9091
+
+# Service version
+demo.service.version = 1.0.0
+
+# Base packages to scan Dubbo Components (e.g @Service , @Reference)
+dubbo.scan.basePackages = com.example.demoprovider
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id = dubbo-provider-demo
+dubbo.application.name = dubbo-provider-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id = dubbo
+dubbo.protocol.name = dubbo
+dubbo.protocol.port = 12345
+
+## RegistryConfig Bean
+dubbo.registry.id = my-registry
+dubbo.registry.address = N/A
</code></pre>
<h4>Dubbo consumer</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -333,23 +333,23 @@ public interface HelloService {
<ol start="3">
<li><code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">server.port</span>=<span class="hljs-string">8080</span>
-<span class="hljs-meta">management.port</span>=<span class="hljs-string">8081</span>
-<span class="hljs-comment">
-# Service Version</span>
-<span class="hljs-meta">demo.service.version</span>=<span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">12345</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name=dubbo-consumer-demo
+server.port=8080
+management.port=8081
+
+# Service Version
+demo.service.version=1.0.0
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id=dubbo-consumer-demo
+dubbo.application.name=dubbo-consumer-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id=dubbo
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=12345
</code></pre>
<h3>Using Pinpoint-agent to start <code>Dubbo provider</code> and <code>Dubbo consumer</code></h3>
<ol>
diff --git a/en-us/blog/pinpoint.json b/en-us/blog/pinpoint.json
index 80cf5c9..dfe30f7 100644
--- a/en-us/blog/pinpoint.json
+++ b/en-us/blog/pinpoint.json
@@ -1,6 +1,6 @@
{
"filename": "pinpoint.md",
- "__html": "<h1>Tracking with Pinpoint</h1>\n<p>After using Dubbo to serve or integrate applications, assuming that a service backstage log shows an exception and that the service is invoked by multiple applications, it is often difficult to determine which application is called, and what is the cause of the problem, so we need a set of distributed tracking systems to quickly locate the problem. Pinpoint can help us quickly locate problems (of course, there are more than one solution).< [...]
+ "__html": "<h1>Tracking with Pinpoint</h1>\n<p>After using Dubbo to serve or integrate applications, assuming that a service backstage log shows an exception and that the service is invoked by multiple applications, it is often difficult to determine which application is called, and what is the cause of the problem, so we need a set of distributed tracking systems to quickly locate the problem. Pinpoint can help us quickly locate problems (of course, there are more than one solution).< [...]
"link": "/en-us/blog/pinpoint.html",
"meta": {
"title": "Tracking with Pinpoint",
diff --git a/en-us/docs/admin/install/zookeeper.html b/en-us/docs/admin/install/zookeeper.html
index 0fbe97d..5a23441 100644
--- a/en-us/docs/admin/install/zookeeper.html
+++ b/en-us/docs/admin/install/zookeeper.html
@@ -25,20 +25,20 @@ cp conf/zoo_sample.cfg conf/zoo.cfg
<pre><code class="language-sh">vi conf/zoo.cfg
</code></pre>
<p>If cluster is not needed, the content of <code>zoo.cfg</code> is as below <sup class="footnote-ref"><a href="#fn2" id="fnref2">[2]</a></sup>:</p>
-<pre><code class="language-properties"><span class="hljs-attr">tickTime</span>=<span class="hljs-string">2000</span>
-<span class="hljs-attr">initLimit</span>=<span class="hljs-string">10</span>
-<span class="hljs-attr">syncLimit</span>=<span class="hljs-string">5</span>
-<span class="hljs-attr">dataDir</span>=<span class="hljs-string">/home/dubbo/zookeeper-3.3.3/data</span>
-<span class="hljs-attr">clientPort</span>=<span class="hljs-string">2181</span>
+<pre><code class="language-properties">tickTime=2000
+initLimit=10
+syncLimit=5
+dataDir=/home/dubbo/zookeeper-3.3.3/data
+clientPort=2181
</code></pre>
<p>If cluster is needed, the content of <code>zoo.cfg</code> is as below <sup class="footnote-ref"><a href="#fn3" id="fnref3">[3]</a></sup>:</p>
-<pre><code class="language-properties"><span class="hljs-attr">tickTime</span>=<span class="hljs-string">2000</span>
-<span class="hljs-attr">initLimit</span>=<span class="hljs-string">10</span>
-<span class="hljs-attr">syncLimit</span>=<span class="hljs-string">5</span>
-<span class="hljs-attr">dataDir</span>=<span class="hljs-string">/home/dubbo/zookeeper-3.3.3/data</span>
-<span class="hljs-attr">clientPort</span>=<span class="hljs-string">2181</span>
-<span class="hljs-meta">server.1</span>=<span class="hljs-string">10.20.153.10:2555:3555</span>
-<span class="hljs-meta">server.2</span>=<span class="hljs-string">10.20.153.11:2555:3555</span>
+<pre><code class="language-properties">tickTime=2000
+initLimit=10
+syncLimit=5
+dataDir=/home/dubbo/zookeeper-3.3.3/data
+clientPort=2181
+server.1=10.20.153.10:2555:3555
+server.2=10.20.153.11:2555:3555
</code></pre>
<p>Put myid file in data directory <sup class="footnote-ref"><a href="#fn4" id="fnref4">[4]</a></sup>:</p>
<pre><code class="language-sh">mkdir data
diff --git a/en-us/docs/admin/install/zookeeper.json b/en-us/docs/admin/install/zookeeper.json
index 22a53b8..690c73b 100644
--- a/en-us/docs/admin/install/zookeeper.json
+++ b/en-us/docs/admin/install/zookeeper.json
@@ -1,6 +1,6 @@
{
"filename": "zookeeper.md",
- "__html": "<h1>install Zookeeper configuration center</h1>\n<p>zookeeper register center client version: <code>dubbo-2.3.3</code> and above<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup></p>\n<p>Dubbo changes nothing of Zookeeper's server side, an original Zookeeper server is fine. All change happens while calling Zookeeper's client side</p>\n<p>install:</p>\n<pre><code class=\"language-sh\">wget http://archive.apache.org/dist/zookeeper/zookeeper-3.3.3/zookeepe [...]
+ "__html": "<h1>install Zookeeper configuration center</h1>\n<p>zookeeper register center client version: <code>dubbo-2.3.3</code> and above<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup></p>\n<p>Dubbo changes nothing of Zookeeper's server side, an original Zookeeper server is fine. All change happens while calling Zookeeper's client side</p>\n<p>install:</p>\n<pre><code class=\"language-sh\">wget http://archive.apache.org/dist/zookeeper/zookeeper-3.3.3/zookeepe [...]
"link": "/en-us/docs/admin/install/zookeeper.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/admin/introduction.html b/en-us/docs/admin/introduction.html
index 3221c18..1349e41 100644
--- a/en-us/docs/admin/introduction.html
+++ b/en-us/docs/admin/introduction.html
@@ -54,15 +54,15 @@ java -jar dubbo-admin-server-0.1.jar
<pre><code class="language-sh">dubbo-admin-server/src/main/resources/application.properties
</code></pre>
<p>configuration:</p>
-<pre><code class="language-properties"><span class="hljs-meta">admin.config-center</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">admin.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">admin.metadata-report.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties">admin.config-center=zookeeper://127.0.0.1:2181
+admin.registry.address=zookeeper://127.0.0.1:2181
+admin.metadata-report.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>the three configure item above are configuration center, registry center and metadata center respectively, you can find explanation about the three centers <a href="../user/configuration/config-center.md">here</a>
Same as Dubbo 2.7, you can set the addresses of metadata center and registry center on configuration center, in zookeeper, the path and content are as below:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># /dubbo/config/dubbo/dubbo.properties</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.metadata-report.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties"># /dubbo/config/dubbo/dubbo.properties
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.metadata-report.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>the addresses in configuration center have higher priority than those in <code>application.properties</code></p>
<p>visit documents on github:</p>
diff --git a/en-us/docs/admin/introduction.json b/en-us/docs/admin/introduction.json
index a32844e..6d97ac7 100644
--- a/en-us/docs/admin/introduction.json
+++ b/en-us/docs/admin/introduction.json
@@ -1,6 +1,6 @@
{
"filename": "introduction.md",
- "__html": "<h1>Dubbo Admin introduction</h1>\n<p>Now version 0.1 has been released, frontend uses Vue and Vuetify as javascript framework and UI framework, backend uses spring framework, you can deploy the whole project with maven or deploy frontend and backend separately.</p>\n<h3>Deploy the whole project through maven</h3>\n<ul>\n<li>install</li>\n</ul>\n<pre><code class=\"language-sh\">git <span class=\"hljs-built_in\">clone</span> https://github.com/apache/incubator-dubbo-admin.git [...]
+ "__html": "<h1>Dubbo Admin introduction</h1>\n<p>Now version 0.1 has been released, frontend uses Vue and Vuetify as javascript framework and UI framework, backend uses spring framework, you can deploy the whole project with maven or deploy frontend and backend separately.</p>\n<h3>Deploy the whole project through maven</h3>\n<ul>\n<li>install</li>\n</ul>\n<pre><code class=\"language-sh\">git <span class=\"hljs-built_in\">clone</span> https://github.com/apache/incubator-dubbo-admin.git [...]
"link": "/en-us/docs/admin/introduction.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/admin/ops/pinpoint.html b/en-us/docs/admin/ops/pinpoint.html
index a202028..8761b8c 100644
--- a/en-us/docs/admin/ops/pinpoint.html
+++ b/en-us/docs/admin/ops/pinpoint.html
@@ -53,7 +53,7 @@ have minimal impact on the performance (approximately 3% increase in resource us
<h3>Dubbo demo</h3>
<h4>Create API module</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
@@ -73,7 +73,7 @@ public interface HelloService {
</code></pre>
<h4>Dubbo provider</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -188,34 +188,34 @@ public interface HelloService {
<ol start="3">
<li><code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">server.port</span> = <span class="hljs-string">9090</span>
-<span class="hljs-meta">management.port</span> = <span class="hljs-string">9091</span>
-<span class="hljs-comment">
-# Service version</span>
-<span class="hljs-meta">demo.service.version</span> = <span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Base packages to scan Dubbo Components (e.g @Service , @Reference)</span>
-<span class="hljs-meta">dubbo.scan.basePackages</span> = <span class="hljs-string">com.example.demoprovider</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span> = <span class="hljs-string">12345</span>
-<span class="hljs-comment">
-## RegistryConfig Bean</span>
-<span class="hljs-meta">dubbo.registry.id</span> = <span class="hljs-string">my-registry</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">N/A</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name = dubbo-provider-demo
+server.port = 9090
+management.port = 9091
+
+# Service version
+demo.service.version = 1.0.0
+
+# Base packages to scan Dubbo Components (e.g @Service , @Reference)
+dubbo.scan.basePackages = com.example.demoprovider
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id = dubbo-provider-demo
+dubbo.application.name = dubbo-provider-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id = dubbo
+dubbo.protocol.name = dubbo
+dubbo.protocol.port = 12345
+
+## RegistryConfig Bean
+dubbo.registry.id = my-registry
+dubbo.registry.address = N/A
</code></pre>
<h4>Dubbo consumer</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -333,23 +333,23 @@ public interface HelloService {
<ol start="3">
<li><code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">server.port</span>=<span class="hljs-string">8080</span>
-<span class="hljs-meta">management.port</span>=<span class="hljs-string">8081</span>
-<span class="hljs-comment">
-# Service Version</span>
-<span class="hljs-meta">demo.service.version</span>=<span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">12345</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name=dubbo-consumer-demo
+server.port=8080
+management.port=8081
+
+# Service Version
+demo.service.version=1.0.0
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id=dubbo-consumer-demo
+dubbo.application.name=dubbo-consumer-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id=dubbo
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=12345
</code></pre>
<h3>Using Pinpoint-agent to start <code>Dubbo provider</code> and <code>Dubbo consumer</code></h3>
<ol>
diff --git a/en-us/docs/admin/ops/pinpoint.json b/en-us/docs/admin/ops/pinpoint.json
index 7451bde..0fdd086 100644
--- a/en-us/docs/admin/ops/pinpoint.json
+++ b/en-us/docs/admin/ops/pinpoint.json
@@ -1,6 +1,6 @@
{
"filename": "pinpoint.md",
- "__html": "<h1>Tracking with Pinpoint</h1>\n<p>After using Dubbo to serve or integrate applications, assuming that a service backstage log shows an exception and that the service is invoked by multiple applications, it is often difficult to determine which application is called, and what is the cause of the problem, so we need a set of distributed tracking systems to quickly locate the problem. Pinpoint can help us quickly locate problems (of course, there are more than one solution).< [...]
+ "__html": "<h1>Tracking with Pinpoint</h1>\n<p>After using Dubbo to serve or integrate applications, assuming that a service backstage log shows an exception and that the service is invoked by multiple applications, it is often difficult to determine which application is called, and what is the cause of the problem, so we need a set of distributed tracking systems to quickly locate the problem. Pinpoint can help us quickly locate problems (of course, there are more than one solution).< [...]
"link": "/en-us/docs/admin/ops/pinpoint.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/SPI.html b/en-us/docs/dev/SPI.html
index 79be015..afc1830 100644
--- a/en-us/docs/dev/SPI.html
+++ b/en-us/docs/dev/SPI.html
@@ -26,7 +26,7 @@
<p>In the jar file containing extension class <sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup>, places a config file <code>META-INF/dubbo/full interface name</code>, file content pattern: <code>SPI name=the fully qualified name for the extension class</code>, use new line seperator for multiple implementation.</p>
<h3>Example:</h3>
<p>To extend Dubbo Protocol, placee a text file in the extension jar file: <code>META-INF/dubbo/org.apache.dubbo.rpc.Protocol</code>, content:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.alibaba.xxx.XxxProtocol</span>
+<pre><code class="language-properties">xxx=com.alibaba.xxx.XxxProtocol
</code></pre>
<p>content of the implementation <sup class="footnote-ref"><a href="#fn2" id="fnref2">[2]</a></sup>:</p>
<pre><code class="language-java"><span class="hljs-keyword">package</span> com.alibaba.xxx;
diff --git a/en-us/docs/dev/SPI.json b/en-us/docs/dev/SPI.json
index 52602db..902e7cf 100644
--- a/en-us/docs/dev/SPI.json
+++ b/en-us/docs/dev/SPI.json
@@ -1,6 +1,6 @@
{
"filename": "SPI.md",
- "__html": "<h1>SPI Loading</h1>\n<h2>SPI Config</h2>\n<h3>Source:</h3>\n<p>Dubbo SPI is inherited from standard JDK SPI(Service Provider Interface) and makes it more powerful.</p>\n<p>Dubbo fixed below issues of the standard JDK SPI:</p>\n<ul>\n<li>The standard JDK SPI will load and instantize all the implementations at once. It will be a waste of resources if one implementation is timecosted, but never be used.</li>\n<li>We can't accquire the SPI name, if loading the SPI implementatio [...]
+ "__html": "<h1>SPI Loading</h1>\n<h2>SPI Config</h2>\n<h3>Source:</h3>\n<p>Dubbo SPI is inherited from standard JDK SPI(Service Provider Interface) and makes it more powerful.</p>\n<p>Dubbo fixed below issues of the standard JDK SPI:</p>\n<ul>\n<li>The standard JDK SPI will load and instantize all the implementations at once. It will be a waste of resources if one implementation is timecosted, but never be used.</li>\n<li>We can't accquire the SPI name, if loading the SPI implementatio [...]
"link": "/en-us/docs/dev/SPI.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/cache.html b/en-us/docs/dev/impls/cache.html
index db04b3c..55d0f56 100644
--- a/en-us/docs/dev/impls/cache.html
+++ b/en-us/docs/dev/impls/cache.html
@@ -73,7 +73,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.cache.CacheFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxCacheFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxCacheFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/cache.json b/en-us/docs/dev/impls/cache.json
index b8a6ab5..c093dfc 100644
--- a/en-us/docs/dev/impls/cache.json
+++ b/en-us/docs/dev/impls/cache.json
@@ -1,6 +1,6 @@
{
"filename": "cache.md",
- "__html": "<h1>Cache Extension</h1>\n<h2>Summary</h2>\n<p>Cache the return value, use request parameter as the key.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.cache.CacheFactory</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">cache</span>=<span class=\"hljs-string\">\"lru\"</span> /></span>\n<span class=\"hljs-comment\"><!-- metho [...]
+ "__html": "<h1>Cache Extension</h1>\n<h2>Summary</h2>\n<p>Cache the return value, use request parameter as the key.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.cache.CacheFactory</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">cache</span>=<span class=\"hljs-string\">\"lru\"</span> /></span>\n<span class=\"hljs-comment\"><!-- metho [...]
"link": "/en-us/docs/dev/impls/cache.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/cluster.html b/en-us/docs/dev/impls/cluster.html
index 80e7b9f..5fb1571 100644
--- a/en-us/docs/dev/impls/cluster.html
+++ b/en-us/docs/dev/impls/cluster.html
@@ -67,7 +67,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.Cluster:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxCluster</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxCluster
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/cluster.json b/en-us/docs/dev/impls/cluster.json
index 488e489..5889ed9 100644
--- a/en-us/docs/dev/impls/cluster.json
+++ b/en-us/docs/dev/impls/cluster.json
@@ -1,6 +1,6 @@
{
"filename": "cluster.md",
- "__html": "<h1>Cluster Extension</h1>\n<h2>Summary</h2>\n<p>Group service providers in a cluster, and treat them as one single provider.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Cluster</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">cluster</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hlj [...]
+ "__html": "<h1>Cluster Extension</h1>\n<h2>Summary</h2>\n<p>Group service providers in a cluster, and treat them as one single provider.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Cluster</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">cluster</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hlj [...]
"link": "/en-us/docs/dev/impls/cluster.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/compiler.html b/en-us/docs/dev/impls/compiler.html
index 5701cf1..8657dbe 100644
--- a/en-us/docs/dev/impls/compiler.html
+++ b/en-us/docs/dev/impls/compiler.html
@@ -49,7 +49,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.compiler.Compiler:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxCompiler</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxCompiler
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/compiler.json b/en-us/docs/dev/impls/compiler.json
index c19cfb9..3ddcca2 100644
--- a/en-us/docs/dev/impls/compiler.json
+++ b/en-us/docs/dev/impls/compiler.json
@@ -1,6 +1,6 @@
{
"filename": "compiler.md",
- "__html": "<h1>Compiler Extension</h1>\n<h2>Summary</h2>\n<p>Java compiler, used for byte code dynamic generation for RPC invocation.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.compiler.Compiler</code></p>\n<h2>Extension Configuration</h2>\n<p>No configuration required, the extension will be automatically discovered and loaded.</p>\n<h2>Existing Extensions</h2>\n<ul>\n<li><code>org.apache.dubbo.common.compiler.support.JdkCompiler</code></li>\n<li><code>org.apac [...]
+ "__html": "<h1>Compiler Extension</h1>\n<h2>Summary</h2>\n<p>Java compiler, used for byte code dynamic generation for RPC invocation.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.compiler.Compiler</code></p>\n<h2>Extension Configuration</h2>\n<p>No configuration required, the extension will be automatically discovered and loaded.</p>\n<h2>Existing Extensions</h2>\n<ul>\n<li><code>org.apache.dubbo.common.compiler.support.JdkCompiler</code></li>\n<li><code>org.apac [...]
"link": "/en-us/docs/dev/impls/compiler.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/container.html b/en-us/docs/dev/impls/container.html
index b01ff37..2ddb7ca 100644
--- a/en-us/docs/dev/impls/container.html
+++ b/en-us/docs/dev/impls/container.html
@@ -55,7 +55,7 @@ org.apache.dubbo.container.Container;
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.container.Container:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxContainer</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxContainer
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/container.json b/en-us/docs/dev/impls/container.json
index ba6f49d..5b7948c 100644
--- a/en-us/docs/dev/impls/container.json
+++ b/en-us/docs/dev/impls/container.json
@@ -1,6 +1,6 @@
{
"filename": "container.md",
- "__html": "<h1>Container Extension</h1>\n<h2>Summary</h2>\n<p>Service container extension, useful for loading custom contents.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.container.Container</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-sh\">java org.apache.dubbo.container.Main spring jetty log4j\n</code></pre>\n<h2>Existing Extensions</h2>\n<ul>\n<li><code>org.apache.dubbo.container.spring.SpringContainer</code></li>\n<li><code>org.apache.d [...]
+ "__html": "<h1>Container Extension</h1>\n<h2>Summary</h2>\n<p>Service container extension, useful for loading custom contents.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.container.Container</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-sh\">java org.apache.dubbo.container.Main spring jetty log4j\n</code></pre>\n<h2>Existing Extensions</h2>\n<ul>\n<li><code>org.apache.dubbo.container.spring.SpringContainer</code></li>\n<li><code>org.apache.d [...]
"link": "/en-us/docs/dev/impls/container.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/dispatcher.html b/en-us/docs/dev/impls/dispatcher.html
index 397e44f..e1cda1e 100644
--- a/en-us/docs/dev/impls/dispatcher.html
+++ b/en-us/docs/dev/impls/dispatcher.html
@@ -55,7 +55,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.Dispatcher:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxDispatcher</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxDispatcher
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/dispatcher.json b/en-us/docs/dev/impls/dispatcher.json
index 45fd337..4bb3c25 100644
--- a/en-us/docs/dev/impls/dispatcher.json
+++ b/en-us/docs/dev/impls/dispatcher.json
@@ -1,6 +1,6 @@
{
"filename": "dispatcher.md",
- "__html": "<h1>Dispatcher Extension</h1>\n<h2>Summary</h2>\n<p>Thread pool dispatch strategy.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.remoting.Dispatcher</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">dispatcher</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- default configuratio [...]
+ "__html": "<h1>Dispatcher Extension</h1>\n<h2>Summary</h2>\n<p>Thread pool dispatch strategy.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.remoting.Dispatcher</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">dispatcher</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- default configuratio [...]
"link": "/en-us/docs/dev/impls/dispatcher.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/exchanger.html b/en-us/docs/dev/impls/exchanger.html
index 0415803..37d3098 100644
--- a/en-us/docs/dev/impls/exchanger.html
+++ b/en-us/docs/dev/impls/exchanger.html
@@ -78,7 +78,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.exchange.Exchanger:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxExchanger</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxExchanger
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/exchanger.json b/en-us/docs/dev/impls/exchanger.json
index 9b2a571..c8e4a48 100644
--- a/en-us/docs/dev/impls/exchanger.json
+++ b/en-us/docs/dev/impls/exchanger.json
@@ -1,6 +1,6 @@
{
"filename": "exchanger.md",
- "__html": "<h1>Exchanger Extension</h1>\n<h2>Summary</h2>\n<p>Exchange message between request and response on network transport layer.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.exchange.Exchanger</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeServer</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeClient</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\" [...]
+ "__html": "<h1>Exchanger Extension</h1>\n<h2>Summary</h2>\n<p>Exchange message between request and response on network transport layer.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.exchange.Exchanger</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeServer</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeClient</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\" [...]
"link": "/en-us/docs/dev/impls/exchanger.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/exporter-listener.html b/en-us/docs/dev/impls/exporter-listener.html
index 6d94d2e..3ffe48a 100644
--- a/en-us/docs/dev/impls/exporter-listener.html
+++ b/en-us/docs/dev/impls/exporter-listener.html
@@ -56,7 +56,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.ExporterListener:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxExporterListener</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxExporterListener
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/exporter-listener.json b/en-us/docs/dev/impls/exporter-listener.json
index ea8d4a6..bfcfa53 100644
--- a/en-us/docs/dev/impls/exporter-listener.json
+++ b/en-us/docs/dev/impls/exporter-listener.json
@@ -1,6 +1,6 @@
{
"filename": "exporter-listener.md",
- "__html": "<h1>ExporterListener Extension</h1>\n<h2>Summary</h2>\n<p>Fire events when there's any service exported.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.ExporterListener</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- service exporter listener --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">listener</span>=<span class=\"hl [...]
+ "__html": "<h1>ExporterListener Extension</h1>\n<h2>Summary</h2>\n<p>Fire events when there's any service exported.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.ExporterListener</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- service exporter listener --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">listener</span>=<span class=\"hl [...]
"link": "/en-us/docs/dev/impls/exporter-listener.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/extension-factory.html b/en-us/docs/dev/impls/extension-factory.html
index 60d1a14..ffb4a1e 100644
--- a/en-us/docs/dev/impls/extension-factory.html
+++ b/en-us/docs/dev/impls/extension-factory.html
@@ -50,7 +50,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.extension.ExtensionFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxExtensionFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxExtensionFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/extension-factory.json b/en-us/docs/dev/impls/extension-factory.json
index 7163c9b..dd79826 100644
--- a/en-us/docs/dev/impls/extension-factory.json
+++ b/en-us/docs/dev/impls/extension-factory.json
@@ -1,6 +1,6 @@
{
"filename": "extension-factory.md",
- "__html": "<h1>ExtensionFactory Extension</h1>\n<h2>Summary</h2>\n<p>Factory to load dubbo extensions.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.extension.ExtensionFactory</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">compiler</span>=<span class=\"hljs-string\">\"jdk\"</span> /></span>\n</code></pre>\n<h2>Existing Exten [...]
+ "__html": "<h1>ExtensionFactory Extension</h1>\n<h2>Summary</h2>\n<p>Factory to load dubbo extensions.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.extension.ExtensionFactory</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">compiler</span>=<span class=\"hljs-string\">\"jdk\"</span> /></span>\n</code></pre>\n<h2>Existing Exten [...]
"link": "/en-us/docs/dev/impls/extension-factory.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/filter.html b/en-us/docs/dev/impls/filter.html
index ecddd33..4e6df66 100644
--- a/en-us/docs/dev/impls/filter.html
+++ b/en-us/docs/dev/impls/filter.html
@@ -82,7 +82,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.Filter:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxFilter</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxFilter
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/filter.json b/en-us/docs/dev/impls/filter.json
index b933e24..66f0c24 100644
--- a/en-us/docs/dev/impls/filter.json
+++ b/en-us/docs/dev/impls/filter.json
@@ -1,6 +1,6 @@
{
"filename": "filter.md",
- "__html": "<h1>Filter Extension</h1>\n<h2>Summary</h2>\n<p>Extension for intercepting the invocation for both service provider and consumer, furthermore, most of functions in dubbo are implemented base on the same mechanism. Since every time when remote method is invoked, the filter extensions will be executed too, the corresponding penalty should be considered before more filters are added.</p>\n<p>Contract:</p>\n<ul>\n<li>User defined filters are executed after built-in filters by de [...]
+ "__html": "<h1>Filter Extension</h1>\n<h2>Summary</h2>\n<p>Extension for intercepting the invocation for both service provider and consumer, furthermore, most of functions in dubbo are implemented base on the same mechanism. Since every time when remote method is invoked, the filter extensions will be executed too, the corresponding penalty should be considered before more filters are added.</p>\n<p>Contract:</p>\n<ul>\n<li>User defined filters are executed after built-in filters by de [...]
"link": "/en-us/docs/dev/impls/filter.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/invoker-listener.html b/en-us/docs/dev/impls/invoker-listener.html
index 5482d36..0abbc90 100644
--- a/en-us/docs/dev/impls/invoker-listener.html
+++ b/en-us/docs/dev/impls/invoker-listener.html
@@ -56,7 +56,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.InvokerListener:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxInvokerListener</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxInvokerListener
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/invoker-listener.json b/en-us/docs/dev/impls/invoker-listener.json
index 4787e92..cbdb85d 100644
--- a/en-us/docs/dev/impls/invoker-listener.json
+++ b/en-us/docs/dev/impls/invoker-listener.json
@@ -1,6 +1,6 @@
{
"filename": "invoker-listener.md",
- "__html": "<h1>InvokerListener Extension</h1>\n<h2>Summary</h2>\n<p>Fire event when there's any service referenced.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.InvokerListener</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 引用服务监听 --></span>\n<span class=\"hljs-comment\"><!-- service reference listener --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:reference</spa [...]
+ "__html": "<h1>InvokerListener Extension</h1>\n<h2>Summary</h2>\n<p>Fire event when there's any service referenced.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.InvokerListener</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 引用服务监听 --></span>\n<span class=\"hljs-comment\"><!-- service reference listener --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:reference</spa [...]
"link": "/en-us/docs/dev/impls/invoker-listener.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/load-balance.html b/en-us/docs/dev/impls/load-balance.html
index 20ab528..dd376b6 100644
--- a/en-us/docs/dev/impls/load-balance.html
+++ b/en-us/docs/dev/impls/load-balance.html
@@ -56,7 +56,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxLoadBalance</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxLoadBalance
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/load-balance.json b/en-us/docs/dev/impls/load-balance.json
index b4a3816..727db9d 100644
--- a/en-us/docs/dev/impls/load-balance.json
+++ b/en-us/docs/dev/impls/load-balance.json
@@ -1,6 +1,6 @@
{
"filename": "load-balance.md",
- "__html": "<h1>LoadBalance Extension</h1>\n<h2>Summary</h2>\n<p>Pick one from service providers and fire the invocation.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.cluster.LoadBalance</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">loadbalance</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-commen [...]
+ "__html": "<h1>LoadBalance Extension</h1>\n<h2>Summary</h2>\n<p>Pick one from service providers and fire the invocation.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.cluster.LoadBalance</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">loadbalance</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-commen [...]
"link": "/en-us/docs/dev/impls/load-balance.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/logger-adapter.html b/en-us/docs/dev/impls/logger-adapter.html
index 7db40a8..0950bfe 100644
--- a/en-us/docs/dev/impls/logger-adapter.html
+++ b/en-us/docs/dev/impls/logger-adapter.html
@@ -71,7 +71,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.logger.LoggerAdapter:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxLoggerAdapter</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxLoggerAdapter
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/logger-adapter.json b/en-us/docs/dev/impls/logger-adapter.json
index 4cf18b0..02b48a1 100644
--- a/en-us/docs/dev/impls/logger-adapter.json
+++ b/en-us/docs/dev/impls/logger-adapter.json
@@ -1,6 +1,6 @@
{
"filename": "logger-adapter.md",
- "__html": "<h1>LoggerAdapter Extension</h1>\n<h2>Summary</h2>\n<p>Extension for adapting logger output</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.logger.LoggerAdapter</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">logger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<p>Or:</p>\n<pre><code cla [...]
+ "__html": "<h1>LoggerAdapter Extension</h1>\n<h2>Summary</h2>\n<p>Extension for adapting logger output</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.logger.LoggerAdapter</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">logger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<p>Or:</p>\n<pre><code cla [...]
"link": "/en-us/docs/dev/impls/logger-adapter.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/merger.html b/en-us/docs/dev/impls/merger.html
index 61a9c2c..96b1b4f 100644
--- a/en-us/docs/dev/impls/merger.html
+++ b/en-us/docs/dev/impls/merger.html
@@ -52,7 +52,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.Merger:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxMerger</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxMerger
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/merger.json b/en-us/docs/dev/impls/merger.json
index bb59d44..9cda103 100644
--- a/en-us/docs/dev/impls/merger.json
+++ b/en-us/docs/dev/impls/merger.json
@@ -1,6 +1,6 @@
{
"filename": "merger.md",
- "__html": "<h1>Merger Extension</h1>\n<h2>Summary</h2>\n<p>Merge strategy for return result aggregation in group.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Merger</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:method</span> <span class=\"hljs-attr\">merger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<h2>Existing Extension</h2>\n [...]
+ "__html": "<h1>Merger Extension</h1>\n<h2>Summary</h2>\n<p>Merge strategy for return result aggregation in group.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Merger</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:method</span> <span class=\"hljs-attr\">merger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<h2>Existing Extension</h2>\n [...]
"link": "/en-us/docs/dev/impls/merger.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/monitor.html b/en-us/docs/dev/impls/monitor.html
index 69ff8c6..605db51 100644
--- a/en-us/docs/dev/impls/monitor.html
+++ b/en-us/docs/dev/impls/monitor.html
@@ -65,7 +65,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.monitor.MonitorFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxMonitorFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxMonitorFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/monitor.json b/en-us/docs/dev/impls/monitor.json
index 19e8629..b3c90d8 100644
--- a/en-us/docs/dev/impls/monitor.json
+++ b/en-us/docs/dev/impls/monitor.json
@@ -1,6 +1,6 @@
{
"filename": "monitor.md",
- "__html": "<h1>Monitor Extension</h1>\n<h2>Summary</h2>\n<p>Extension to monitor service invocation times and time taken for each service invocation.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.monitor.MonitorFactory</code></li>\n<li><code>org.apache.dubbo.monitor.Monitor</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- configure monitor center --></span>\n<span class=\"hljs-tag\">< [...]
+ "__html": "<h1>Monitor Extension</h1>\n<h2>Summary</h2>\n<p>Extension to monitor service invocation times and time taken for each service invocation.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.monitor.MonitorFactory</code></li>\n<li><code>org.apache.dubbo.monitor.Monitor</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- configure monitor center --></span>\n<span class=\"hljs-tag\">< [...]
"link": "/en-us/docs/dev/impls/monitor.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/networker.html b/en-us/docs/dev/impls/networker.html
index 90d6d05..5a972c0 100644
--- a/en-us/docs/dev/impls/networker.html
+++ b/en-us/docs/dev/impls/networker.html
@@ -52,7 +52,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.p2p.Networker:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxNetworker</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxNetworker
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/networker.json b/en-us/docs/dev/impls/networker.json
index ae9adf9..79265b1 100644
--- a/en-us/docs/dev/impls/networker.json
+++ b/en-us/docs/dev/impls/networker.json
@@ -1,6 +1,6 @@
{
"filename": "networker.md",
- "__html": "<h1>Networker Extension</h1>\n<h2>Summary</h2>\n<p>Extension for peer to peer network grouping.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.remoting.p2p.Networker</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">networker</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- defau [...]
+ "__html": "<h1>Networker Extension</h1>\n<h2>Summary</h2>\n<p>Extension for peer to peer network grouping.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.remoting.p2p.Networker</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">networker</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- defau [...]
"link": "/en-us/docs/dev/impls/networker.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/page.html b/en-us/docs/dev/impls/page.html
index 995ebc6..be44519 100644
--- a/en-us/docs/dev/impls/page.html
+++ b/en-us/docs/dev/impls/page.html
@@ -54,7 +54,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.container.page.PageHandler:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxPageHandler</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxPageHandler
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/page.json b/en-us/docs/dev/impls/page.json
index 2722a34..36d2aa3 100644
--- a/en-us/docs/dev/impls/page.json
+++ b/en-us/docs/dev/impls/page.json
@@ -1,6 +1,6 @@
{
"filename": "page.md",
- "__html": "<h1>Page Extension</h1>\n<h2>Summary</h2>\n<p>Extension for page handler</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.container.page.PageHandler</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">page</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- default configuration, wi [...]
+ "__html": "<h1>Page Extension</h1>\n<h2>Summary</h2>\n<p>Extension for page handler</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.container.page.PageHandler</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">page</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- default configuration, wi [...]
"link": "/en-us/docs/dev/impls/page.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/protocol.html b/en-us/docs/dev/impls/protocol.html
index 8f22385..4a5c8a0 100644
--- a/en-us/docs/dev/impls/protocol.html
+++ b/en-us/docs/dev/impls/protocol.html
@@ -137,7 +137,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.Protocol:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxProtocol</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxProtocol
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/protocol.json b/en-us/docs/dev/impls/protocol.json
index ddd1407..8cecb71 100644
--- a/en-us/docs/dev/impls/protocol.json
+++ b/en-us/docs/dev/impls/protocol.json
@@ -1,6 +1,6 @@
{
"filename": "protocol.md",
- "__html": "<h1>Protocol Extension</h1>\n<h2>Summary</h2>\n<p>Extension to RPC protocol, hide details of remote call.</p>\n<p>Contract:</p>\n<ul>\n<li>When user calls <code>invoke()</code> method of <code>Invoker</code> object which's returned from <code>refer()</code> call, the protocol needs to correspondingly execute <code>invoke()</code> method of <code>Invoker</code> object passed from remote <code>export()</code> method associated with the same URL.</li>\n<li>Moreover, it's protoc [...]
+ "__html": "<h1>Protocol Extension</h1>\n<h2>Summary</h2>\n<p>Extension to RPC protocol, hide details of remote call.</p>\n<p>Contract:</p>\n<ul>\n<li>When user calls <code>invoke()</code> method of <code>Invoker</code> object which's returned from <code>refer()</code> call, the protocol needs to correspondingly execute <code>invoke()</code> method of <code>Invoker</code> object passed from remote <code>export()</code> method associated with the same URL.</li>\n<li>Moreover, it's protoc [...]
"link": "/en-us/docs/dev/impls/protocol.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/proxy-factory.html b/en-us/docs/dev/impls/proxy-factory.html
index 8ffa1d8..da57511 100644
--- a/en-us/docs/dev/impls/proxy-factory.html
+++ b/en-us/docs/dev/impls/proxy-factory.html
@@ -58,7 +58,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.ProxyFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxProxyFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxProxyFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/proxy-factory.json b/en-us/docs/dev/impls/proxy-factory.json
index a11b91a..7f2e619 100644
--- a/en-us/docs/dev/impls/proxy-factory.json
+++ b/en-us/docs/dev/impls/proxy-factory.json
@@ -1,6 +1,6 @@
{
"filename": "proxy-factory.md",
- "__html": "<h1>ProxyFactory Extension</h1>\n<h2>Summary</h2>\n<p>Convert <code>Invoker</code> into business interface.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.ProxyFactory</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">proxy</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- def [...]
+ "__html": "<h1>ProxyFactory Extension</h1>\n<h2>Summary</h2>\n<p>Convert <code>Invoker</code> into business interface.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.rpc.ProxyFactory</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">proxy</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- def [...]
"link": "/en-us/docs/dev/impls/proxy-factory.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/registry.html b/en-us/docs/dev/impls/registry.html
index 278c543..6b18662 100644
--- a/en-us/docs/dev/impls/registry.html
+++ b/en-us/docs/dev/impls/registry.html
@@ -187,7 +187,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.registry.RegistryFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxRegistryFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxRegistryFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/registry.json b/en-us/docs/dev/impls/registry.json
index 961f448..18130ba 100644
--- a/en-us/docs/dev/impls/registry.json
+++ b/en-us/docs/dev/impls/registry.json
@@ -1,6 +1,6 @@
{
"filename": "registry.md",
- "__html": "<h1>Registry Extension</h1>\n<h2>Summary</h2>\n<p>Registry extension is used for service registration and discovery.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.registry.RegistryFactory</code></li>\n<li><code>org.apache.dubbo.registry.Registry</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- config registry server --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs- [...]
+ "__html": "<h1>Registry Extension</h1>\n<h2>Summary</h2>\n<p>Registry extension is used for service registration and discovery.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.registry.RegistryFactory</code></li>\n<li><code>org.apache.dubbo.registry.Registry</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- config registry server --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs- [...]
"link": "/en-us/docs/dev/impls/registry.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/remoting.html b/en-us/docs/dev/impls/remoting.html
index 8b94a7c..8e06cd8 100644
--- a/en-us/docs/dev/impls/remoting.html
+++ b/en-us/docs/dev/impls/remoting.html
@@ -111,7 +111,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.Transporter:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxTransporter</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxTransporter
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/remoting.json b/en-us/docs/dev/impls/remoting.json
index 7c6ec61..2ef9904 100644
--- a/en-us/docs/dev/impls/remoting.json
+++ b/en-us/docs/dev/impls/remoting.json
@@ -1,6 +1,6 @@
{
"filename": "remoting.md",
- "__html": "<h1>Transporter Extension</h1>\n<h2>Summary</h2>\n<p>Transportation extension for communication between server and client.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.Transporter</code></li>\n<li><code>org.apache.dubbo.remoting.Server</code></li>\n<li><code>org.apache.dubbo.remoting.Client</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- server and client use the same [...]
+ "__html": "<h1>Transporter Extension</h1>\n<h2>Summary</h2>\n<p>Transportation extension for communication between server and client.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.Transporter</code></li>\n<li><code>org.apache.dubbo.remoting.Server</code></li>\n<li><code>org.apache.dubbo.remoting.Client</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- server and client use the same [...]
"link": "/en-us/docs/dev/impls/remoting.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/router.html b/en-us/docs/dev/impls/router.html
index 6385712..63b854d 100644
--- a/en-us/docs/dev/impls/router.html
+++ b/en-us/docs/dev/impls/router.html
@@ -54,7 +54,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.RouterFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxRouterFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxRouterFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/router.json b/en-us/docs/dev/impls/router.json
index 0ff404c..a2c9074 100644
--- a/en-us/docs/dev/impls/router.json
+++ b/en-us/docs/dev/impls/router.json
@@ -1,6 +1,6 @@
{
"filename": "router.md",
- "__html": "<h1>Router Extension</h1>\n<h2>Summary</h2>\n<p>Pick one from service providers and fire the invocation.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.RouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.Router</code></li>\n</ul>\n<h2>Existing Extension</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.router.ScriptRouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.router.FileRouterFactory</code></li>\n</ul>\n<h2 [...]
+ "__html": "<h1>Router Extension</h1>\n<h2>Summary</h2>\n<p>Pick one from service providers and fire the invocation.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.RouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.Router</code></li>\n</ul>\n<h2>Existing Extension</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.router.ScriptRouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.router.FileRouterFactory</code></li>\n</ul>\n<h2 [...]
"link": "/en-us/docs/dev/impls/router.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/serialize.html b/en-us/docs/dev/impls/serialize.html
index 0b7668f..b88e883 100644
--- a/en-us/docs/dev/impls/serialize.html
+++ b/en-us/docs/dev/impls/serialize.html
@@ -67,7 +67,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.serialize.Serialization:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxSerialization</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxSerialization
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/serialize.json b/en-us/docs/dev/impls/serialize.json
index d9f875e..5f66854 100644
--- a/en-us/docs/dev/impls/serialize.json
+++ b/en-us/docs/dev/impls/serialize.json
@@ -1,6 +1,6 @@
{
"filename": "serialize.md",
- "__html": "<h1>Serialization Extension</h1>\n<h2>Summary</h2>\n<p>Extension to serializing java object into byte code stream for transporting on the network, and vise versa.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.common.serialize.Serialization</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectInput</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectOutput</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"langu [...]
+ "__html": "<h1>Serialization Extension</h1>\n<h2>Summary</h2>\n<p>Extension to serializing java object into byte code stream for transporting on the network, and vise versa.</p>\n<h2>Extension Interface</h2>\n<ul>\n<li><code>org.apache.dubbo.common.serialize.Serialization</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectInput</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectOutput</code></li>\n</ul>\n<h2>Extension Configuration</h2>\n<pre><code class=\"langu [...]
"link": "/en-us/docs/dev/impls/serialize.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/status-checker.html b/en-us/docs/dev/impls/status-checker.html
index 649a552..3efee8d 100644
--- a/en-us/docs/dev/impls/status-checker.html
+++ b/en-us/docs/dev/impls/status-checker.html
@@ -57,7 +57,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.status.StatusChecker:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxStatusChecker</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxStatusChecker
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/status-checker.json b/en-us/docs/dev/impls/status-checker.json
index 8146564..1cee586 100644
--- a/en-us/docs/dev/impls/status-checker.json
+++ b/en-us/docs/dev/impls/status-checker.json
@@ -1,6 +1,6 @@
{
"filename": "status-checker.md",
- "__html": "<h1>StatusChecker Extension</h1>\n<h2>Summary</h2>\n<p>Extension to check status of resources service depends on. This status checker can be used in both telnet status command and status page.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.status.StatusChecker</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">status</span>= [...]
+ "__html": "<h1>StatusChecker Extension</h1>\n<h2>Summary</h2>\n<p>Extension to check status of resources service depends on. This status checker can be used in both telnet status command and status page.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.status.StatusChecker</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">status</span>= [...]
"link": "/en-us/docs/dev/impls/status-checker.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/telnet-handler.html b/en-us/docs/dev/impls/telnet-handler.html
index 0c0107c..d76fd0f 100644
--- a/en-us/docs/dev/impls/telnet-handler.html
+++ b/en-us/docs/dev/impls/telnet-handler.html
@@ -63,7 +63,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.telnet.TelnetHandler:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxTelnetHandler</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxTelnetHandler
</code></pre>
<h2>用法</h2>
<pre><code class="language-sh">telnet 127.0.0.1 20880
diff --git a/en-us/docs/dev/impls/telnet-handler.json b/en-us/docs/dev/impls/telnet-handler.json
index 3b4a8b0..0332aa6 100644
--- a/en-us/docs/dev/impls/telnet-handler.json
+++ b/en-us/docs/dev/impls/telnet-handler.json
@@ -1,6 +1,6 @@
{
"filename": "telnet-handler.md",
- "__html": "<h1>TelnetHandler Extension</h1>\n<h2>Summary</h2>\n<p>Extension to telnet command. All server should support telnet access for operation convenience.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.remoting.telnet.TelnetHandler</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">telnet</span>=<span class=\"hljs-string\">\"xxx,yyy\"< [...]
+ "__html": "<h1>TelnetHandler Extension</h1>\n<h2>Summary</h2>\n<p>Extension to telnet command. All server should support telnet access for operation convenience.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.remoting.telnet.TelnetHandler</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">telnet</span>=<span class=\"hljs-string\">\"xxx,yyy\"< [...]
"link": "/en-us/docs/dev/impls/telnet-handler.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/threadpool.html b/en-us/docs/dev/impls/threadpool.html
index a5302a5..8ce6d06 100644
--- a/en-us/docs/dev/impls/threadpool.html
+++ b/en-us/docs/dev/impls/threadpool.html
@@ -53,7 +53,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.threadpool.ThreadPool:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxThreadPool</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxThreadPool
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/threadpool.json b/en-us/docs/dev/impls/threadpool.json
index df51ea4..3d607ec 100644
--- a/en-us/docs/dev/impls/threadpool.json
+++ b/en-us/docs/dev/impls/threadpool.json
@@ -1,6 +1,6 @@
{
"filename": "threadpool.md",
- "__html": "<h1>ThreadPool Extension</h1>\n<h2>Summary</h2>\n<p>Thread pool strategy extension for service provider. When server receives one request, it needs a thread from thread pool to execute business logic in service provider.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.threadpool.ThreadPool</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class [...]
+ "__html": "<h1>ThreadPool Extension</h1>\n<h2>Summary</h2>\n<p>Thread pool strategy extension for service provider. When server receives one request, it needs a thread from thread pool to execute business logic in service provider.</p>\n<h2>Extension Interface</h2>\n<p><code>org.apache.dubbo.common.threadpool.ThreadPool</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class [...]
"link": "/en-us/docs/dev/impls/threadpool.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/impls/validation.html b/en-us/docs/dev/impls/validation.html
index 95df89e..7eab4ea 100644
--- a/en-us/docs/dev/impls/validation.html
+++ b/en-us/docs/dev/impls/validation.html
@@ -63,7 +63,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.validation.Validation:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxValidation</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxValidation
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/impls/validation.json b/en-us/docs/dev/impls/validation.json
index ce78250..e207bdc 100644
--- a/en-us/docs/dev/impls/validation.json
+++ b/en-us/docs/dev/impls/validation.json
@@ -1,6 +1,6 @@
{
"filename": "validation.md",
- "__html": "<h1>Validation Extension</h1>\n<h2>Summary</h2>\n<p>Extension for parameter validation.</p>\n<h2>Extension Inteface</h2>\n<p><code>org.apache.dubbo.validation.Validation</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">validation</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- default con [...]
+ "__html": "<h1>Validation Extension</h1>\n<h2>Summary</h2>\n<p>Extension for parameter validation.</p>\n<h2>Extension Inteface</h2>\n<p><code>org.apache.dubbo.validation.Validation</code></p>\n<h2>Extension Configuration</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">validation</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- default con [...]
"link": "/en-us/docs/dev/impls/validation.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/configuration/properties.html b/en-us/docs/user/configuration/properties.html
index ddedb33..bb4b9d0 100644
--- a/en-us/docs/user/configuration/properties.html
+++ b/en-us/docs/user/configuration/properties.html
@@ -27,9 +27,9 @@
<li><code>dubbo.registry.china.address=10.20.153.10:9090</code> equals to <code><dubbo:registry id="china" address="10.20.153.10:9090" /></code></li>
</ul>
<p>Here is a typical dubbo.properties demo configuration:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">foo</span>
-<span class="hljs-meta">dubbo.application.owner</span>=<span class="hljs-string">bar</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">10.20.153.10:9090</span>
+<pre><code class="language-properties">dubbo.application.name=foo
+dubbo.application.owner=bar
+dubbo.registry.address=10.20.153.10:9090
</code></pre>
<h2>Overrides and Priorities</h2>
<p><img src="../sources/images/dubbo-properties-override.jpg" alt="properties-override"></p>
diff --git a/en-us/docs/user/configuration/properties.json b/en-us/docs/user/configuration/properties.json
index d4250a0..ac1be06 100644
--- a/en-us/docs/user/configuration/properties.json
+++ b/en-us/docs/user/configuration/properties.json
@@ -1,6 +1,6 @@
{
"filename": "properties.md",
- "__html": "<h1>Properties Configuration</h1>\n<p>If your application is simple enough, say, you do not need multi-registries or multi-protocols, and you want to share configuration among Spring containers. You can use <code>dubbo.properties</code> as default configuration.</p>\n<p>Dubbo will load dubbo.properties under the root of classpath automatically, you can also specify the path for loading this file by using JVM parameter: <code>-Ddubbo.properties.file=xxx.properties</code>.</p> [...]
+ "__html": "<h1>Properties Configuration</h1>\n<p>If your application is simple enough, say, you do not need multi-registries or multi-protocols, and you want to share configuration among Spring containers. You can use <code>dubbo.properties</code> as default configuration.</p>\n<p>Dubbo will load dubbo.properties under the root of classpath automatically, you can also specify the path for loading this file by using JVM parameter: <code>-Ddubbo.properties.file=xxx.properties</code>.</p> [...]
"link": "/en-us/docs/user/configuration/properties.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/configuration/xml.html b/en-us/docs/user/configuration/xml.html
index 216a26d..b17de0a 100644
--- a/en-us/docs/user/configuration/xml.html
+++ b/en-us/docs/user/configuration/xml.html
@@ -15,7 +15,7 @@
<div id="root"><div class="documentation-page" data-reactroot=""><header class="header-container header-container-normal"><div class="header-body"><a href="/en-us/index.html"><img class="logo" src="/img/dubbo_colorful.png"/></a><div class="search search-normal"><span class="icon-search"></span></div><span class="language-switch language-switch-normal">中</span><div class="header-menu"><img class="header-menu-toggle" src="/img/menu_gray.png"/><ul><li class="menu-item menu-item-normal"><a [...]
<p>About the XML configuration items, see:<a href="../references/xml/introduction.md">XML References</a>. If you prefer use API directly instead of using Spring, see <a href="./api.md">API Configuration</a>. Want a example of how to use configuration, see <a href="../quick-start.md">Quick Start</a>。</p>
<h2>provider.xml demo</h2>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/en-us/docs/user/configuration/xml.json b/en-us/docs/user/configuration/xml.json
index ad0a9f0..d8a40a7 100644
--- a/en-us/docs/user/configuration/xml.json
+++ b/en-us/docs/user/configuration/xml.json
@@ -1,6 +1,6 @@
{
"filename": "xml.md",
- "__html": "<h1>XML Configuration</h1>\n<p>About the XML configuration items, see:<a href=\"../references/xml/introduction.md\">XML References</a>. If you prefer use API directly instead of using Spring, see <a href=\"./api.md\">API Configuration</a>. Want a example of how to use configuration, see <a href=\"../quick-start.md\">Quick Start</a>。</p>\n<h2>provider.xml demo</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-meta\"><?xml version=\"1.0\" encoding=\"UTF-8\"?></s [...]
+ "__html": "<h1>XML Configuration</h1>\n<p>About the XML configuration items, see:<a href=\"../references/xml/introduction.md\">XML References</a>. If you prefer use API directly instead of using Spring, see <a href=\"./api.md\">API Configuration</a>. Want a example of how to use configuration, see <a href=\"../quick-start.md\">Quick Start</a>。</p>\n<h2>provider.xml demo</h2>\n<pre><code class=\"language-xml\"><span class=\"php\"><span class=\"hljs-meta\"><?</span>xml version=<span c [...]
"link": "/en-us/docs/user/configuration/xml.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/dump.html b/en-us/docs/user/demos/dump.html
index f470d30..a7e6958 100644
--- a/en-us/docs/user/demos/dump.html
+++ b/en-us/docs/user/demos/dump.html
@@ -20,8 +20,8 @@
<li>Export interval,The shortest interval allows you to export every 10 minutes</li>
</ul>
<p>Specified export file path:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># dubbo.properties</span>
-<span class="hljs-meta">dubbo.application.dump.directory</span>=<span class="hljs-string">/tmp</span>
+<pre><code class="language-properties"># dubbo.properties
+dubbo.application.dump.directory=/tmp
</code></pre>
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:application</span> <span class="hljs-attr">...</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dubbo:parameter</span> <span class="hljs-attr">key</span>=<span class="hljs-string">"dump.directory"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"/tmp"</span> /></span>
diff --git a/en-us/docs/user/demos/dump.json b/en-us/docs/user/demos/dump.json
index f19d8b5..50c8728 100644
--- a/en-us/docs/user/demos/dump.json
+++ b/en-us/docs/user/demos/dump.json
@@ -1,6 +1,6 @@
{
"filename": "dump.md",
- "__html": "<h1>Dump</h1>\n<p>When the business thread pool is full, we need to know what resources/conditions are waiting for the thread , to find the bottleneck point of the system or abnormal point. <code>dubbo</code> automatically export thread stack through <code>Jstack</code> to keep the scene for easy to troubleshoot the problem.</p>\n<p>Default policy:</p>\n<ul>\n<li>Export file path,user.home directory</li>\n<li>Export interval,The shortest interval allows you to export every 1 [...]
+ "__html": "<h1>Dump</h1>\n<p>When the business thread pool is full, we need to know what resources/conditions are waiting for the thread , to find the bottleneck point of the system or abnormal point. <code>dubbo</code> automatically export thread stack through <code>Jstack</code> to keep the scene for easy to troubleshoot the problem.</p>\n<p>Default policy:</p>\n<ul>\n<li>Export file path,user.home directory</li>\n<li>Export interval,The shortest interval allows you to export every 1 [...]
"link": "/en-us/docs/user/demos/dump.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/explicit-target.html b/en-us/docs/user/demos/explicit-target.html
index 076e55c..90a1de7 100644
--- a/en-us/docs/user/demos/explicit-target.html
+++ b/en-us/docs/user/demos/explicit-target.html
@@ -28,7 +28,7 @@
<pre><code class="language-sh">java -Ddubbo.resolve.file=xxx.properties
</code></pre>
<p>Then add the configuration in the mapping file <code>xxx.properties</code>, where key is the service name and value is the service provider URL:</p>
-<pre><code class="language-properties"><span class="hljs-meta">com.alibaba.xxx.XxxService</span>=<span class="hljs-string">dubbo://localhost:20890</span>
+<pre><code class="language-properties">com.alibaba.xxx.XxxService=dubbo://localhost:20890
</code></pre>
<p><strong>NOTE</strong> To avoid complicating the online environment, do not use this feature online and should only be used during the testing phase</p>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
diff --git a/en-us/docs/user/demos/explicit-target.json b/en-us/docs/user/demos/explicit-target.json
index 8184204..672d47a 100644
--- a/en-us/docs/user/demos/explicit-target.json
+++ b/en-us/docs/user/demos/explicit-target.json
@@ -1,6 +1,6 @@
{
"filename": "explicit-target.md",
- "__html": "<h1>Explicit target</h1>\n<p>In the development and testing environment, it is often necessary to bypass the registry and test only designated service providers. In this case, point-to-point direct connection may be required, and the service provider will ignore the list of provider registration providers. The interface A configure Point-to-point, does not affect the B interface to obtain a list from the registry.</p>\n<p><img src=\"../sources/images/dubbo-directly.jpg\" alt [...]
+ "__html": "<h1>Explicit target</h1>\n<p>In the development and testing environment, it is often necessary to bypass the registry and test only designated service providers. In this case, point-to-point direct connection may be required, and the service provider will ignore the list of provider registration providers. The interface A configure Point-to-point, does not affect the B interface to obtain a list from the registry.</p>\n<p><img src=\"../sources/images/dubbo-directly.jpg\" alt [...]
"link": "/en-us/docs/user/demos/explicit-target.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/graceful-shutdown.html b/en-us/docs/user/demos/graceful-shutdown.html
index 7e04009..79556e5 100644
--- a/en-us/docs/user/demos/graceful-shutdown.html
+++ b/en-us/docs/user/demos/graceful-shutdown.html
@@ -27,8 +27,8 @@
</ul>
<h2>Configuration shutdown wait time</h2>
<p>Set graceful shutdown timeout, the default timeout is 10 seconds, if the overtime is forced to close.</p>
-<pre><code class="language-properties"><span class="hljs-comment"># dubbo.properties</span>
-<span class="hljs-meta">dubbo.service.shutdown.wait</span>=<span class="hljs-string">15000</span>
+<pre><code class="language-properties"># dubbo.properties
+dubbo.service.shutdown.wait=15000
</code></pre>
<p>If ShutdownHook does not take effect, you can call it yourself, <strong>in tomcat, it is recommended by extending the ContextListener and call the following code for graceful shutdown</strong>:</p>
<pre><code class="language-java">ProtocolConfig.destroyAll();
diff --git a/en-us/docs/user/demos/graceful-shutdown.json b/en-us/docs/user/demos/graceful-shutdown.json
index e2554fe..915b27c 100644
--- a/en-us/docs/user/demos/graceful-shutdown.json
+++ b/en-us/docs/user/demos/graceful-shutdown.json
@@ -1,6 +1,6 @@
{
"filename": "graceful-shutdown.md",
- "__html": "<h1>Graceful Shutdown</h1>\n<p>Dubbo is graceful shutdown through the <code>ShutdownHook</code> of the JDK, so graceful shutdowns are not performed if you force shutdown the command, such as <code>kill -9 PID</code>, and will only be executed if <code>kill PID</code> is passed.</p>\n<h2>Howto</h2>\n<h3>Service provider</h3>\n<ul>\n<li>When stop, first marked as not receiving new requests, the new request directly return the error, so that the client retries other machines.</ [...]
+ "__html": "<h1>Graceful Shutdown</h1>\n<p>Dubbo is graceful shutdown through the <code>ShutdownHook</code> of the JDK, so graceful shutdowns are not performed if you force shutdown the command, such as <code>kill -9 PID</code>, and will only be executed if <code>kill PID</code> is passed.</p>\n<h2>Howto</h2>\n<h3>Service provider</h3>\n<ul>\n<li>When stop, first marked as not receiving new requests, the new request directly return the error, so that the client retries other machines.</ [...]
"link": "/en-us/docs/user/demos/graceful-shutdown.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/hostname-binding.html b/en-us/docs/user/demos/hostname-binding.html
index 5e8f9ef..71e1b2d 100644
--- a/en-us/docs/user/demos/hostname-binding.html
+++ b/en-us/docs/user/demos/hostname-binding.html
@@ -34,7 +34,7 @@
</li>
<li>
<p>or config that in <code>dubbo.properties</code>:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.protocol.host</span>=<span class="hljs-string">205.182.23.201</span>
+<pre><code class="language-properties">dubbo.protocol.host=205.182.23.201
</code></pre>
</li>
</ol>
@@ -87,7 +87,7 @@
</li>
<li>
<p>or config that in <code>dubbo.properties</code>:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.protocol.dubbo.port</span>=<span class="hljs-string">20880</span>
+<pre><code class="language-properties">dubbo.protocol.dubbo.port=20880
</code></pre>
</li>
</ol>
diff --git a/en-us/docs/user/demos/hostname-binding.json b/en-us/docs/user/demos/hostname-binding.json
index 4f74f92..217850a 100644
--- a/en-us/docs/user/demos/hostname-binding.json
+++ b/en-us/docs/user/demos/hostname-binding.json
@@ -1,6 +1,6 @@
{
"filename": "hostname-binding.md",
- "__html": "<h1>Hostname Binding</h1>\n<h2>Lookup order</h2>\n<p>Default host IP lookup order:</p>\n<ul>\n<li>Get local address via <code>LocalHost.getLocalHost()</code>.</li>\n<li>If it is <code>127. *</code> loopback address, then scan the network for host IP</li>\n</ul>\n<h2>Host configuration</h2>\n<p>Registered address if it is not correct, such as the need to register public address, you can do this:</p>\n<ol>\n<li>\n<p>edit <code>/etc/hosts</code> : add machinename and public ip, [...]
+ "__html": "<h1>Hostname Binding</h1>\n<h2>Lookup order</h2>\n<p>Default host IP lookup order:</p>\n<ul>\n<li>Get local address via <code>LocalHost.getLocalHost()</code>.</li>\n<li>If it is <code>127. *</code> loopback address, then scan the network for host IP</li>\n</ul>\n<h2>Host configuration</h2>\n<p>Registered address if it is not correct, such as the need to register public address, you can do this:</p>\n<ol>\n<li>\n<p>edit <code>/etc/hosts</code> : add machinename and public ip, [...]
"link": "/en-us/docs/user/demos/hostname-binding.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/logger-strategy.html b/en-us/docs/user/demos/logger-strategy.html
index afe8d14..f1c871c 100644
--- a/en-us/docs/user/demos/logger-strategy.html
+++ b/en-us/docs/user/demos/logger-strategy.html
@@ -22,7 +22,7 @@
</li>
<li>
<p>Configure in <code>dubbo.properties</code></p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.logger</span>=<span class="hljs-string">log4j</span>
+<pre><code class="language-properties">dubbo.application.logger=log4j
</code></pre>
</li>
<li>
diff --git a/en-us/docs/user/demos/logger-strategy.json b/en-us/docs/user/demos/logger-strategy.json
index 54d7b08..4e8ee41 100644
--- a/en-us/docs/user/demos/logger-strategy.json
+++ b/en-us/docs/user/demos/logger-strategy.json
@@ -1,6 +1,6 @@
{
"filename": "logger-strategy.md",
- "__html": "<h1>Logger adapter</h1>\n<p><code>2.2.1</code> or later, dubbo support log4j、slf4j、jcl、jdk adapters <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>, you can also explicitly configure the log output policy in the following ways:</p>\n<ol start=\"0\">\n<li>\n<p>Command</p>\n<pre><code class=\"language-sh\">java -Ddubbo.application.logger=log4j\n</code></pre>\n</li>\n<li>\n<p>Configure in <code>dubbo.properties</code></p>\n<pre><code class=\"language-pr [...]
+ "__html": "<h1>Logger adapter</h1>\n<p><code>2.2.1</code> or later, dubbo support log4j、slf4j、jcl、jdk adapters <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>, you can also explicitly configure the log output policy in the following ways:</p>\n<ol start=\"0\">\n<li>\n<p>Command</p>\n<pre><code class=\"language-sh\">java -Ddubbo.application.logger=log4j\n</code></pre>\n</li>\n<li>\n<p>Configure in <code>dubbo.properties</code></p>\n<pre><code class=\"language-pr [...]
"link": "/en-us/docs/user/demos/logger-strategy.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/multi-protocols.html b/en-us/docs/user/demos/multi-protocols.html
index 8ef0298..d2a2201 100644
--- a/en-us/docs/user/demos/multi-protocols.html
+++ b/en-us/docs/user/demos/multi-protocols.html
@@ -16,7 +16,7 @@
<p>Dubbo allows you to configure multiple protocols, support different protocols on different services, or support multiple protocols on the same service.</p>
<h2>Every service export to one specific protocol separately</h2>
<p>Different protocol performance is not the same. Such as big data should use short connection protocol, small data and concurrent should use long connection protocol.</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -33,7 +33,7 @@
<span class="hljs-tag"></<span class="hljs-name">beans</span>></span>
</code></pre>
<h2>One service export to several protocols</h2>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/en-us/docs/user/demos/multi-protocols.json b/en-us/docs/user/demos/multi-protocols.json
index bf73dab..704ebe0 100644
--- a/en-us/docs/user/demos/multi-protocols.json
+++ b/en-us/docs/user/demos/multi-protocols.json
@@ -1,6 +1,6 @@
{
"filename": "multi-protocols.md",
- "__html": "<h1>Multiple protocols</h1>\n<p>Dubbo allows you to configure multiple protocols, support different protocols on different services, or support multiple protocols on the same service.</p>\n<h2>Every service export to one specific protocol separately</h2>\n<p>Different protocol performance is not the same. Such as big data should use short connection protocol, small data and concurrent should use long connection protocol.</p>\n<pre><code class=\"language-xml\"><span class=\"h [...]
+ "__html": "<h1>Multiple protocols</h1>\n<p>Dubbo allows you to configure multiple protocols, support different protocols on different services, or support multiple protocols on the same service.</p>\n<h2>Every service export to one specific protocol separately</h2>\n<p>Different protocol performance is not the same. Such as big data should use short connection protocol, small data and concurrent should use long connection protocol.</p>\n<pre><code class=\"language-xml\"><span class=\"p [...]
"link": "/en-us/docs/user/demos/multi-protocols.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/multi-registry.html b/en-us/docs/user/demos/multi-registry.html
index 283d20e..39a16e4 100644
--- a/en-us/docs/user/demos/multi-registry.html
+++ b/en-us/docs/user/demos/multi-registry.html
@@ -16,7 +16,7 @@
<p>Dubbo supports the same service to register multiple registries, or different services were registered to different registries, or even reference the same name service from different registries. In addition, the registry supports custom extensions <sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup>。</p>
<h2>One service register to multiple registries</h2>
<p>For example: Alibaba some services are not deployed in Qingdao, only deployed in Hangzhou. While other applications in Qingdao need to reference this service, you can register your services to both registries at the same time.</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -31,7 +31,7 @@
</code></pre>
<h2>Different services register to different registries</h2>
<p>For example: Some CRM services are specifically designed for international stations, and some services are specifically designed for Chinese stations.</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -48,7 +48,7 @@
</code></pre>
<h2>Reference services from multiple registries</h2>
<p>For example: CRM needs to call the PC2 service of Chinese station and international station at the same time. PC2 is deployed in both Chinese station and international station. The interfaces and version numbers are the same, but the database used is different.</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -64,7 +64,7 @@
<span class="hljs-tag"></<span class="hljs-name">beans</span>></span>
</code></pre>
<p>When testing, the service needs to be temporarily register to two registries, which can use vertical signs to separate multiple different registry addresses:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/en-us/docs/user/demos/multi-registry.json b/en-us/docs/user/demos/multi-registry.json
index 443d82a..86e372a 100644
--- a/en-us/docs/user/demos/multi-registry.json
+++ b/en-us/docs/user/demos/multi-registry.json
@@ -1,6 +1,6 @@
{
"filename": "multi-registry.md",
- "__html": "<h1>Multiple registries</h1>\n<p>Dubbo supports the same service to register multiple registries, or different services were registered to different registries, or even reference the same name service from different registries. In addition, the registry supports custom extensions <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>。</p>\n<h2>One service register to multiple registries</h2>\n<p>For example: Alibaba some services are not deployed in Qingdao [...]
+ "__html": "<h1>Multiple registries</h1>\n<p>Dubbo supports the same service to register multiple registries, or different services were registered to different registries, or even reference the same name service from different registries. In addition, the registry supports custom extensions <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>。</p>\n<h2>One service register to multiple registries</h2>\n<p>For example: Alibaba some services are not deployed in Qingdao [...]
"link": "/en-us/docs/user/demos/multi-registry.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/preflight-check.html b/en-us/docs/user/demos/preflight-check.html
index 4172ca7..78c1422 100644
--- a/en-us/docs/user/demos/preflight-check.html
+++ b/en-us/docs/user/demos/preflight-check.html
@@ -29,10 +29,10 @@ otherwise the service will throw an exception when the service is temporarily un
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:registry</span> <span class="hljs-attr">check</span>=<span class="hljs-string">"false"</span> /></span>
</code></pre>
<h3>Use dubbo.properties</h3>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.reference.com.foo.BarService.check</span> = <span class="hljs-string">false</span>
-<span class="hljs-meta">dubbo.reference.check</span> = <span class="hljs-string">false</span>
-<span class="hljs-meta">dubbo.consumer.check</span> = <span class="hljs-string">false</span>
-<span class="hljs-meta">dubbo.registry.check</span> = <span class="hljs-string">false</span>
+<pre><code class="language-properties">dubbo.reference.com.foo.BarService.check = false
+dubbo.reference.check = false
+dubbo.consumer.check = false
+dubbo.registry.check = false
</code></pre>
<h3>Use the -D parameter</h3>
<pre><code class="language-sh">java -Ddubbo.reference.com.foo.BarService.check = <span class="hljs-literal">false</span>
diff --git a/en-us/docs/user/demos/preflight-check.json b/en-us/docs/user/demos/preflight-check.json
index 17ab13d..5dcba7d 100644
--- a/en-us/docs/user/demos/preflight-check.json
+++ b/en-us/docs/user/demos/preflight-check.json
@@ -1,6 +1,6 @@
{
"filename": "preflight-check.md",
- "__html": "<h1>Check on start up</h1>\n<p>By default dubbo will check if the dependent service is available at startup . It will throw an exception to prevent Spring complete initialization when it is not available, so that you can find the problems early before publishing you application, the default setting: <code>check=true</code>.</p>\n<p>You can turn off checking by <code>check=false</code>. For example, some services do not care it when you run testing, or you must have one start [...]
+ "__html": "<h1>Check on start up</h1>\n<p>By default dubbo will check if the dependent service is available at startup . It will throw an exception to prevent Spring complete initialization when it is not available, so that you can find the problems early before publishing you application, the default setting: <code>check=true</code>.</p>\n<p>You can turn off checking by <code>check=false</code>. For example, some services do not care it when you run testing, or you must have one start [...]
"link": "/en-us/docs/user/demos/preflight-check.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/demos/service-container.html b/en-us/docs/user/demos/service-container.html
index a4f2a0b..7e02850 100644
--- a/en-us/docs/user/demos/service-container.html
+++ b/en-us/docs/user/demos/service-container.html
@@ -21,7 +21,7 @@
<ul>
<li>
<p>Automatically load all spring configurations in the <code>META-INF/spring</code>.</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.spring.config</span>=<span class="hljs-string">classpath*:META-INF/spring/*.xml</span>
+<pre><code class="language-properties">dubbo.spring.config=classpath*:META-INF/spring/*.xml
</code></pre>
</li>
</ul>
diff --git a/en-us/docs/user/demos/service-container.json b/en-us/docs/user/demos/service-container.json
index 1b81cbe..f4ccb06 100644
--- a/en-us/docs/user/demos/service-container.json
+++ b/en-us/docs/user/demos/service-container.json
@@ -1,6 +1,6 @@
{
"filename": "service-container.md",
- "__html": "<h1>Service container</h1>\n<p>The service container is a standalone launcher because the backend service does not require the functionality of a Web container ,such as Tomcat or JBoss. If you insist on using web containers to load service providers, that increase complexity and is waste of resources.</p>\n<p>The service container is just a simple Main method and loads a simple Spring container to expose the service.</p>\n<p>The content of Service container can be extended, [...]
+ "__html": "<h1>Service container</h1>\n<p>The service container is a standalone launcher because the backend service does not require the functionality of a Web container ,such as Tomcat or JBoss. If you insist on using web containers to load service providers, that increase complexity and is waste of resources.</p>\n<p>The service container is just a simple Main method and loads a simple Spring container to expose the service.</p>\n<p>The content of Service container can be extended, [...]
"link": "/en-us/docs/user/demos/service-container.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/quick-start.html b/en-us/docs/user/quick-start.html
index 751911c..49bf3a7 100644
--- a/en-us/docs/user/quick-start.html
+++ b/en-us/docs/user/quick-start.html
@@ -133,7 +133,7 @@ log4j.appender.stdout.layout.ConversionPattern=[%d{dd/MM/yy hh:mm:ss:sss z}] %t
<p>Complete installation steps, see:<a href="../admin/install/consumer-demo.md">Consumer demo installation</a></p>
<h3>Using the Spring configuration to reference a remote service</h3>
<p>consumer.xml:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
<span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
diff --git a/en-us/docs/user/quick-start.json b/en-us/docs/user/quick-start.json
index 5c5da0c..44b36ea 100644
--- a/en-us/docs/user/quick-start.json
+++ b/en-us/docs/user/quick-start.json
@@ -1,6 +1,6 @@
{
"filename": "quick-start.md",
- "__html": "<h1>Quick start</h1>\n<p>The most common way to use Dubbo is to run it in Spring framework. The following content will guide you to develop a Dubbo application with Spring framework's <a href=\"https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\">XML configuration</a>.</p>\n<p>If you don't want to rely on Spring, you can try using <a href=\"./configuration/api.md\">API configuration</a>.</p>\n<p>First let's create a root directory [...]
+ "__html": "<h1>Quick start</h1>\n<p>The most common way to use Dubbo is to run it in Spring framework. The following content will guide you to develop a Dubbo application with Spring framework's <a href=\"https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\">XML configuration</a>.</p>\n<p>If you don't want to rely on Spring, you can try using <a href=\"./configuration/api.md\">API configuration</a>.</p>\n<p>First let's create a root directory [...]
"link": "/en-us/docs/user/quick-start.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/references/protocol/rmi.html b/en-us/docs/user/references/protocol/rmi.html
index d865228..dd09d89 100644
--- a/en-us/docs/user/references/protocol/rmi.html
+++ b/en-us/docs/user/references/protocol/rmi.html
@@ -30,7 +30,7 @@
<li>The timeout configuration for RMI is invalid, you need to use java startup parameter settings:<code>-Dsun.rmi.transport.tcp.responseTimeout=3000</code>,see the RMI configuration below</li>
</ul>
<h2>Configuration in dubbo.properties</h2>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.service.protocol</span>=<span class="hljs-string">rmi</span>
+<pre><code class="language-properties">dubbo.service.protocol=rmi
</code></pre>
<h2>RMI Configuration</h2>
<pre><code class="language-sh">java -Dsun.rmi.transport.tcp.responseTimeout=3000
diff --git a/en-us/docs/user/references/protocol/rmi.json b/en-us/docs/user/references/protocol/rmi.json
index 81209f4..f0ad96b 100644
--- a/en-us/docs/user/references/protocol/rmi.json
+++ b/en-us/docs/user/references/protocol/rmi.json
@@ -1,6 +1,6 @@
{
"filename": "rmi.md",
- "__html": "<h1>rmi://</h1>\n<p>The RMI protocol uses the JDK standard <code>java.rmi.*</code> Implementation, using a block short connection and JDK standard serialization.</p>\n<h2>Features</h2>\n<ul>\n<li>Number of connections: multiple connections</li>\n<li>Connection: short connection</li>\n<li>Transmission protocol: HTTP</li>\n<li>Transmission: synchronous transmission</li>\n<li>Serialization: Java standard Object Serialization</li>\n<li>Scope of application:the number of provider [...]
+ "__html": "<h1>rmi://</h1>\n<p>The RMI protocol uses the JDK standard <code>java.rmi.*</code> Implementation, using a block short connection and JDK standard serialization.</p>\n<h2>Features</h2>\n<ul>\n<li>Number of connections: multiple connections</li>\n<li>Connection: short connection</li>\n<li>Transmission protocol: HTTP</li>\n<li>Transmission: synchronous transmission</li>\n<li>Serialization: Java standard Object Serialization</li>\n<li>Scope of application:the number of provider [...]
"link": "/en-us/docs/user/references/protocol/rmi.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/references/qos.html b/en-us/docs/user/references/qos.html
index f557753..bc4252c 100644
--- a/en-us/docs/user/references/qos.html
+++ b/en-us/docs/user/references/qos.html
@@ -180,7 +180,7 @@ dubbo.application.qos.accept.foreign.ip=false
</code></pre>
<h3>XML</h3>
<p>If you are going to config using XML, you can try this:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/en-us/docs/user/references/qos.json b/en-us/docs/user/references/qos.json
index 111c1fa..4b2e37f 100644
--- a/en-us/docs/user/references/qos.json
+++ b/en-us/docs/user/references/qos.json
@@ -1,6 +1,6 @@
{
"filename": "qos.md",
- "__html": "<h1>Telnet (new version) Command Usage</h1>\n<p>In dubbo <code>2.5.8</code> a new QOS module is introduced, to provide new telnet command support.</p>\n<h2>Port</h2>\n<p>the port of new version telnet is different from the port of dubbo protocol. The default port is <code>22222</code>, which can be changed by modifying configuration file <code>dubbo.properties</code></p>\n<pre><code>dubbo.application.qos.port=33333\n</code></pre>\n<p>or by modifying the JVM parameter</p>\n<p [...]
+ "__html": "<h1>Telnet (new version) Command Usage</h1>\n<p>In dubbo <code>2.5.8</code> a new QOS module is introduced, to provide new telnet command support.</p>\n<h2>Port</h2>\n<p>the port of new version telnet is different from the port of dubbo protocol. The default port is <code>22222</code>, which can be changed by modifying configuration file <code>dubbo.properties</code></p>\n<pre><code>dubbo.application.qos.port=33333\n</code></pre>\n<p>or by modifying the JVM parameter</p>\n<p [...]
"link": "/en-us/docs/user/references/qos.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/user/references/registry/simple.html b/en-us/docs/user/references/registry/simple.html
index 2da2eff..03ad03a 100644
--- a/en-us/docs/user/references/registry/simple.html
+++ b/en-us/docs/user/references/registry/simple.html
@@ -16,7 +16,7 @@
<p>Simple registry server itself is a regular dubbo service. In this way, third-party dependency is unnecessary, and communication keeps consistent at the same moment.</p>
<h2>Configuration</h2>
<p>Register simple registry server as dubbo service:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/en-us/docs/user/references/registry/simple.json b/en-us/docs/user/references/registry/simple.json
index fe04956..0b3d786 100644
--- a/en-us/docs/user/references/registry/simple.json
+++ b/en-us/docs/user/references/registry/simple.json
@@ -1,6 +1,6 @@
{
"filename": "simple.md",
- "__html": "<h1>Simple Registry Server</h1>\n<p>Simple registry server itself is a regular dubbo service. In this way, third-party dependency is unnecessary, and communication keeps consistent at the same moment.</p>\n<h2>Configuration</h2>\n<p>Register simple registry server as dubbo service:</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-meta\"><?xml version=\"1.0\" encoding=\"UTF-8\"?></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">beans</span> <span [...]
+ "__html": "<h1>Simple Registry Server</h1>\n<p>Simple registry server itself is a regular dubbo service. In this way, third-party dependency is unnecessary, and communication keeps consistent at the same moment.</p>\n<h2>Configuration</h2>\n<p>Register simple registry server as dubbo service:</p>\n<pre><code class=\"language-xml\"><span class=\"php\"><span class=\"hljs-meta\"><?</span>xml version=<span class=\"hljs-string\">\"1.0\"</span> encoding=<span class=\"hljs-string\">\"UTF-8 [...]
"link": "/en-us/docs/user/references/registry/simple.html",
"meta": {}
}
\ No newline at end of file
diff --git a/package.json b/package.json
index ba21b4b..b83e3c0 100644
--- a/package.json
+++ b/package.json
@@ -45,6 +45,7 @@
"antd": "^3.16.6",
"classnames": "^2.2.5",
"core-decorators": "^0.20.0",
+ "enquire.js": "^2.1.6",
"js-cookie": "^2.2.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
diff --git a/src/components/header/index.scss b/src/components/header/index.scss
index 169dddc..75b2e18 100644
--- a/src/components/header/index.scss
+++ b/src/components/header/index.scss
@@ -187,7 +187,7 @@
}
}
-@media screen and (max-width: $mobileWidth) {
+@media screen and (max-width: 1020px) {
.header-container {
.header-body {
.logo {
@@ -230,7 +230,7 @@
background: $endColor;
a {
color: #fff;
- opactiy: 1;
+ opacity: 1;
}
}
}
@@ -238,7 +238,7 @@
background: $endColor;
a {
color: #fff;
- opactiy: 1;
+ opacity: 1;
}
}
}
diff --git a/src/pages/ecology/index.jsx b/src/pages/ecology/index.jsx
index bce6e8b..42f277b 100644
--- a/src/pages/ecology/index.jsx
+++ b/src/pages/ecology/index.jsx
@@ -1,5 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
+import enquire from 'enquire.js';
import Language from '../../components/language';
import Header from '../../components/header';
import Footer from '../../components/footer';
@@ -11,6 +12,30 @@ import { getLink } from '../../../utils';
import './index.scss';
class Ecology extends Language {
+ constructor(props) {
+ super(props);
+ this.state = {
+ vertical: true,
+ };
+ }
+
+ componentDidMount() {
+ enquire.register('screen and (max-width: 640px)', {
+ match: () => {
+ this.setState({
+ vertical: false,
+ });
+ },
+ unmatch: () => {
+ this.setState({
+ vertical: true,
+ });
+ },
+ // Keep a empty destory to avoid triggering unmatch when unregister
+ destroy: () => {},
+ });
+ }
+
render() {
const language = this.getLanguage();
const dataSource = ecologyConfig[language];
@@ -51,7 +76,7 @@ class Ecology extends Language {
<div className="right-part">
{
dataSource.body.slice(-1).map(d => (
- <Memo key={d.title} vertical title={d.title} bgColor={d.bgColor}>
+ <Memo key={d.title} vertical={this.state.vertical} title={d.title} bgColor={d.bgColor}>
{
d.children.map(sd => (
<Card key={sd.title} title={sd.title}>
diff --git a/src/pages/ecology/index.scss b/src/pages/ecology/index.scss
index e98d640..9bfe6ae 100644
--- a/src/pages/ecology/index.scss
+++ b/src/pages/ecology/index.scss
@@ -61,16 +61,17 @@
&::before {
content: '';
display: block;
- border-left: 1px solid #f8f8ff;
+ border-left: 1px solid #f8f8f8;
position: absolute;
left: 0;
top: 0;
height: 100%;
+ z-index: 1;
}
&::after {
content: '';
display: block;
- border-bottom: 1px solid #f8f8ff;
+ border-bottom: 1px solid #f8f8f8;
position: absolute;
left: 0;
bottom: 0;
@@ -82,15 +83,15 @@
padding: 8px 4px 4px 8px;
min-width: 144px;
height: 116px;
- border-left: 1px solid #D8D8D8;
- border-bottom: 1px solid #D8D8D8;
+ border-left: 1px solid #e8e8e8;
+ border-bottom: 1px solid #e8e8e8;
position: relative;
// 障眼法,用线实现分行的效果
&::after {
content: '';
position: absolute;
width: 2000px;
- border-bottom: 1px solid #D8D8D8;
+ border-bottom: 1px solid #e8e8e8;
left: 114px;
bottom: -1px;
}
@@ -106,7 +107,7 @@
writing-mode: horizontal-tb;
box-sizing: border-box;
background: #fff;
- border: 1px solid #d8d8d8;
+ border: 1px solid #e8e8e8;
width: 40px;
height: 36px;
line-height: 34px;
@@ -160,7 +161,7 @@
width: 144px;
height: auto;
border: none;
- border-bottom: 1px solid #D8D8D8;
+ border-bottom: 1px solid #e8e8e8;
&::after {
display: none;
}
@@ -179,7 +180,7 @@
writing-mode: horizontal-tb;
box-sizing: border-box;
background: #fff;
- border: 1px solid #d8d8d8;
+ border: 1px solid #e8e8e8;
width: 40px;
height: 36px;
line-height: 34px;
@@ -219,7 +220,7 @@
height: 162px;
line-height: 162px;
box-sizing: border-box;
- border: 1px solid #d8d8d8;
+ border: 1px solid #e8e8e8;
text-align: center;
img {
max-width: 100%;
@@ -273,4 +274,14 @@
}
}
}
+}
+
+@media screen and (max-width: 640px) {
+ .ecology-page {
+ .eco-container {
+ .eco-body {
+ display: block;
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/src/pages/ecology/memo.jsx b/src/pages/ecology/memo.jsx
index 69afb3e..ef644a9 100644
--- a/src/pages/ecology/memo.jsx
+++ b/src/pages/ecology/memo.jsx
@@ -2,21 +2,36 @@ import React from 'react';
import Tooltip from 'antd/lib/tooltip';
import 'antd/lib/tooltip/style/index.css';
import classnames from 'classnames';
+import { throttle } from '../../../utils';
class Memo extends React.Component {
constructor(props) {
super(props);
this.title = null;
this.body = null;
+ this.adjustSizeThrottle = null;
}
componentDidMount() {
+ this.adjustSizeThrottle = throttle(this.adjustSize, 200);
+ this.adjustSizeThrottle();
+ window.addEventListener('resize', this.adjustSizeThrottle);
+ }
+
+ componentWillUnmount() {
+ window.removeEventListener('resize', this.adjustSizeThrottle);
+ }
+
+ adjustSize = () => {
if (!this.props.vertical) {
// 让body去决定整体的高度
this.title.style.display = 'none';
const height = this.body.getBoundingClientRect().height;
+ console.log('height', height);
this.title.style.height = `${height}px`;
this.title.style.display = 'inline-block';
+ } else {
+ this.title.style.height = '28px';
}
}
diff --git a/zh-cn/blog/dubbo-admin.html b/zh-cn/blog/dubbo-admin.html
index 68d06ab..f29a8fd 100644
--- a/zh-cn/blog/dubbo-admin.html
+++ b/zh-cn/blog/dubbo-admin.html
@@ -26,14 +26,14 @@ github: https://github.com/apache/incubator-dubbo-ops
<p>当前版本的Dubbo Admin包含了之前版本中的绝大部分功能,包括服务治理,服务查询等,同时支持了Dubbo2.7中服务治理的新特性。</p>
<h2>配置规范</h2>
<p>由于在Dubbo2.7中,配置中心和注册中心做了分离,并且增加了元数据中心,因此Dubbo Admin的配置方式也做了更新,<code>application.properties</code>中的配置如下:</p>
-<pre><code class="language-properties"><span class="hljs-meta">admin.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">admin.config-center</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">admin.metadata-report.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties">admin.registry.address=zookeeper://127.0.0.1:2181
+admin.config-center=zookeeper://127.0.0.1:2181
+admin.metadata-report.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>也可以和Dubbo2.7一样,在配置中心指定元数据和注册中心的地址,以zookeeper为例,配置的路径和内容如下:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># /dubbo/config/dubbo/dubbo.properties</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.metadata-report.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties"># /dubbo/config/dubbo/dubbo.properties
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.metadata-report.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>配置中心里的地址会覆盖掉本地<code>application.properties</code>的配置</p>
<h2>功能介绍</h2>
diff --git a/zh-cn/blog/dubbo-admin.json b/zh-cn/blog/dubbo-admin.json
index 215f85c..ced4106 100644
--- a/zh-cn/blog/dubbo-admin.json
+++ b/zh-cn/blog/dubbo-admin.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-admin.md",
- "__html": "<h1>新版Dubbo Admin介绍</h1>\n<pre><code>Demo地址:http://47.91.207.147/#/service \ngithub: https://github.com/apache/incubator-dubbo-ops\n</code></pre>\n<p>Dubbo Admin之前的版本过于老旧,也长期疏于维护,因此在去年年中的时候,对该项目进行了一次重构,项目结构上的变化如下:</p>\n<ul>\n<li>将后端框架从webx替换成spring boot</li>\n<li>前端采用Vue和Vuetify.js作为开发框架</li>\n<li>移除velocity模板</li>\n<li>集成swagger,提供api管理功能</li>\n</ul>\n<p>当前版本的Dubbo Admin包含了之前版本中的绝大部分功能,包括服务治理,服务查询等,同时支持了Dubbo2.7中服务治理的新特性。</p>\n<h2>配置规范</h2>\n<p>由于在Dubbo2.7中,配置中心和注册中心做了分离,并 [...]
+ "__html": "<h1>新版Dubbo Admin介绍</h1>\n<pre><code>Demo地址:http://47.91.207.147/#/service \ngithub: https://github.com/apache/incubator-dubbo-ops\n</code></pre>\n<p>Dubbo Admin之前的版本过于老旧,也长期疏于维护,因此在去年年中的时候,对该项目进行了一次重构,项目结构上的变化如下:</p>\n<ul>\n<li>将后端框架从webx替换成spring boot</li>\n<li>前端采用Vue和Vuetify.js作为开发框架</li>\n<li>移除velocity模板</li>\n<li>集成swagger,提供api管理功能</li>\n</ul>\n<p>当前版本的Dubbo Admin包含了之前版本中的绝大部分功能,包括服务治理,服务查询等,同时支持了Dubbo2.7中服务治理的新特性。</p>\n<h2>配置规范</h2>\n<p>由于在Dubbo2.7中,配置中心和注册中心做了分离,并 [...]
"link": "/zh-cn/blog/dubbo-admin.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/blog/dubbo-annotation-driven.html b/zh-cn/blog/dubbo-annotation-driven.html
index d2c5f35..36a9108 100644
--- a/zh-cn/blog/dubbo-annotation-driven.html
+++ b/zh-cn/blog/dubbo-annotation-driven.html
@@ -21,7 +21,7 @@
<p>在 Dubbo <code>2.5.7</code>之前的版本 ,Dubbo 提供了两个核心注解 <code>@Service</code> 以及 <code>@Reference</code>,分别用于Dubbo 服务提供和 Dubbo 服务引用。</p>
<p>其中,<code>@Service</code> 作为 XML 元素 <code><dubbo:service></code>的替代注解,与 Spring Framework <code>@org.springframework.stereotype.Service</code> 类似,用于服务提供方 Dubbo 服务暴露。与之相对应的<code>@Reference</code>,则是替代<code><dubbo:reference</code> 元素,类似于 Spring 中的 <code>@Autowired</code>。</p>
<p><code>2.5.7</code> 之前的Dubbo,与早期的 Spring Framework 2.5 存在类似的不足,即注解支持不够充分。注解需要和 XML 配置文件配合使用,如下所示:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://code.alibabatech.com/schema/dubbo"</span>
<span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
diff --git a/zh-cn/blog/dubbo-annotation-driven.json b/zh-cn/blog/dubbo-annotation-driven.json
index b61b48c..e08fcfa 100644
--- a/zh-cn/blog/dubbo-annotation-driven.json
+++ b/zh-cn/blog/dubbo-annotation-driven.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-annotation-driven.md",
- "__html": "<h1>Dubbo 注解驱动(Annotation-Driven)</h1>\n<h2>注解驱动(Annotation-Driven)</h2>\n<h3><code>@DubboComponentScan</code></h3>\n<h4>起始版本: <code>2.5.7</code></h4>\n<h4><code><dubbo:annotation></code>历史遗留问题</h4>\n<h5>1. 注解支持不充分</h5>\n<p>在 Dubbo <code>2.5.7</code>之前的版本 ,Dubbo 提供了两个核心注解 <code>@Service</code> 以及 <code>@Reference</code>,分别用于Dubbo 服务提供和 Dubbo 服务引用。</p>\n<p>其中,<code>@Service</code> 作为 XML 元素 <code><dubbo:service></code>的替代注解,与 Spring Framework <code>@org.springfra [...]
+ "__html": "<h1>Dubbo 注解驱动(Annotation-Driven)</h1>\n<h2>注解驱动(Annotation-Driven)</h2>\n<h3><code>@DubboComponentScan</code></h3>\n<h4>起始版本: <code>2.5.7</code></h4>\n<h4><code><dubbo:annotation></code>历史遗留问题</h4>\n<h5>1. 注解支持不充分</h5>\n<p>在 Dubbo <code>2.5.7</code>之前的版本 ,Dubbo 提供了两个核心注解 <code>@Service</code> 以及 <code>@Reference</code>,分别用于Dubbo 服务提供和 Dubbo 服务引用。</p>\n<p>其中,<code>@Service</code> 作为 XML 元素 <code><dubbo:service></code>的替代注解,与 Spring Framework <code>@org.springfra [...]
"link": "/zh-cn/blog/dubbo-annotation-driven.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/blog/dubbo-externalized-configuration.html b/zh-cn/blog/dubbo-externalized-configuration.html
index 275e535..c812b74 100644
--- a/zh-cn/blog/dubbo-externalized-configuration.html
+++ b/zh-cn/blog/dubbo-externalized-configuration.html
@@ -187,9 +187,9 @@ dubbo.registry.address=10.20.153.10:9090
</table>
<p>当标注 <code>@EnableDubboConfig</code> 的类被扫描注册后,同时 Spring(Spring Boot)应用配置(<code>PropertySources</code>)中存在<code>dubbo.application.*</code> 时,<code>ApplicationConfig</code> Bean 将被注册到在 Spring 上下文。否则,不会被注册。如果出现<code>dubbo.registry.*</code>的配置,那么,<code>RegistryConfig</code> Bean 将会创建,以此类推。即按需装配 Dubbo 配置 Bean。</p>
<p>如果需要指定配置 Bean的 id,可通过<code>**.id</code> 属性设置,以<code>dubbo.application</code> 为例:</p>
-<pre><code class="language-properties"><span class="hljs-comment">## application</span>
-<span class="hljs-meta">dubbo.application.id</span> = <span class="hljs-string">applicationBean</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-demo-application</span>
+<pre><code class="language-properties">## application
+dubbo.application.id = applicationBean
+dubbo.application.name = dubbo-demo-application
</code></pre>
<p>以上配置等同于以下 Java Config Bean:</p>
<pre><code class="language-java"> <span class="hljs-meta">@Bean</span>(<span class="hljs-string">"applicationBean"</span>)
@@ -219,15 +219,15 @@ dubbo.registry.address=10.20.153.10:9090
<li><code>dubbo.consumers</code></li>
</ul>
<p>以<code>dubbo.applications</code> 为例,基本的模式如下:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.applications.${bean-name}.property-name</span> = <span class="hljs-string">${property-value}</span>
+<pre><code class="language-properties">dubbo.applications.${bean-name}.property-name = ${property-value}
</code></pre>
<p>请读者注意,在单 Dubbo 配置 Bean 绑定时,可以通过指定<code>id</code> 属性的方式,定义<code>ApplicationConfig</code> Bean 的ID,即<code>dubbo.application.id</code>。</p>
<p>而在多 Dubbo 配置 Bean 绑定时,Bean ID 则由<code>dubbo.applications.</code>与属性字段名称(<code>.property-name</code>)之间的字符来表达。</p>
<p>如下配置:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># multiple Bean definition</span>
-<span class="hljs-meta">dubbo.applications.applicationBean.name</span> = <span class="hljs-string">dubbo-demo-application</span>
-<span class="hljs-meta">dubbo.applications.applicationBean2.name</span> = <span class="hljs-string">dubbo-demo-application2</span>
-<span class="hljs-meta">dubbo.applications.applicationBean3.name</span> = <span class="hljs-string">dubbo-demo-application3</span>
+<pre><code class="language-properties"># multiple Bean definition
+dubbo.applications.applicationBean.name = dubbo-demo-application
+dubbo.applications.applicationBean2.name = dubbo-demo-application2
+dubbo.applications.applicationBean3.name = dubbo-demo-application3
</code></pre>
<p>该配置内容中,绑定了三个<code>ApplicationConfig</code> Bean,分别是<code>applicationBean</code>、<code>applicationBean2</code>以及<code>applicationBean3</code></p>
<h4>示例说明</h4>
@@ -235,30 +235,30 @@ dubbo.registry.address=10.20.153.10:9090
<h5>单 Dubbo 配置 Bean 绑定</h5>
<h6>外部化配置文件</h6>
<p>将以下内容的外部化配置文件物理路径为:<code>classpath:/META-INF/config.properties</code>:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># 单 Dubbo 配置 Bean 绑定</span>
-<span class="hljs-comment">## application</span>
-<span class="hljs-meta">dubbo.application.id</span> = <span class="hljs-string">applicationBean</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-demo-application</span>
-<span class="hljs-comment">
-## module</span>
-<span class="hljs-meta">dubbo.module.id</span> = <span class="hljs-string">moduleBean</span>
-<span class="hljs-meta">dubbo.module.name</span> = <span class="hljs-string">dubbo-demo-module</span>
-<span class="hljs-comment">
-## registry</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">zookeeper://192.168.99.100:32770</span>
-<span class="hljs-comment">
-## protocol</span>
-<span class="hljs-meta">dubbo.protocol.name</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span> = <span class="hljs-string">20880</span>
-<span class="hljs-comment">
-## monitor</span>
-<span class="hljs-meta">dubbo.monitor.address</span> = <span class="hljs-string">zookeeper://127.0.0.1:32770</span>
-<span class="hljs-comment">
-## provider</span>
-<span class="hljs-meta">dubbo.provider.host</span> = <span class="hljs-string">127.0.0.1</span>
-<span class="hljs-comment">
-## consumer</span>
-<span class="hljs-meta">dubbo.consumer.client</span> = <span class="hljs-string">netty</span>
+<pre><code class="language-properties"># 单 Dubbo 配置 Bean 绑定
+## application
+dubbo.application.id = applicationBean
+dubbo.application.name = dubbo-demo-application
+
+## module
+dubbo.module.id = moduleBean
+dubbo.module.name = dubbo-demo-module
+
+## registry
+dubbo.registry.address = zookeeper://192.168.99.100:32770
+
+## protocol
+dubbo.protocol.name = dubbo
+dubbo.protocol.port = 20880
+
+## monitor
+dubbo.monitor.address = zookeeper://127.0.0.1:32770
+
+## provider
+dubbo.provider.host = 127.0.0.1
+
+## consumer
+dubbo.consumer.client = netty
</code></pre>
<h6><code>@EnableDubboConfig</code> 配置 Bean</h6>
<pre><code class="language-java"><span class="hljs-comment">/**
@@ -332,11 +332,11 @@ consumerConfig.name = netty
<h5>多 Dubbo 配置 Bean 绑定</h5>
<h6>外部化配置文件</h6>
<p>将以下内容的外部化配置文件物理路径为:<code>classpath:/META-INF/multiple-config.properties</code>:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># 多 Dubbo 配置 Bean 绑定</span>
-<span class="hljs-comment">## dubbo.applications</span>
-<span class="hljs-meta">dubbo.applications.applicationBean.name</span> = <span class="hljs-string">dubbo-demo-application</span>
-<span class="hljs-meta">dubbo.applications.applicationBean2.name</span> = <span class="hljs-string">dubbo-demo-application2</span>
-<span class="hljs-meta">dubbo.applications.applicationBean3.name</span> = <span class="hljs-string">dubbo-demo-application3</span>
+<pre><code class="language-properties"># 多 Dubbo 配置 Bean 绑定
+## dubbo.applications
+dubbo.applications.applicationBean.name = dubbo-demo-application
+dubbo.applications.applicationBean2.name = dubbo-demo-application2
+dubbo.applications.applicationBean3.name = dubbo-demo-application3
</code></pre>
<h6><code>@EnableDubboConfig</code> 配置 Bean(多)</h6>
<pre><code class="language-java"><span class="hljs-meta">@EnableDubboConfig</span>(multiple = <span class="hljs-keyword">true</span>)
@@ -419,8 +419,8 @@ applicationBean3.name = dubbo-demo-application3
<li><code>multiple()</code> : 表明是否需要将<code>prefix()</code> 作为多个 <code>type()</code> 类型的 Spring Bean 外部化配置属性。默认值为<code>false</code>,即默认支持单个类型的 Spring 配置 Bean</li>
</ul>
<p>假设标注 <code>@EnableDubboConfigBinding</code> 的实现类被 Spring 应用上下文扫描并且注册后,其中<code>prefix()</code> = <code>dubbo.app</code> 、 <code>type()</code> = <code>ApplicationConfig.class</code> ,且外部配置内容为:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.app.id</span> = <span class="hljs-string">applicationBean</span>
-<span class="hljs-meta">dubbo.app.name</span> = <span class="hljs-string">dubbo-demo-application</span>
+<pre><code class="language-properties">dubbo.app.id = applicationBean
+dubbo.app.name = dubbo-demo-application
</code></pre>
<p>Spring 应用上下文启动后,一个 ID 为 "applicationBean" 的 <code>ApplicationConfig</code> Bean 被初始化,其 <code>name</code> 字段被设置为 "dubbo-demo-application"。</p>
<h5><code>EnableDubboConfigBindings</code> 定义</h5>
@@ -441,21 +441,21 @@ applicationBean3.name = dubbo-demo-application3
<h4>示例说明</h4>
<h5>外部化配置文件</h5>
<p>将以下内容的外部化配置文件物理路径为:<code>classpath:/META-INF/bindings.properties</code></p>
-<pre><code class="language-properties"><span class="hljs-comment"># classpath:/META-INF/bindings.properties</span>
-<span class="hljs-comment">## 占位符值 : ApplicationConfig 外部配置属性前缀</span>
-<span class="hljs-meta">applications.prefix</span> = <span class="hljs-string">dubbo.apps.</span>
-<span class="hljs-comment">
-## 多 ApplicationConfig Bean 绑定</span>
-<span class="hljs-meta">dubbo.apps.applicationBean.name</span> = <span class="hljs-string">dubbo-demo-application</span>
-<span class="hljs-meta">dubbo.apps.applicationBean2.name</span> = <span class="hljs-string">dubbo-demo-application2</span>
-<span class="hljs-meta">dubbo.apps.applicationBean3.name</span> = <span class="hljs-string">dubbo-demo-application3</span>
-<span class="hljs-comment">
-## 单 ModuleConfig Bean 绑定</span>
-<span class="hljs-meta">dubbo.module.id</span> = <span class="hljs-string">moduleBean</span>
-<span class="hljs-meta">dubbo.module.name</span> = <span class="hljs-string">dubbo-demo-module</span>
-<span class="hljs-comment">
-## 单 RegistryConfig Bean 绑定</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">zookeeper://192.168.99.100:32770</span>
+<pre><code class="language-properties"># classpath:/META-INF/bindings.properties
+## 占位符值 : ApplicationConfig 外部配置属性前缀
+applications.prefix = dubbo.apps.
+
+## 多 ApplicationConfig Bean 绑定
+dubbo.apps.applicationBean.name = dubbo-demo-application
+dubbo.apps.applicationBean2.name = dubbo-demo-application2
+dubbo.apps.applicationBean3.name = dubbo-demo-application3
+
+## 单 ModuleConfig Bean 绑定
+dubbo.module.id = moduleBean
+dubbo.module.name = dubbo-demo-module
+
+## 单 RegistryConfig Bean 绑定
+dubbo.registry.address = zookeeper://192.168.99.100:32770
</code></pre>
<h5><code>EnableDubboConfigBindings</code> 配置 Bean</h5>
<p><code>DubboConfiguration</code> 作为 Dubbo 配置 Bean,除通过 <code>@EnableDubboConfigBinding</code> 绑定之外,还需要 <code>@PropertySource</code> 指定外部化配置文件(<code>classpath:/META-INF/bindings.properties</code>):</p>
diff --git a/zh-cn/blog/dubbo-externalized-configuration.json b/zh-cn/blog/dubbo-externalized-configuration.json
index 81b5062..6b01341 100644
--- a/zh-cn/blog/dubbo-externalized-configuration.json
+++ b/zh-cn/blog/dubbo-externalized-configuration.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-externalized-configuration.md",
- "__html": "<h1>Dubbo 外部化配置(Externalized Configuration)</h1>\n<h2>外部化配置(External Configuration)</h2>\n<p>在<a href=\"Dubbo-Annotation-Driven.md\">Dubbo 注解驱动</a>例子中,无论是服务提供方,还是服务消费方,均需要转配相关配置Bean:</p>\n<pre><code class=\"language-java\"> <span class=\"hljs-meta\">@Bean</span>\n <span class=\"hljs-function\"><span class=\"hljs-keyword\">public</span> ApplicationConfig <span class=\"hljs-title\">applicationConfig</span><span class=\"hljs-params\">()</span> </span>{\n Applicatio [...]
+ "__html": "<h1>Dubbo 外部化配置(Externalized Configuration)</h1>\n<h2>外部化配置(External Configuration)</h2>\n<p>在<a href=\"Dubbo-Annotation-Driven.md\">Dubbo 注解驱动</a>例子中,无论是服务提供方,还是服务消费方,均需要转配相关配置Bean:</p>\n<pre><code class=\"language-java\"> <span class=\"hljs-meta\">@Bean</span>\n <span class=\"hljs-function\"><span class=\"hljs-keyword\">public</span> ApplicationConfig <span class=\"hljs-title\">applicationConfig</span><span class=\"hljs-params\">()</span> </span>{\n Applicatio [...]
"link": "/zh-cn/blog/dubbo-externalized-configuration.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/blog/dubbo-registry-nacos-integration.html b/zh-cn/blog/dubbo-registry-nacos-integration.html
index bdb7a23..9c5bb8e 100644
--- a/zh-cn/blog/dubbo-registry-nacos-integration.html
+++ b/zh-cn/blog/dubbo-registry-nacos-integration.html
@@ -62,19 +62,19 @@
<h3><a href="https://mercyblitz.github.io/2018/01/18/Dubbo-%E5%A4%96%E9%83%A8%E5%8C%96%E9%85%8D%E7%BD%AE/">Dubbo Spring 外部化配置</a></h3>
<p>Dubbo Spring 外部化配置是由 Dubbo <code>2.5.8</code> 引入的新特性,可通过 Spring <code>Environment</code> 属性自动地生成并绑定 Dubbo 配置 Bean,实现配置简化,并且降低微服务开发门槛。</p>
<p>假设您 Dubbo 应用的使用 Zookeeper 作为注册中心,并且其服务器 IP 地址为:<code>10.20.153.10</code>,同时,该注册地址作为 Dubbo 外部化配置属性存储在 <code>dubbo-config.properties</code> 文件,如下所示:</p>
-<pre><code class="language-properties"><span class="hljs-comment">## application</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">your-dubbo-application</span>
-<span class="hljs-comment">
-## Zookeeper registry address</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">zookeeper://10.20.153.10:2181</span>
-<span class="hljs-attr">...</span>
+<pre><code class="language-properties">## application
+dubbo.application.name = your-dubbo-application
+
+## Zookeeper registry address
+dubbo.registry.address = zookeeper://10.20.153.10:2181
+...
</code></pre>
<p>假设您的 Nacos Server 同样运行在服务器 <code>10.20.153.10</code> 上,并使用默认 Nacos 服务端口 <code>8848</code>,您只需将 <code>dubbo.registry.address</code> 属性调整如下:</p>
-<pre><code class="language-properties"><span class="hljs-comment">## 其他属性保持不变</span>
-<span class="hljs-comment">
-## Nacos registry address</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">nacos://10.20.153.10:8848</span>
-<span class="hljs-attr">...</span>
+<pre><code class="language-properties">## 其他属性保持不变
+
+## Nacos registry address
+dubbo.registry.address = nacos://10.20.153.10:8848
+...
</code></pre>
<p>随后,重启您的 Dubbo 应用,Dubbo 的服务提供和消费信息在 Nacos 控制台中可以显示:</p>
<p><img src="../../img/blog/dubbo-registry-nacos-1.png" alt="image-20181213103845976"></p>
@@ -83,7 +83,7 @@
<p>如果您正在使用 Spring XML 配置文件装配 Dubbo 注册中心的话,请参考下一节。</p>
<h3>Spring XML 配置文件</h3>
<p>同样,假设您 Dubbo 应用的使用 Zookeeper 作为注册中心,并且其服务器 IP 地址为:<code>10.20.153.10</code>,并且装配 Spring Bean 在 XML 文件中,如下所示:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -98,7 +98,7 @@
<span class="hljs-tag"></<span class="hljs-name">beans</span>></span>
</code></pre>
<p>与 <a href="https://mercyblitz.github.io/2018/01/18/Dubbo-%E5%A4%96%E9%83%A8%E5%8C%96%E9%85%8D%E7%BD%AE/">Dubbo Spring 外部化配置</a> 配置类似,只需要调整 <code>address</code> 属性配置即可:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -169,19 +169,19 @@
<ul>
<li>定义 Dubbo 提供方外部化配置属性源 - <code>provider-config.properties</code></li>
</ul>
-<pre><code class="language-properties"><span class="hljs-comment">## application</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-comment">
-## Nacos registry address</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">nacos://127.0.0.1:8848</span>
-<span class="hljs-comment">
-## Dubbo Protocol</span>
-<span class="hljs-meta">dubbo.protocol.name</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span> = <span class="hljs-string">-1</span>
-<span class="hljs-comment">
-# Provider @Service version</span>
-<span class="hljs-meta">demo.service.version</span>=<span class="hljs-string">1.0.0</span>
-<span class="hljs-meta">demo.service.name</span> = <span class="hljs-string">demoService</span>
+<pre><code class="language-properties">## application
+dubbo.application.name = dubbo-provider-demo
+
+## Nacos registry address
+dubbo.registry.address = nacos://127.0.0.1:8848
+
+## Dubbo Protocol
+dubbo.protocol.name = dubbo
+dubbo.protocol.port = -1
+
+# Provider @Service version
+demo.service.version=1.0.0
+demo.service.name = demoService
</code></pre>
<ul>
<li>实现服务提供方引导类 - <code>DemoServiceProviderBootstrap</code></li>
@@ -219,14 +219,14 @@
<ul>
<li>定义 Dubbo 消费方外部化配置属性源 - <code>consumer-config.properties</code></li>
</ul>
-<pre><code class="language-properties"><span class="hljs-comment">## Dubbo Application info</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-comment">
-## Nacos registry address</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">nacos://127.0.0.1:8848</span>
-<span class="hljs-comment">
-# @Reference version</span>
-<span class="hljs-meta">demo.service.version</span>= <span class="hljs-string">1.0.0</span>
+<pre><code class="language-properties">## Dubbo Application info
+dubbo.application.name = dubbo-consumer-demo
+
+## Nacos registry address
+dubbo.registry.address = nacos://127.0.0.1:8848
+
+# @Reference version
+demo.service.version= 1.0.0
</code></pre>
<p>同样地,<code>dubbo.registry.address</code> 属性指向 Nacos 注册中心,其他 Dubbo 服务相关的元信息通过 Nacos 注册中心获取。</p>
<ul>
@@ -295,7 +295,7 @@ Service [name :demoService , port : 20881] sayName("小马哥(mercyblitz
<ul>
<li>定义服务提供方 XML 上下文配置文件 - <code>/META-INF/spring/dubbo-provider-context.xml</code></li>
</ul>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -346,7 +346,7 @@ public class DemoServiceProviderXmlBootstrap {
<ul>
<li>定义服务消费方 XML 上下文配置文件 - <code>/META-INF/spring/dubbo-consumer-context.xml</code></li>
</ul>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/blog/dubbo-registry-nacos-integration.json b/zh-cn/blog/dubbo-registry-nacos-integration.json
index 82c7661..95c27d0 100644
--- a/zh-cn/blog/dubbo-registry-nacos-integration.json
+++ b/zh-cn/blog/dubbo-registry-nacos-integration.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-registry-nacos-integration.md",
- "__html": "<h1>Dubbo 融合 Nacos 成为注册中心</h1>\n<p>Nacos 作为 Dubbo 生态系统中重要的注册中心实现,其中 <a href=\"https://github.com/dubbo/dubbo-registry-nacos\"><code>dubbo-registry-nacos</code></a> 则是 Dubbo 融合 Nacos 注册中心的实现。</p>\n<h2>预备工作</h2>\n<p>当您将 <a href=\"https://github.com/dubbo/dubbo-registry-nacos\"><code>dubbo-registry-nacos</code></a> 整合到您的 Dubbo 工程之前,请确保后台已经启动 Nacos 服务。如果您尚且不熟悉 Nacos 的基本使用的话,可先行参考 <a href=\"https://nacos.io/en-us/docs/quick-start.html\">Nacos 快速入门</a>:<a href=\"https://nacos.io/e [...]
+ "__html": "<h1>Dubbo 融合 Nacos 成为注册中心</h1>\n<p>Nacos 作为 Dubbo 生态系统中重要的注册中心实现,其中 <a href=\"https://github.com/dubbo/dubbo-registry-nacos\"><code>dubbo-registry-nacos</code></a> 则是 Dubbo 融合 Nacos 注册中心的实现。</p>\n<h2>预备工作</h2>\n<p>当您将 <a href=\"https://github.com/dubbo/dubbo-registry-nacos\"><code>dubbo-registry-nacos</code></a> 整合到您的 Dubbo 工程之前,请确保后台已经启动 Nacos 服务。如果您尚且不熟悉 Nacos 的基本使用的话,可先行参考 <a href=\"https://nacos.io/en-us/docs/quick-start.html\">Nacos 快速入门</a>:<a href=\"https://nacos.io/e [...]
"link": "/zh-cn/blog/dubbo-registry-nacos-integration.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/blog/dubbo-rest.html b/zh-cn/blog/dubbo-rest.html
index b08a478..37078a6 100644
--- a/zh-cn/blog/dubbo-rest.html
+++ b/zh-cn/blog/dubbo-rest.html
@@ -160,7 +160,7 @@
</code></pre>
<h4>4. 装配服务</h4>
<p>如上所述,本例展示的是如何通过传统的 Spring XML 的方式来装配并暴露 Dubbo 服务。需要指出的是,这里展示了如何同时暴露两种不同的协议,一种是 REST,另一种是原生的 Dubbo 协议。</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://code.alibabatech.com/schema/dubbo"</span>
@@ -216,7 +216,7 @@ $ curl -X POST -H <span class="hljs-string">"Content-Type: application/json"</sp
</code></pre>
<h4>7. 装配调用端</h4>
<p>Dubbo 调用方只需要依赖服务的接口,通过以下方式装配好 Dubbo Consumer,即可发起调用。</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://code.alibabatech.com/schema/dubbo"</span>
@@ -426,7 +426,7 @@ INFO: Starting ProtocolHandler [<span class="hljs-string">"http-nio-8080"</span>
<pre><code class="language-xml"> <span class="hljs-tag"><<span class="hljs-name">dubbo:protocol</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"rest"</span> <span class="hljs-attr">port</span>=<span class="hljs-string">"8080"</span> <span class="hljs-attr">server</span>=<span class="hljs-string">"servlet"</span> <span class="hljs-attr">contextpath</span>=<span class="hljs-string">""</span>/></span>
</code></pre>
<h5>3. 配置 WEB-INF/web.xml</h5>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">web-app</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://xmlns.jcp.org/xml/ns/javaee"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"</span>
diff --git a/zh-cn/blog/dubbo-rest.json b/zh-cn/blog/dubbo-rest.json
index 0dcccba..3855532 100644
--- a/zh-cn/blog/dubbo-rest.json
+++ b/zh-cn/blog/dubbo-rest.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-rest.md",
- "__html": "<h1>在 Dubbo 中使用 REST</h1>\n<h2>什么是 REST</h2>\n<p>REST 是 Roy Thomas Fielding <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup> 在 2000 年他的博士论文 <sup class=\"footnote-ref\"><a href=\"#fn2\" id=\"fnref2\">[2]</a></sup> “架构风格以及基于网络的软件架构设计” 中提出来的一个概念。REST 是 <strong>RE</strong>presentational <strong>S</strong>tate <strong>T</strong>ransfer 的缩写,翻译过来就是 “表现层状态转化”。REST 就是 Roy 在这篇论文中提出的面向互联网的软件所应当具备的架构风格。</p>\n<p>按照 REpresentational State Transfer 的字面意思,可以把应用看成是一个 [...]
+ "__html": "<h1>在 Dubbo 中使用 REST</h1>\n<h2>什么是 REST</h2>\n<p>REST 是 Roy Thomas Fielding <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup> 在 2000 年他的博士论文 <sup class=\"footnote-ref\"><a href=\"#fn2\" id=\"fnref2\">[2]</a></sup> “架构风格以及基于网络的软件架构设计” 中提出来的一个概念。REST 是 <strong>RE</strong>presentational <strong>S</strong>tate <strong>T</strong>ransfer 的缩写,翻译过来就是 “表现层状态转化”。REST 就是 Roy 在这篇论文中提出的面向互联网的软件所应当具备的架构风格。</p>\n<p>按照 REpresentational State Transfer 的字面意思,可以把应用看成是一个 [...]
"link": "/zh-cn/blog/dubbo-rest.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/blog/dubbo-zk.html b/zh-cn/blog/dubbo-zk.html
index 003aa70..9eb1db5 100644
--- a/zh-cn/blog/dubbo-zk.html
+++ b/zh-cn/blog/dubbo-zk.html
@@ -132,10 +132,10 @@ world
<span class="hljs-keyword">static</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ProviderConfiguration</span> </span>{}
</code></pre>
<p>dubbo-provider.properties 是在 Spring 应用中外置配置的方式,内容如下:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">demo-provider</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://$DOCKER_HOST:2181</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">20880</span>
+<pre><code class="language-properties">dubbo.application.name=demo-provider
+dubbo.registry.address=zookeeper://$DOCKER_HOST:2181
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=20880
</code></pre>
<p>由于 Zookeeper 运行在 Docker 容器中,需要注意的是:</p>
<ul>
@@ -189,9 +189,9 @@ JLine support is enabled
<span class="hljs-keyword">static</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ConsumerConfiguration</span> </span>{}
</code></pre>
<p>dubbo-consumer.properties 是在 Spring 应用中外置配置的方式,内容如下:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">demo-consumer</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://$DOCKER_HOST:2181</span>
-<span class="hljs-meta">dubbo.consumer.timeout</span>=<span class="hljs-string">3000</span>
+<pre><code class="language-properties">dubbo.application.name=demo-consumer
+dubbo.registry.address=zookeeper://$DOCKER_HOST:2181
+dubbo.consumer.timeout=3000
</code></pre>
<p>与 <strong>3. 服务端:组装</strong> 相同,需要根据自己的运行环境来修改 <em>dubbo.registry.address</em> 中定义的 <em>$DOCKER_HOST</em>。请参阅步骤 3 的说明部分。</p>
<h4>7. 客户端:发起远程调用</h4>
diff --git a/zh-cn/blog/dubbo-zk.json b/zh-cn/blog/dubbo-zk.json
index dc396c3..6603ae3 100644
--- a/zh-cn/blog/dubbo-zk.json
+++ b/zh-cn/blog/dubbo-zk.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo-zk.md",
- "__html": "<h1>在 Dubbo 应用中使用 Zookeeper</h1>\n<h2>Zookeeper 介绍</h2>\n<h3>基本概念</h3>\n<p>在现代的分布式应用中,往往会出现节点和节点之间的协调问题,其中就包括了:选主、集群管理、分布式锁、分布式配置管理、统一命名服务、状态同步等诉求。<a href=\"https://zookeeper.apache.org\">Apache Zookeeper</a>,正如它的名字所暗示的那样,<em>动物园管理员</em>,就是为了解决这些诉求的一个分布式协调服务框架。</p>\n<p>为了保证高可用,ZooKeeper 本身也可以部署成集群模式,称之为 <em>ZooKeeper ensemble</em>。ZooKeeper 集群中始终确保其中的一台为 leader 的角色,并通过 <em>ZAB (Zookeeper Atomic Broadcast Protocol) <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1 [...]
+ "__html": "<h1>在 Dubbo 应用中使用 Zookeeper</h1>\n<h2>Zookeeper 介绍</h2>\n<h3>基本概念</h3>\n<p>在现代的分布式应用中,往往会出现节点和节点之间的协调问题,其中就包括了:选主、集群管理、分布式锁、分布式配置管理、统一命名服务、状态同步等诉求。<a href=\"https://zookeeper.apache.org\">Apache Zookeeper</a>,正如它的名字所暗示的那样,<em>动物园管理员</em>,就是为了解决这些诉求的一个分布式协调服务框架。</p>\n<p>为了保证高可用,ZooKeeper 本身也可以部署成集群模式,称之为 <em>ZooKeeper ensemble</em>。ZooKeeper 集群中始终确保其中的一台为 leader 的角色,并通过 <em>ZAB (Zookeeper Atomic Broadcast Protocol) <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1 [...]
"link": "/zh-cn/blog/dubbo-zk.html",
"meta": {
"title": "在 Dubbo 应用中使用 Zookeeper",
diff --git a/zh-cn/blog/dubbo2-js.html b/zh-cn/blog/dubbo2-js.html
index 9b4e510..25da3b8 100644
--- a/zh-cn/blog/dubbo2-js.html
+++ b/zh-cn/blog/dubbo2-js.html
@@ -119,7 +119,7 @@
}
</code></pre>
<p>暴露服务:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://code.alibabatech.com/schema/dubbo"</span>
<span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
diff --git a/zh-cn/blog/dubbo2-js.json b/zh-cn/blog/dubbo2-js.json
index 758f1a0..8ed6e60 100644
--- a/zh-cn/blog/dubbo2-js.json
+++ b/zh-cn/blog/dubbo2-js.json
@@ -1,6 +1,6 @@
{
"filename": "dubbo2-js.md",
- "__html": "<h1>从跨语言调用到dubbo2.js</h1>\n<blockquote>\n<p><a href=\"https://github.com/dubbo/dubbo2.js\">dubbo2.js</a> 是 <a href=\"https://www.qianmi.com/\">千米网</a> 贡献给 dubbo 社区的一款 nodejs dubbo 客户端,它提供了 nodejs 对原生 dubbo 协议的支持,使得 nodejs 和 java 这两种异构语言的 rpc 调用变得便捷,高效。</p>\n</blockquote>\n<h2>微服务跨语言调用</h2>\n<p>微服务架构已成为目前互联网架构的趋势,关于微服务的讨论,几乎占据了各种技术大会的绝大多数版面。国内使用最多的服务治理框架非阿里开源的 dubbo 莫属,千米网也选择了 dubbo 作为微服务治理框架。另一方面,和大多数互联网公司一样,千米的开发语言是多样的,大多数后端业务由 java 支撑,而每个业务线有各自开发语言的选择权,便出现了 nodejs,python,g [...]
+ "__html": "<h1>从跨语言调用到dubbo2.js</h1>\n<blockquote>\n<p><a href=\"https://github.com/dubbo/dubbo2.js\">dubbo2.js</a> 是 <a href=\"https://www.qianmi.com/\">千米网</a> 贡献给 dubbo 社区的一款 nodejs dubbo 客户端,它提供了 nodejs 对原生 dubbo 协议的支持,使得 nodejs 和 java 这两种异构语言的 rpc 调用变得便捷,高效。</p>\n</blockquote>\n<h2>微服务跨语言调用</h2>\n<p>微服务架构已成为目前互联网架构的趋势,关于微服务的讨论,几乎占据了各种技术大会的绝大多数版面。国内使用最多的服务治理框架非阿里开源的 dubbo 莫属,千米网也选择了 dubbo 作为微服务治理框架。另一方面,和大多数互联网公司一样,千米的开发语言是多样的,大多数后端业务由 java 支撑,而每个业务线有各自开发语言的选择权,便出现了 nodejs,python,g [...]
"link": "/zh-cn/blog/dubbo2-js.html",
"meta": {
"title": "从跨语言调用到dubbo2.js",
diff --git a/zh-cn/blog/introduction-to-dubbo-qos.html b/zh-cn/blog/introduction-to-dubbo-qos.html
index a1ec4a9..04cc6d8 100644
--- a/zh-cn/blog/introduction-to-dubbo-qos.html
+++ b/zh-cn/blog/introduction-to-dubbo-qos.html
@@ -201,7 +201,7 @@ dubbo.application.qos.accept.foreign.ip=false
</code></pre>
<h3>使用XML方法进行配置</h3>
<p>如果要通过XML配置响应的QoS相关的参数,可以进行如下配置:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/blog/introduction-to-dubbo-qos.json b/zh-cn/blog/introduction-to-dubbo-qos.json
index 412eb48..f5407a0 100644
--- a/zh-cn/blog/introduction-to-dubbo-qos.json
+++ b/zh-cn/blog/introduction-to-dubbo-qos.json
@@ -1,6 +1,6 @@
{
"filename": "introduction-to-dubbo-qos.md",
- "__html": "<h1>通过QoS对服务进行动态控制</h1>\n<p>QoS,全称为<code>Quality of Service</code>, 是常见于网络设备中的一个术语 ,例如在路由器中,可以通过Qos动态的调整和控制某些端口的权重,从而优先的保障运行在这些端口上的服务质量。</p>\n<p>在Dubbo中,QoS这个概念被用于动态的对服务进行查询和控制。例如对获取当前提供和消费的所有服务,以及对服务进行动态的上下线,即从注册中心上进行注册和反注册操作。</p>\n<h2>QoS工作机制</h2>\n<p>从Dubbo 2.5.8开始,默认引入了Qos功能,默认处于启动状态。所有的QoS功能被抽象成一个个的命令,通过执行这些命令,Qos会返回响应的结果。</p>\n<blockquote>\n<p>Qos功能基于Netty4实现,在Dubbo 2.6.x之前的版本中,默认依赖的是Netty3,因此需要显示的添加Netty4的依赖,才能确保Netty4正常工作。如果使用http://start.dubbo.io自�
�生成的Dubbo应用,则无需添加额外 [...]
+ "__html": "<h1>通过QoS对服务进行动态控制</h1>\n<p>QoS,全称为<code>Quality of Service</code>, 是常见于网络设备中的一个术语 ,例如在路由器中,可以通过Qos动态的调整和控制某些端口的权重,从而优先的保障运行在这些端口上的服务质量。</p>\n<p>在Dubbo中,QoS这个概念被用于动态的对服务进行查询和控制。例如对获取当前提供和消费的所有服务,以及对服务进行动态的上下线,即从注册中心上进行注册和反注册操作。</p>\n<h2>QoS工作机制</h2>\n<p>从Dubbo 2.5.8开始,默认引入了Qos功能,默认处于启动状态。所有的QoS功能被抽象成一个个的命令,通过执行这些命令,Qos会返回响应的结果。</p>\n<blockquote>\n<p>Qos功能基于Netty4实现,在Dubbo 2.6.x之前的版本中,默认依赖的是Netty3,因此需要显示的添加Netty4的依赖,才能确保Netty4正常工作。如果使用http://start.dubbo.io自�
�生成的Dubbo应用,则无需添加额外 [...]
"link": "/zh-cn/blog/introduction-to-dubbo-qos.html",
"meta": {
"title": "通过QoS对服务进行动态控制",
diff --git a/zh-cn/blog/pinpoint.html b/zh-cn/blog/pinpoint.html
index 77c41b9..0acfb82 100644
--- a/zh-cn/blog/pinpoint.html
+++ b/zh-cn/blog/pinpoint.html
@@ -57,7 +57,7 @@
<h3>准备Dubbo示例程序</h3>
<h4>创建API包</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
@@ -77,7 +77,7 @@ public interface HelloService {
</code></pre>
<h4>实现 Dubbo 服务提供方</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -192,34 +192,34 @@ public interface HelloService {
<ol start="3">
<li>配置 <code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">server.port</span> = <span class="hljs-string">9090</span>
-<span class="hljs-meta">management.port</span> = <span class="hljs-string">9091</span>
-<span class="hljs-comment">
-# Service version</span>
-<span class="hljs-meta">demo.service.version</span> = <span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Base packages to scan Dubbo Components (e.g @Service , @Reference)</span>
-<span class="hljs-meta">dubbo.scan.basePackages</span> = <span class="hljs-string">com.example.demoprovider</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span> = <span class="hljs-string">12345</span>
-<span class="hljs-comment">
-## RegistryConfig Bean</span>
-<span class="hljs-meta">dubbo.registry.id</span> = <span class="hljs-string">my-registry</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">N/A</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name = dubbo-provider-demo
+server.port = 9090
+management.port = 9091
+
+# Service version
+demo.service.version = 1.0.0
+
+# Base packages to scan Dubbo Components (e.g @Service , @Reference)
+dubbo.scan.basePackages = com.example.demoprovider
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id = dubbo-provider-demo
+dubbo.application.name = dubbo-provider-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id = dubbo
+dubbo.protocol.name = dubbo
+dubbo.protocol.port = 12345
+
+## RegistryConfig Bean
+dubbo.registry.id = my-registry
+dubbo.registry.address = N/A
</code></pre>
<h4>实现 Dubbo 服务消费方</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -340,23 +340,23 @@ public interface HelloService {
<ol start="3">
<li>配置 <code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">server.port</span>=<span class="hljs-string">8080</span>
-<span class="hljs-meta">management.port</span>=<span class="hljs-string">8081</span>
-<span class="hljs-comment">
-# Service Version</span>
-<span class="hljs-meta">demo.service.version</span>=<span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">12345</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name=dubbo-consumer-demo
+server.port=8080
+management.port=8081
+
+# Service Version
+demo.service.version=1.0.0
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id=dubbo-consumer-demo
+dubbo.application.name=dubbo-consumer-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id=dubbo
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=12345
</code></pre>
<h3>使用Pinpoint-agent启动服务提供方和服务消费方</h3>
<h4>启动服务提供方</h4>
diff --git a/zh-cn/blog/pinpoint.json b/zh-cn/blog/pinpoint.json
index f2726e2..3573fd6 100644
--- a/zh-cn/blog/pinpoint.json
+++ b/zh-cn/blog/pinpoint.json
@@ -1,6 +1,6 @@
{
"filename": "pinpoint.md",
- "__html": "<h1>使用Pinpoint做分布式跟踪</h1>\n<p>在使用Dubbo进行服务化或者整合应用后,假设某个服务后台日志显示有异常,这个服务又被多个应用调用的情况下,我们通常很难判断是哪个应用调用的,问题的起因是什么,因此我们需要一套分布式跟踪系统来快速定位问题,Pinpoint可以帮助我们快速定位问题(当然,解决方案也不止这一种)。</p>\n<h2>什么是Pinpoint(摘自<a href=\"https://skyao.gitbooks.io/learning-pinpoint/\">Pinpoint学习笔记</a>)</h2>\n<p><a href=\"https://github.com/naver/pinpoint\">Pinpoint</a>是一个开源的 APM (Application Performance Management/应用性能管理)工具,用于基于java的大规模分布式系统。\n仿照Google Dapper,Pinpoint通过跟踪分布式应用之间的调用来提供解决方案,以帮助分析系统的总体结构和内部模块之间如何 [...]
+ "__html": "<h1>使用Pinpoint做分布式跟踪</h1>\n<p>在使用Dubbo进行服务化或者整合应用后,假设某个服务后台日志显示有异常,这个服务又被多个应用调用的情况下,我们通常很难判断是哪个应用调用的,问题的起因是什么,因此我们需要一套分布式跟踪系统来快速定位问题,Pinpoint可以帮助我们快速定位问题(当然,解决方案也不止这一种)。</p>\n<h2>什么是Pinpoint(摘自<a href=\"https://skyao.gitbooks.io/learning-pinpoint/\">Pinpoint学习笔记</a>)</h2>\n<p><a href=\"https://github.com/naver/pinpoint\">Pinpoint</a>是一个开源的 APM (Application Performance Management/应用性能管理)工具,用于基于java的大规模分布式系统。\n仿照Google Dapper,Pinpoint通过跟踪分布式应用之间的调用来提供解决方案,以帮助分析系统的总体结构和内部模块之间如何 [...]
"link": "/zh-cn/blog/pinpoint.html",
"meta": {
"title": "使用Pinpoint做分布式跟踪",
diff --git a/zh-cn/docs/admin/install/zookeeper.html b/zh-cn/docs/admin/install/zookeeper.html
index 558d997..b542da2 100644
--- a/zh-cn/docs/admin/install/zookeeper.html
+++ b/zh-cn/docs/admin/install/zookeeper.html
@@ -25,20 +25,20 @@ cp conf/zoo_sample.cfg conf/zoo.cfg
<pre><code class="language-sh">vi conf/zoo.cfg
</code></pre>
<p>如果不需要集群,<code>zoo.cfg</code> 的内容如下 <sup class="footnote-ref"><a href="#fn2" id="fnref2">[2]</a></sup>:</p>
-<pre><code class="language-properties"><span class="hljs-attr">tickTime</span>=<span class="hljs-string">2000</span>
-<span class="hljs-attr">initLimit</span>=<span class="hljs-string">10</span>
-<span class="hljs-attr">syncLimit</span>=<span class="hljs-string">5</span>
-<span class="hljs-attr">dataDir</span>=<span class="hljs-string">/home/dubbo/zookeeper-3.3.3/data</span>
-<span class="hljs-attr">clientPort</span>=<span class="hljs-string">2181</span>
+<pre><code class="language-properties">tickTime=2000
+initLimit=10
+syncLimit=5
+dataDir=/home/dubbo/zookeeper-3.3.3/data
+clientPort=2181
</code></pre>
<p>如果需要集群,<code>zoo.cfg</code> 的内容如下 <sup class="footnote-ref"><a href="#fn3" id="fnref3">[3]</a></sup>:</p>
-<pre><code class="language-properties"><span class="hljs-attr">tickTime</span>=<span class="hljs-string">2000</span>
-<span class="hljs-attr">initLimit</span>=<span class="hljs-string">10</span>
-<span class="hljs-attr">syncLimit</span>=<span class="hljs-string">5</span>
-<span class="hljs-attr">dataDir</span>=<span class="hljs-string">/home/dubbo/zookeeper-3.3.3/data</span>
-<span class="hljs-attr">clientPort</span>=<span class="hljs-string">2181</span>
-<span class="hljs-meta">server.1</span>=<span class="hljs-string">10.20.153.10:2555:3555</span>
-<span class="hljs-meta">server.2</span>=<span class="hljs-string">10.20.153.11:2555:3555</span>
+<pre><code class="language-properties">tickTime=2000
+initLimit=10
+syncLimit=5
+dataDir=/home/dubbo/zookeeper-3.3.3/data
+clientPort=2181
+server.1=10.20.153.10:2555:3555
+server.2=10.20.153.11:2555:3555
</code></pre>
<p>并在 data 目录 <sup class="footnote-ref"><a href="#fn4" id="fnref4">[4]</a></sup> 下放置 myid 文件:</p>
<pre><code class="language-sh">mkdir data
diff --git a/zh-cn/docs/admin/install/zookeeper.json b/zh-cn/docs/admin/install/zookeeper.json
index f9a2007..452e162 100644
--- a/zh-cn/docs/admin/install/zookeeper.json
+++ b/zh-cn/docs/admin/install/zookeeper.json
@@ -1,6 +1,6 @@
{
"filename": "zookeeper.md",
- "__html": "<h1>Zookeeper 注册中心安装</h1>\n<p>建议使用 <code>dubbo-2.3.3</code> 以上版本的 zookeeper <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup> 注册中心客户端。</p>\n<p>Dubbo 未对 Zookeeper 服务器端做任何侵入修改,只需安装原生的 Zookeeper 服务器即可,所有注册中心逻辑适配都在调用 Zookeeper 客户端时完成。</p>\n<p>安装:</p>\n<pre><code class=\"language-sh\">wget http://archive.apache.org/dist/zookeeper/zookeeper-3.3.3/zookeeper-3.3.3.tar.gz\ntar zxvf zookeeper-3.3.3.tar.gz\n<span class=\"hljs-built_in\">cd</span> zookeeper-3.3.3\ [...]
+ "__html": "<h1>Zookeeper 注册中心安装</h1>\n<p>建议使用 <code>dubbo-2.3.3</code> 以上版本的 zookeeper <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup> 注册中心客户端。</p>\n<p>Dubbo 未对 Zookeeper 服务器端做任何侵入修改,只需安装原生的 Zookeeper 服务器即可,所有注册中心逻辑适配都在调用 Zookeeper 客户端时完成。</p>\n<p>安装:</p>\n<pre><code class=\"language-sh\">wget http://archive.apache.org/dist/zookeeper/zookeeper-3.3.3/zookeeper-3.3.3.tar.gz\ntar zxvf zookeeper-3.3.3.tar.gz\n<span class=\"hljs-built_in\">cd</span> zookeeper-3.3.3\ [...]
"link": "/zh-cn/docs/admin/install/zookeeper.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/admin/introduction.html b/zh-cn/docs/admin/introduction.html
index 11d4401..5f384ed 100644
--- a/zh-cn/docs/admin/introduction.html
+++ b/zh-cn/docs/admin/introduction.html
@@ -54,15 +54,15 @@ java -jar dubbo-admin-server-0.1.jar
<pre><code class="language-sh">dubbo-admin-server/src/main/resources/application.properties
</code></pre>
<p>主要的配置有:</p>
-<pre><code class="language-properties"><span class="hljs-meta">admin.config-center</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">admin.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">admin.metadata-report.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties">admin.config-center=zookeeper://127.0.0.1:2181
+admin.registry.address=zookeeper://127.0.0.1:2181
+admin.metadata-report.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>三个配置项分别指定了配置中心,注册中心和元数据中心的地址,关于这三个中心的详细说明,可以参考<a href="../user/configuration/config-center.md">这里</a>。
也可以和Dubbo2.7一样,在配置中心指定元数据和注册中心的地址,以zookeeper为例,配置的路径和内容如下:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># /dubbo/config/dubbo/dubbo.properties</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.metadata-report.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties"># /dubbo/config/dubbo/dubbo.properties
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.metadata-report.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>配置中心里的地址会覆盖掉本地<code>application.properties</code>的配置</p>
<p>其他配置请访问github中的文档:</p>
diff --git a/zh-cn/docs/admin/introduction.json b/zh-cn/docs/admin/introduction.json
index 2241cd0..1d7f744 100644
--- a/zh-cn/docs/admin/introduction.json
+++ b/zh-cn/docs/admin/introduction.json
@@ -1,6 +1,6 @@
{
"filename": "introduction.md",
- "__html": "<h1>Dubbo管理控制台介绍</h1>\n<p>目前的管理控制台已经发布0.1版本,结构上采取了前后端分离的方式,前端使用Vue和Vuetify分别作为Javascript框架和UI框架,后端采用Spring Boot框架。既可以按照标准的Maven方式进行打包,部署,也可以采用前后端分离的部署方式,方便开发,功能上,目前具备了服务查询,服务治理(包括Dubbo2.7中新增的治理规则)以及服务测试三部分内容。</p>\n<h3>Maven方式部署</h3>\n<ul>\n<li>安装</li>\n</ul>\n<pre><code class=\"language-sh\">git <span class=\"hljs-built_in\">clone</span> https://github.com/apache/incubator-dubbo-admin.git\n<span class=\"hljs-built_in\">cd</span> incubator-dubbo-admin\nmvn clean package\n<spa [...]
+ "__html": "<h1>Dubbo管理控制台介绍</h1>\n<p>目前的管理控制台已经发布0.1版本,结构上采取了前后端分离的方式,前端使用Vue和Vuetify分别作为Javascript框架和UI框架,后端采用Spring Boot框架。既可以按照标准的Maven方式进行打包,部署,也可以采用前后端分离的部署方式,方便开发,功能上,目前具备了服务查询,服务治理(包括Dubbo2.7中新增的治理规则)以及服务测试三部分内容。</p>\n<h3>Maven方式部署</h3>\n<ul>\n<li>安装</li>\n</ul>\n<pre><code class=\"language-sh\">git <span class=\"hljs-built_in\">clone</span> https://github.com/apache/incubator-dubbo-admin.git\n<span class=\"hljs-built_in\">cd</span> incubator-dubbo-admin\nmvn clean package\n<spa [...]
"link": "/zh-cn/docs/admin/introduction.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/admin/ops/pinpoint.html b/zh-cn/docs/admin/ops/pinpoint.html
index 7f2ac8d..0d8de84 100644
--- a/zh-cn/docs/admin/ops/pinpoint.html
+++ b/zh-cn/docs/admin/ops/pinpoint.html
@@ -57,7 +57,7 @@
<h3>准备Dubbo示例程序</h3>
<h4>创建API包</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
@@ -77,7 +77,7 @@ public interface HelloService {
</code></pre>
<h4>实现 Dubbo 服务提供方</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -192,34 +192,34 @@ public interface HelloService {
<ol start="3">
<li>配置 <code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">server.port</span> = <span class="hljs-string">9090</span>
-<span class="hljs-meta">management.port</span> = <span class="hljs-string">9091</span>
-<span class="hljs-comment">
-# Service version</span>
-<span class="hljs-meta">demo.service.version</span> = <span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Base packages to scan Dubbo Components (e.g @Service , @Reference)</span>
-<span class="hljs-meta">dubbo.scan.basePackages</span> = <span class="hljs-string">com.example.demoprovider</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-meta">dubbo.application.name</span> = <span class="hljs-string">dubbo-provider-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span> = <span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span> = <span class="hljs-string">12345</span>
-<span class="hljs-comment">
-## RegistryConfig Bean</span>
-<span class="hljs-meta">dubbo.registry.id</span> = <span class="hljs-string">my-registry</span>
-<span class="hljs-meta">dubbo.registry.address</span> = <span class="hljs-string">N/A</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name = dubbo-provider-demo
+server.port = 9090
+management.port = 9091
+
+# Service version
+demo.service.version = 1.0.0
+
+# Base packages to scan Dubbo Components (e.g @Service , @Reference)
+dubbo.scan.basePackages = com.example.demoprovider
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id = dubbo-provider-demo
+dubbo.application.name = dubbo-provider-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id = dubbo
+dubbo.protocol.name = dubbo
+dubbo.protocol.port = 12345
+
+## RegistryConfig Bean
+dubbo.registry.id = my-registry
+dubbo.registry.address = N/A
</code></pre>
<h4>实现 Dubbo 服务消费方</h4>
<p>pom.xml</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">project</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0"</span> <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">modelVersion</span>></span>4.0.0<span class="hljs-tag"></<span class="hljs-name">modelVersion</span>></span>
@@ -340,23 +340,23 @@ public interface HelloService {
<ol start="3">
<li>配置 <code>application.properties</code>:</li>
</ol>
-<pre><code class="language-properties"><span class="hljs-comment"># Spring boot application</span>
-<span class="hljs-meta">spring.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">server.port</span>=<span class="hljs-string">8080</span>
-<span class="hljs-meta">management.port</span>=<span class="hljs-string">8081</span>
-<span class="hljs-comment">
-# Service Version</span>
-<span class="hljs-meta">demo.service.version</span>=<span class="hljs-string">1.0.0</span>
-<span class="hljs-comment">
-# Dubbo Config properties</span>
-<span class="hljs-comment">## ApplicationConfig Bean</span>
-<span class="hljs-meta">dubbo.application.id</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">dubbo-consumer-demo</span>
-<span class="hljs-comment">
-## ProtocolConfig Bean</span>
-<span class="hljs-meta">dubbo.protocol.id</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">12345</span>
+<pre><code class="language-properties"># Spring boot application
+spring.application.name=dubbo-consumer-demo
+server.port=8080
+management.port=8081
+
+# Service Version
+demo.service.version=1.0.0
+
+# Dubbo Config properties
+## ApplicationConfig Bean
+dubbo.application.id=dubbo-consumer-demo
+dubbo.application.name=dubbo-consumer-demo
+
+## ProtocolConfig Bean
+dubbo.protocol.id=dubbo
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=12345
</code></pre>
<h3>使用Pinpoint-agent启动服务提供方和服务消费方</h3>
<h4>启动服务提供方</h4>
diff --git a/zh-cn/docs/admin/ops/pinpoint.json b/zh-cn/docs/admin/ops/pinpoint.json
index f61976f..e02d2a2 100644
--- a/zh-cn/docs/admin/ops/pinpoint.json
+++ b/zh-cn/docs/admin/ops/pinpoint.json
@@ -1,6 +1,6 @@
{
"filename": "pinpoint.md",
- "__html": "<h1>使用Pinpoint做分布式跟踪</h1>\n<p>在使用Dubbo进行服务化或者整合应用后,假设某个服务后台日志显示有异常,这个服务又被多个应用调用的情况下,我们通常很难判断是哪个应用调用的,问题的起因是什么,因此我们需要一套分布式跟踪系统来快速定位问题,Pinpoint可以帮助我们快速定位问题(当然,解决方案也不止这一种)。</p>\n<h2>什么是Pinpoint(摘自<a href=\"https://skyao.gitbooks.io/learning-pinpoint/\">Pinpoint学习笔记</a>)</h2>\n<p><a href=\"https://github.com/naver/pinpoint\">Pinpoint</a>是一个开源的 APM (Application Performance Management/应用性能管理)工具,用于基于java的大规模分布式系统。\n仿照Google Dapper,Pinpoint通过跟踪分布式应用之间的调用来提供解决方案,以帮助分析系统的总体结构和内部模块之间如何 [...]
+ "__html": "<h1>使用Pinpoint做分布式跟踪</h1>\n<p>在使用Dubbo进行服务化或者整合应用后,假设某个服务后台日志显示有异常,这个服务又被多个应用调用的情况下,我们通常很难判断是哪个应用调用的,问题的起因是什么,因此我们需要一套分布式跟踪系统来快速定位问题,Pinpoint可以帮助我们快速定位问题(当然,解决方案也不止这一种)。</p>\n<h2>什么是Pinpoint(摘自<a href=\"https://skyao.gitbooks.io/learning-pinpoint/\">Pinpoint学习笔记</a>)</h2>\n<p><a href=\"https://github.com/naver/pinpoint\">Pinpoint</a>是一个开源的 APM (Application Performance Management/应用性能管理)工具,用于基于java的大规模分布式系统。\n仿照Google Dapper,Pinpoint通过跟踪分布式应用之间的调用来提供解决方案,以帮助分析系统的总体结构和内部模块之间如何 [...]
"link": "/zh-cn/docs/admin/ops/pinpoint.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/SPI.html b/zh-cn/docs/dev/SPI.html
index 68af320..86d61e0 100644
--- a/zh-cn/docs/dev/SPI.html
+++ b/zh-cn/docs/dev/SPI.html
@@ -26,7 +26,7 @@
<p>在扩展类的 jar 包内 <sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup>,放置扩展点配置文件 <code>META-INF/dubbo/接口全限定名</code>,内容为:<code>配置名=扩展实现类全限定名</code>,多个实现类用换行符分隔。</p>
<h3>示例:</h3>
<p>以扩展 Dubbo 的协议为例,在协议的实现 jar 包内放置文本文件:<code>META-INF/dubbo/org.apache.dubbo.rpc.Protocol</code>,内容为:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.alibaba.xxx.XxxProtocol</span>
+<pre><code class="language-properties">xxx=com.alibaba.xxx.XxxProtocol
</code></pre>
<p>实现类内容 <sup class="footnote-ref"><a href="#fn2" id="fnref2">[2]</a></sup>:</p>
<pre><code class="language-java"><span class="hljs-keyword">package</span> com.alibaba.xxx;
diff --git a/zh-cn/docs/dev/SPI.json b/zh-cn/docs/dev/SPI.json
index 4b0fb8d..50c4a59 100644
--- a/zh-cn/docs/dev/SPI.json
+++ b/zh-cn/docs/dev/SPI.json
@@ -1,6 +1,6 @@
{
"filename": "SPI.md",
- "__html": "<h1>扩展点加载</h1>\n<h2>扩展点配置</h2>\n<h3>来源:</h3>\n<p>Dubbo 的扩展点加载从 JDK 标准的 SPI (Service Provider Interface) 扩展点发现机制加强而来。</p>\n<p>Dubbo 改进了 JDK 标准的 SPI 的以下问题:</p>\n<ul>\n<li>JDK 标准的 SPI 会一次性实例化扩展点所有实现,如果有扩展实现初始化很耗时,但如果没用上也加载,会很浪费资源。</li>\n<li>如果扩展点加载失败,连扩展点的名称都拿不到了。比如:JDK 标准的 ScriptEngine,通过 <code>getName()</code> 获取脚本类型的名称,但如果 RubyScriptEngine 因为所依赖的 jruby.jar 不存在,导致 RubyScriptEngine 类加载失败,这个失败原因被吃掉了,和 ruby 对应不起来,当用户执行 ruby 脚本时,会报不支持 ruby,而不是真正失败的原因。</li>\n<li>增加了对扩展点 IoC 和 AOP [...]
+ "__html": "<h1>扩展点加载</h1>\n<h2>扩展点配置</h2>\n<h3>来源:</h3>\n<p>Dubbo 的扩展点加载从 JDK 标准的 SPI (Service Provider Interface) 扩展点发现机制加强而来。</p>\n<p>Dubbo 改进了 JDK 标准的 SPI 的以下问题:</p>\n<ul>\n<li>JDK 标准的 SPI 会一次性实例化扩展点所有实现,如果有扩展实现初始化很耗时,但如果没用上也加载,会很浪费资源。</li>\n<li>如果扩展点加载失败,连扩展点的名称都拿不到了。比如:JDK 标准的 ScriptEngine,通过 <code>getName()</code> 获取脚本类型的名称,但如果 RubyScriptEngine 因为所依赖的 jruby.jar 不存在,导致 RubyScriptEngine 类加载失败,这个失败原因被吃掉了,和 ruby 对应不起来,当用户执行 ruby 脚本时,会报不支持 ruby,而不是真正失败的原因。</li>\n<li>增加了对扩展点 IoC 和 AOP [...]
"link": "/zh-cn/docs/dev/SPI.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/cache.html b/zh-cn/docs/dev/impls/cache.html
index 23734f3..e5e8f11 100644
--- a/zh-cn/docs/dev/impls/cache.html
+++ b/zh-cn/docs/dev/impls/cache.html
@@ -72,7 +72,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.cache.CacheFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxCacheFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxCacheFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/cache.json b/zh-cn/docs/dev/impls/cache.json
index 0026c99..14d2868 100644
--- a/zh-cn/docs/dev/impls/cache.json
+++ b/zh-cn/docs/dev/impls/cache.json
@@ -1,6 +1,6 @@
{
"filename": "cache.md",
- "__html": "<h1>缓存扩展</h1>\n<h2>扩展说明</h2>\n<p>用请求参数作为 key,缓存返回结果。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.cache.CacheFactory</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">cache</span>=<span class=\"hljs-string\">\"lru\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 方法级缓存 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</ [...]
+ "__html": "<h1>缓存扩展</h1>\n<h2>扩展说明</h2>\n<p>用请求参数作为 key,缓存返回结果。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.cache.CacheFactory</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">cache</span>=<span class=\"hljs-string\">\"lru\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 方法级缓存 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</ [...]
"link": "/zh-cn/docs/dev/impls/cache.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/cluster.html b/zh-cn/docs/dev/impls/cluster.html
index 4c65aa3..493a6eb 100644
--- a/zh-cn/docs/dev/impls/cluster.html
+++ b/zh-cn/docs/dev/impls/cluster.html
@@ -67,7 +67,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.Cluster:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxCluster</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxCluster
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/cluster.json b/zh-cn/docs/dev/impls/cluster.json
index 5829db0..e1fe0e0 100644
--- a/zh-cn/docs/dev/impls/cluster.json
+++ b/zh-cn/docs/dev/impls/cluster.json
@@ -1,6 +1,6 @@
{
"filename": "cluster.md",
- "__html": "<h1>集群扩展</h1>\n<h2>扩展说明</h2>\n<p>当有多个服务提供方时,将多个服务提供方组织成一个集群,并伪装成一个提供方。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Cluster</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">cluster</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值配置,如果<dubbo:protocol>没有配置cluster时,使用此配置 --></span>\n<span [...]
+ "__html": "<h1>集群扩展</h1>\n<h2>扩展说明</h2>\n<p>当有多个服务提供方时,将多个服务提供方组织成一个集群,并伪装成一个提供方。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Cluster</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">cluster</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值配置,如果<dubbo:protocol>没有配置cluster时,使用此配置 --></span>\n<span [...]
"link": "/zh-cn/docs/dev/impls/cluster.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/compiler.html b/zh-cn/docs/dev/impls/compiler.html
index 4d444f8..5ee5ca2 100644
--- a/zh-cn/docs/dev/impls/compiler.html
+++ b/zh-cn/docs/dev/impls/compiler.html
@@ -49,7 +49,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.compiler.Compiler:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxCompiler</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxCompiler
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/compiler.json b/zh-cn/docs/dev/impls/compiler.json
index 4b7768d..a60ccb3 100644
--- a/zh-cn/docs/dev/impls/compiler.json
+++ b/zh-cn/docs/dev/impls/compiler.json
@@ -1,6 +1,6 @@
{
"filename": "compiler.md",
- "__html": "<h1>编译器扩展</h1>\n<h2>扩展说明</h2>\n<p>Java 代码编译器,用于动态生成字节码,加速调用。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.compiler.Compiler</code></p>\n<h2>扩展配置</h2>\n<p>自动加载</p>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.common.compiler.support.JdkCompiler</code></li>\n<li><code>org.apache.dubbo.common.compiler.support.JavassistCompiler</code></li>\n</ul>\n<h2>扩展示例</h2>\n<p>Maven 项目结构:</p>\n<pre><code>src\n |-main\n |-java\n |-com\n |-xxx\n [...]
+ "__html": "<h1>编译器扩展</h1>\n<h2>扩展说明</h2>\n<p>Java 代码编译器,用于动态生成字节码,加速调用。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.compiler.Compiler</code></p>\n<h2>扩展配置</h2>\n<p>自动加载</p>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.common.compiler.support.JdkCompiler</code></li>\n<li><code>org.apache.dubbo.common.compiler.support.JavassistCompiler</code></li>\n</ul>\n<h2>扩展示例</h2>\n<p>Maven 项目结构:</p>\n<pre><code>src\n |-main\n |-java\n |-com\n |-xxx\n [...]
"link": "/zh-cn/docs/dev/impls/compiler.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/container.html b/zh-cn/docs/dev/impls/container.html
index fb91ec4..97df897 100644
--- a/zh-cn/docs/dev/impls/container.html
+++ b/zh-cn/docs/dev/impls/container.html
@@ -55,7 +55,7 @@ org.apache.dubbo.container.Container;
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.container.Container:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxContainer</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxContainer
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/container.json b/zh-cn/docs/dev/impls/container.json
index f73769a..68d0bab 100644
--- a/zh-cn/docs/dev/impls/container.json
+++ b/zh-cn/docs/dev/impls/container.json
@@ -1,6 +1,6 @@
{
"filename": "container.md",
- "__html": "<h1>容器扩展</h1>\n<h2>扩展说明</h2>\n<p>服务容器扩展,用于自定义加载内容。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.container.Container</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-sh\">java org.apache.dubbo.container.Main spring jetty log4j\n</code></pre>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.container.spring.SpringContainer</code></li>\n<li><code>org.apache.dubbo.container.spring.JettyContainer</code></li>\n<li><code>org.apache.dubbo.container.spring.Log4jContainer</code [...]
+ "__html": "<h1>容器扩展</h1>\n<h2>扩展说明</h2>\n<p>服务容器扩展,用于自定义加载内容。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.container.Container</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-sh\">java org.apache.dubbo.container.Main spring jetty log4j\n</code></pre>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.container.spring.SpringContainer</code></li>\n<li><code>org.apache.dubbo.container.spring.JettyContainer</code></li>\n<li><code>org.apache.dubbo.container.spring.Log4jContainer</code [...]
"link": "/zh-cn/docs/dev/impls/container.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/dispatcher.html b/zh-cn/docs/dev/impls/dispatcher.html
index 16a62b8..9f6e48f 100644
--- a/zh-cn/docs/dev/impls/dispatcher.html
+++ b/zh-cn/docs/dev/impls/dispatcher.html
@@ -55,7 +55,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.Dispatcher:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxDispatcher</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxDispatcher
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/dispatcher.json b/zh-cn/docs/dev/impls/dispatcher.json
index 8ce373f..3638955 100644
--- a/zh-cn/docs/dev/impls/dispatcher.json
+++ b/zh-cn/docs/dev/impls/dispatcher.json
@@ -1,6 +1,6 @@
{
"filename": "dispatcher.md",
- "__html": "<h1>消息派发扩展</h1>\n<h2>扩展说明</h2>\n<p>通道信息派发器,用于指定线程池模型。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.remoting.Dispatcher</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">dispatcher</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置dispatcher属性时,使用此配置 --></span>\n<span class=\"h [...]
+ "__html": "<h1>消息派发扩展</h1>\n<h2>扩展说明</h2>\n<p>通道信息派发器,用于指定线程池模型。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.remoting.Dispatcher</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">dispatcher</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置dispatcher属性时,使用此配置 --></span>\n<span class=\"h [...]
"link": "/zh-cn/docs/dev/impls/dispatcher.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/exchanger.html b/zh-cn/docs/dev/impls/exchanger.html
index 960e7f7..c4dec79 100644
--- a/zh-cn/docs/dev/impls/exchanger.html
+++ b/zh-cn/docs/dev/impls/exchanger.html
@@ -78,7 +78,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.exchange.Exchanger:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxExchanger</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxExchanger
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/exchanger.json b/zh-cn/docs/dev/impls/exchanger.json
index 48bf619..d17bf27 100644
--- a/zh-cn/docs/dev/impls/exchanger.json
+++ b/zh-cn/docs/dev/impls/exchanger.json
@@ -1,6 +1,6 @@
{
"filename": "exchanger.md",
- "__html": "<h1>信息交换扩展</h1>\n<h2>扩展说明</h2>\n<p>基于传输层之上,实现 Request-Response 信息交换语义。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.exchange.Exchanger</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeServer</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeClient</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">exchanger [...]
+ "__html": "<h1>信息交换扩展</h1>\n<h2>扩展说明</h2>\n<p>基于传输层之上,实现 Request-Response 信息交换语义。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.exchange.Exchanger</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeServer</code></li>\n<li><code>org.apache.dubbo.remoting.exchange.ExchangeClient</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">exchanger [...]
"link": "/zh-cn/docs/dev/impls/exchanger.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/exporter-listener.html b/zh-cn/docs/dev/impls/exporter-listener.html
index ee6a2bb..2ce693e 100644
--- a/zh-cn/docs/dev/impls/exporter-listener.html
+++ b/zh-cn/docs/dev/impls/exporter-listener.html
@@ -56,7 +56,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.ExporterListener:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxExporterListener</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxExporterListener
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/exporter-listener.json b/zh-cn/docs/dev/impls/exporter-listener.json
index 4933fb5..09afd6f 100644
--- a/zh-cn/docs/dev/impls/exporter-listener.json
+++ b/zh-cn/docs/dev/impls/exporter-listener.json
@@ -1,6 +1,6 @@
{
"filename": "exporter-listener.md",
- "__html": "<h1>暴露监听扩展</h1>\n<h2>扩展说明</h2>\n<p>当有服务暴露时,触发该事件。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.ExporterListener</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 暴露服务监听 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">listener</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 暴露服务缺省监听器 --></span>\n< [...]
+ "__html": "<h1>暴露监听扩展</h1>\n<h2>扩展说明</h2>\n<p>当有服务暴露时,触发该事件。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.ExporterListener</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 暴露服务监听 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">listener</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 暴露服务缺省监听器 --></span>\n< [...]
"link": "/zh-cn/docs/dev/impls/exporter-listener.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/extension-factory.html b/zh-cn/docs/dev/impls/extension-factory.html
index 6a26796..3feadd3 100644
--- a/zh-cn/docs/dev/impls/extension-factory.html
+++ b/zh-cn/docs/dev/impls/extension-factory.html
@@ -50,7 +50,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.extension.ExtensionFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxExtensionFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxExtensionFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/extension-factory.json b/zh-cn/docs/dev/impls/extension-factory.json
index 5a74441..6ff655f 100644
--- a/zh-cn/docs/dev/impls/extension-factory.json
+++ b/zh-cn/docs/dev/impls/extension-factory.json
@@ -1,6 +1,6 @@
{
"filename": "extension-factory.md",
- "__html": "<h1>扩展点加载扩展</h1>\n<h2>扩展说明</h2>\n<p>扩展点本身的加载容器,可从不同容器加载扩展点。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.extension.ExtensionFactory</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">compiler</span>=<span class=\"hljs-string\">\"jdk\"</span> /></span>\n</code></pre>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.common.extension.factory.SpiExtensio [...]
+ "__html": "<h1>扩展点加载扩展</h1>\n<h2>扩展说明</h2>\n<p>扩展点本身的加载容器,可从不同容器加载扩展点。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.extension.ExtensionFactory</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">compiler</span>=<span class=\"hljs-string\">\"jdk\"</span> /></span>\n</code></pre>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.common.extension.factory.SpiExtensio [...]
"link": "/zh-cn/docs/dev/impls/extension-factory.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/filter.html b/zh-cn/docs/dev/impls/filter.html
index 78dd12e..b6bd64b 100644
--- a/zh-cn/docs/dev/impls/filter.html
+++ b/zh-cn/docs/dev/impls/filter.html
@@ -82,7 +82,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.Filter:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxFilter</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxFilter
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/filter.json b/zh-cn/docs/dev/impls/filter.json
index 83bc4d9..a997586 100644
--- a/zh-cn/docs/dev/impls/filter.json
+++ b/zh-cn/docs/dev/impls/filter.json
@@ -1,6 +1,6 @@
{
"filename": "filter.md",
- "__html": "<h1>调用拦截扩展</h1>\n<h2>扩展说明</h2>\n<p>服务提供方和服务消费方调用过程拦截,Dubbo 本身的大多功能均基于此扩展点实现,每次远程方法执行,该拦截都会被执行,请注意对性能的影响。</p>\n<p>约定:</p>\n<ul>\n<li>用户自定义 filter 默认在内置 filter 之后。</li>\n<li>特殊值 <code>default</code>,表示缺省扩展点插入的位置。比如:<code>filter="xxx,default,yyy"</code>,表示 <code>xxx</code> 在缺省 filter 之前,<code>yyy</code> 在缺省 filter 之后。</li>\n<li>特殊符号 <code>-</code>,表示剔除。比如:<code>filter="-foo1"</code>,剔除添加缺省扩展点 <code>foo1</code>。比如:<code>filter="-default"</code>,剔除添加 [...]
+ "__html": "<h1>调用拦截扩展</h1>\n<h2>扩展说明</h2>\n<p>服务提供方和服务消费方调用过程拦截,Dubbo 本身的大多功能均基于此扩展点实现,每次远程方法执行,该拦截都会被执行,请注意对性能的影响。</p>\n<p>约定:</p>\n<ul>\n<li>用户自定义 filter 默认在内置 filter 之后。</li>\n<li>特殊值 <code>default</code>,表示缺省扩展点插入的位置。比如:<code>filter="xxx,default,yyy"</code>,表示 <code>xxx</code> 在缺省 filter 之前,<code>yyy</code> 在缺省 filter 之后。</li>\n<li>特殊符号 <code>-</code>,表示剔除。比如:<code>filter="-foo1"</code>,剔除添加缺省扩展点 <code>foo1</code>。比如:<code>filter="-default"</code>,剔除添加 [...]
"link": "/zh-cn/docs/dev/impls/filter.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/invoker-listener.html b/zh-cn/docs/dev/impls/invoker-listener.html
index c00e0ad..ee79cd6 100644
--- a/zh-cn/docs/dev/impls/invoker-listener.html
+++ b/zh-cn/docs/dev/impls/invoker-listener.html
@@ -55,7 +55,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.InvokerListener:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxInvokerListener</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxInvokerListener
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/invoker-listener.json b/zh-cn/docs/dev/impls/invoker-listener.json
index eb2fef1..68019b9 100644
--- a/zh-cn/docs/dev/impls/invoker-listener.json
+++ b/zh-cn/docs/dev/impls/invoker-listener.json
@@ -1,6 +1,6 @@
{
"filename": "invoker-listener.md",
- "__html": "<h1>引用监听扩展</h1>\n<h2>扩展说明</h2>\n<p>当有服务引用时,触发该事件。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.InvokerListener</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 引用服务监听 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:reference</span> <span class=\"hljs-attr\">listener</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span> \n<span class=\"hljs-comment\"><!-- 引用服务缺省监听器 --></span>\ [...]
+ "__html": "<h1>引用监听扩展</h1>\n<h2>扩展说明</h2>\n<p>当有服务引用时,触发该事件。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.InvokerListener</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 引用服务监听 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:reference</span> <span class=\"hljs-attr\">listener</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span> \n<span class=\"hljs-comment\"><!-- 引用服务缺省监听器 --></span>\ [...]
"link": "/zh-cn/docs/dev/impls/invoker-listener.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/load-balance.html b/zh-cn/docs/dev/impls/load-balance.html
index f1f300f..b65969a 100644
--- a/zh-cn/docs/dev/impls/load-balance.html
+++ b/zh-cn/docs/dev/impls/load-balance.html
@@ -56,7 +56,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxLoadBalance</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxLoadBalance
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/load-balance.json b/zh-cn/docs/dev/impls/load-balance.json
index 23e3b56..65bc1b1 100644
--- a/zh-cn/docs/dev/impls/load-balance.json
+++ b/zh-cn/docs/dev/impls/load-balance.json
@@ -1,6 +1,6 @@
{
"filename": "load-balance.md",
- "__html": "<h1>负载均衡扩展</h1>\n<h2>扩展说明</h2>\n<p>从多个服务提者方中选择一个进行调用</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.cluster.LoadBalance</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">loadbalance</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置loadbalance时,使用此配置 --></span>\n<span class= [...]
+ "__html": "<h1>负载均衡扩展</h1>\n<h2>扩展说明</h2>\n<p>从多个服务提者方中选择一个进行调用</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.cluster.LoadBalance</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">loadbalance</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置loadbalance时,使用此配置 --></span>\n<span class= [...]
"link": "/zh-cn/docs/dev/impls/load-balance.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/logger-adapter.html b/zh-cn/docs/dev/impls/logger-adapter.html
index 23ee735..5e3e5f7 100644
--- a/zh-cn/docs/dev/impls/logger-adapter.html
+++ b/zh-cn/docs/dev/impls/logger-adapter.html
@@ -71,7 +71,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.logger.LoggerAdapter:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxLoggerAdapter</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxLoggerAdapter
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/logger-adapter.json b/zh-cn/docs/dev/impls/logger-adapter.json
index 1b800d7..9013dc0 100644
--- a/zh-cn/docs/dev/impls/logger-adapter.json
+++ b/zh-cn/docs/dev/impls/logger-adapter.json
@@ -1,6 +1,6 @@
{
"filename": "logger-adapter.md",
- "__html": "<h1>日志适配扩展</h1>\n<h2>扩展说明</h2>\n<p>日志输出适配扩展点。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.logger.LoggerAdapter</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">logger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<p>或者:</p>\n<pre><code class=\"language-sh\">-Ddubbo:application.logger=xxx\n</code></pre>\n<h2>已知扩展</h2>\ [...]
+ "__html": "<h1>日志适配扩展</h1>\n<h2>扩展说明</h2>\n<p>日志输出适配扩展点。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.logger.LoggerAdapter</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">logger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<p>或者:</p>\n<pre><code class=\"language-sh\">-Ddubbo:application.logger=xxx\n</code></pre>\n<h2>已知扩展</h2>\ [...]
"link": "/zh-cn/docs/dev/impls/logger-adapter.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/merger.html b/zh-cn/docs/dev/impls/merger.html
index b03309b..1e97af7 100644
--- a/zh-cn/docs/dev/impls/merger.html
+++ b/zh-cn/docs/dev/impls/merger.html
@@ -52,7 +52,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.Merger:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxMerger</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxMerger
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/merger.json b/zh-cn/docs/dev/impls/merger.json
index bf99d77..bbdae5f 100644
--- a/zh-cn/docs/dev/impls/merger.json
+++ b/zh-cn/docs/dev/impls/merger.json
@@ -1,6 +1,6 @@
{
"filename": "merger.md",
- "__html": "<h1>合并结果扩展</h1>\n<h2>扩展说明</h2>\n<p>合并返回结果,用于分组聚合。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Merger</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:method</span> <span class=\"hljs-attr\">merger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.merger.ArrayMerger</code></li>\n<li><code>org.apache.dub [...]
+ "__html": "<h1>合并结果扩展</h1>\n<h2>扩展说明</h2>\n<p>合并返回结果,用于分组聚合。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.cluster.Merger</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:method</span> <span class=\"hljs-attr\">merger</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n</code></pre>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.merger.ArrayMerger</code></li>\n<li><code>org.apache.dub [...]
"link": "/zh-cn/docs/dev/impls/merger.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/monitor.html b/zh-cn/docs/dev/impls/monitor.html
index a30e930..1a89e67 100644
--- a/zh-cn/docs/dev/impls/monitor.html
+++ b/zh-cn/docs/dev/impls/monitor.html
@@ -65,7 +65,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.monitor.MonitorFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxMonitorFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxMonitorFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/monitor.json b/zh-cn/docs/dev/impls/monitor.json
index 6fd9bff..135c8cb 100644
--- a/zh-cn/docs/dev/impls/monitor.json
+++ b/zh-cn/docs/dev/impls/monitor.json
@@ -1,6 +1,6 @@
{
"filename": "monitor.md",
- "__html": "<h1>监控中心扩展</h1>\n<h2>扩展说明</h2>\n<p>负责服务调用次和调用时间的监控。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.monitor.MonitorFactory</code></li>\n<li><code>org.apache.dubbo.monitor.Monitor</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 定义监控中心 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:monitor</span> <span class=\"hljs-attr\">address</span>=<span class=\"hljs-string\">\"xxx://ip:port\"</spa [...]
+ "__html": "<h1>监控中心扩展</h1>\n<h2>扩展说明</h2>\n<p>负责服务调用次和调用时间的监控。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.monitor.MonitorFactory</code></li>\n<li><code>org.apache.dubbo.monitor.Monitor</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 定义监控中心 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:monitor</span> <span class=\"hljs-attr\">address</span>=<span class=\"hljs-string\">\"xxx://ip:port\"</spa [...]
"link": "/zh-cn/docs/dev/impls/monitor.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/networker.html b/zh-cn/docs/dev/impls/networker.html
index 4aa69d9..d3f06e1 100644
--- a/zh-cn/docs/dev/impls/networker.html
+++ b/zh-cn/docs/dev/impls/networker.html
@@ -52,7 +52,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.p2p.Networker:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxNetworker</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxNetworker
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/networker.json b/zh-cn/docs/dev/impls/networker.json
index a828a8a..8fe8f71 100644
--- a/zh-cn/docs/dev/impls/networker.json
+++ b/zh-cn/docs/dev/impls/networker.json
@@ -1,6 +1,6 @@
{
"filename": "networker.md",
- "__html": "<h1>组网扩展</h1>\n<h2>扩展说明</h2>\n<p>对等网络节点组网器。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.remoting.p2p.Networker</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">networker</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置networker属性时,使用此配置 --></span>\n<span class=\"hljs-tag\" [...]
+ "__html": "<h1>组网扩展</h1>\n<h2>扩展说明</h2>\n<p>对等网络节点组网器。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.remoting.p2p.Networker</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">networker</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置networker属性时,使用此配置 --></span>\n<span class=\"hljs-tag\" [...]
"link": "/zh-cn/docs/dev/impls/networker.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/page.html b/zh-cn/docs/dev/impls/page.html
index b8c55e9..70454bb 100644
--- a/zh-cn/docs/dev/impls/page.html
+++ b/zh-cn/docs/dev/impls/page.html
@@ -54,7 +54,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.container.page.PageHandler:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxPageHandler</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxPageHandler
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/page.json b/zh-cn/docs/dev/impls/page.json
index 1cc2b37..d3408f8 100644
--- a/zh-cn/docs/dev/impls/page.json
+++ b/zh-cn/docs/dev/impls/page.json
@@ -1,6 +1,6 @@
{
"filename": "page.md",
- "__html": "<h1>页面扩展</h1>\n<h2>扩展说明</h2>\n<p>对等网络节点组网器。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.container.page.PageHandler</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">page</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置page属性时,使用此配置 --></span>\n<span class=\"hljs-tag\">& [...]
+ "__html": "<h1>页面扩展</h1>\n<h2>扩展说明</h2>\n<p>对等网络节点组网器。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.container.page.PageHandler</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">page</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置page属性时,使用此配置 --></span>\n<span class=\"hljs-tag\">& [...]
"link": "/zh-cn/docs/dev/impls/page.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/protocol.html b/zh-cn/docs/dev/impls/protocol.html
index 8fe62a0..c4a8b6a 100644
--- a/zh-cn/docs/dev/impls/protocol.html
+++ b/zh-cn/docs/dev/impls/protocol.html
@@ -138,7 +138,7 @@ src
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.Protocol:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxProtocol</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxProtocol
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/protocol.json b/zh-cn/docs/dev/impls/protocol.json
index 4349d20..7e7f406 100644
--- a/zh-cn/docs/dev/impls/protocol.json
+++ b/zh-cn/docs/dev/impls/protocol.json
@@ -1,6 +1,6 @@
{
"filename": "protocol.md",
- "__html": "<h1>协议扩展</h1>\n<h2>扩展说明</h2>\n<p>RPC 协议扩展,封装远程调用细节。</p>\n<p>契约:</p>\n<ul>\n<li>当用户调用 <code>refer()</code> 所返回的 <code>Invoker</code> 对象的 <code>invoke()</code> 方法时,协议需相应执行同 URL 远端 <code>export()</code> 传入的 <code>Invoker</code> 对象的 <code>invoke()</code> 方法。</li>\n<li>其中,<code>refer()</code> 返回的 <code>Invoker</code> 由协议实现,协议通常需要在此 <code>Invoker</code> 中发送远程请求,<code>export()</code> 传入的 <code>Invoker</code> 由框架实现并传入,协议不需要关心。</li>\n</ul>\n<p>注意:</p>\n<ul>\n<li>协议不关心业务接口的透明代理,以 <cod [...]
+ "__html": "<h1>协议扩展</h1>\n<h2>扩展说明</h2>\n<p>RPC 协议扩展,封装远程调用细节。</p>\n<p>契约:</p>\n<ul>\n<li>当用户调用 <code>refer()</code> 所返回的 <code>Invoker</code> 对象的 <code>invoke()</code> 方法时,协议需相应执行同 URL 远端 <code>export()</code> 传入的 <code>Invoker</code> 对象的 <code>invoke()</code> 方法。</li>\n<li>其中,<code>refer()</code> 返回的 <code>Invoker</code> 由协议实现,协议通常需要在此 <code>Invoker</code> 中发送远程请求,<code>export()</code> 传入的 <code>Invoker</code> 由框架实现并传入,协议不需要关心。</li>\n</ul>\n<p>注意:</p>\n<ul>\n<li>协议不关心业务接口的透明代理,以 <cod [...]
"link": "/zh-cn/docs/dev/impls/protocol.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/proxy-factory.html b/zh-cn/docs/dev/impls/proxy-factory.html
index 5b999bb..549dda5 100644
--- a/zh-cn/docs/dev/impls/proxy-factory.html
+++ b/zh-cn/docs/dev/impls/proxy-factory.html
@@ -58,7 +58,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.ProxyFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxProxyFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxProxyFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/proxy-factory.json b/zh-cn/docs/dev/impls/proxy-factory.json
index 4eabc56..1611bca 100644
--- a/zh-cn/docs/dev/impls/proxy-factory.json
+++ b/zh-cn/docs/dev/impls/proxy-factory.json
@@ -1,6 +1,6 @@
{
"filename": "proxy-factory.md",
- "__html": "<h1>动态代理扩展</h1>\n<h2>扩展说明</h2>\n<p>将 <code>Invoker</code> 接口转换成业务接口。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.ProxyFactory</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">proxy</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值配置,当<dubbo:protocol>没有配置proxy属性时,使用此配置 --></span>\n<span class=\ [...]
+ "__html": "<h1>动态代理扩展</h1>\n<h2>扩展说明</h2>\n<p>将 <code>Invoker</code> 接口转换成业务接口。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.rpc.ProxyFactory</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">proxy</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值配置,当<dubbo:protocol>没有配置proxy属性时,使用此配置 --></span>\n<span class=\ [...]
"link": "/zh-cn/docs/dev/impls/proxy-factory.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/registry.html b/zh-cn/docs/dev/impls/registry.html
index 66b2b27..c87aa39 100644
--- a/zh-cn/docs/dev/impls/registry.html
+++ b/zh-cn/docs/dev/impls/registry.html
@@ -185,7 +185,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.registry.RegistryFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxRegistryFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxRegistryFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/registry.json b/zh-cn/docs/dev/impls/registry.json
index ec8bdd5..c01354d 100644
--- a/zh-cn/docs/dev/impls/registry.json
+++ b/zh-cn/docs/dev/impls/registry.json
@@ -1,6 +1,6 @@
{
"filename": "registry.md",
- "__html": "<h1>注册中心扩展</h1>\n<h2>扩展说明</h2>\n<p>负责服务的注册与发现。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.registry.RegistryFactory</code></li>\n<li><code>org.apache.dubbo.registry.Registry</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 定义注册中心 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:registry</span> <span class=\"hljs-attr\">id</span>=<span class=\"hljs-string\">\"xxx1\"</span> <span class [...]
+ "__html": "<h1>注册中心扩展</h1>\n<h2>扩展说明</h2>\n<p>负责服务的注册与发现。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.registry.RegistryFactory</code></li>\n<li><code>org.apache.dubbo.registry.Registry</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 定义注册中心 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:registry</span> <span class=\"hljs-attr\">id</span>=<span class=\"hljs-string\">\"xxx1\"</span> <span class [...]
"link": "/zh-cn/docs/dev/impls/registry.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/remoting.html b/zh-cn/docs/dev/impls/remoting.html
index 9fbc969..d562101 100644
--- a/zh-cn/docs/dev/impls/remoting.html
+++ b/zh-cn/docs/dev/impls/remoting.html
@@ -111,7 +111,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.Transporter:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxTransporter</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxTransporter
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/remoting.json b/zh-cn/docs/dev/impls/remoting.json
index ec5282a..0f613a3 100644
--- a/zh-cn/docs/dev/impls/remoting.json
+++ b/zh-cn/docs/dev/impls/remoting.json
@@ -1,6 +1,6 @@
{
"filename": "remoting.md",
- "__html": "<h1>网络传输扩展</h1>\n<h2>扩展说明</h2>\n<p>远程通讯的服务器及客户端传输实现。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.Transporter</code></li>\n<li><code>org.apache.dubbo.remoting.Server</code></li>\n<li><code>org.apache.dubbo.remoting.Client</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 服务器和客户端使用相同的传输实现 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\" [...]
+ "__html": "<h1>网络传输扩展</h1>\n<h2>扩展说明</h2>\n<p>远程通讯的服务器及客户端传输实现。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.remoting.Transporter</code></li>\n<li><code>org.apache.dubbo.remoting.Server</code></li>\n<li><code>org.apache.dubbo.remoting.Client</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 服务器和客户端使用相同的传输实现 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\" [...]
"link": "/zh-cn/docs/dev/impls/remoting.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/router.html b/zh-cn/docs/dev/impls/router.html
index ac9da32..a32a9cb 100644
--- a/zh-cn/docs/dev/impls/router.html
+++ b/zh-cn/docs/dev/impls/router.html
@@ -54,7 +54,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.rpc.cluster.RouterFactory:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxRouterFactory</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxRouterFactory
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/router.json b/zh-cn/docs/dev/impls/router.json
index d6f83f2..126e3d6 100644
--- a/zh-cn/docs/dev/impls/router.json
+++ b/zh-cn/docs/dev/impls/router.json
@@ -1,6 +1,6 @@
{
"filename": "router.md",
- "__html": "<h1>路由扩展</h1>\n<h2>扩展说明</h2>\n<p>从多个服务提者方中选择一个进行调用。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.RouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.Router</code></li>\n</ul>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.router.ScriptRouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.router.FileRouterFactory</code></li>\n</ul>\n<h2>扩展示例</h2>\n<p>Maven 项目结构:</p>\n<pre><code>src\n |-main\n |-java\n |-com [...]
+ "__html": "<h1>路由扩展</h1>\n<h2>扩展说明</h2>\n<p>从多个服务提者方中选择一个进行调用。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.RouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.Router</code></li>\n</ul>\n<h2>已知扩展</h2>\n<ul>\n<li><code>org.apache.dubbo.rpc.cluster.router.ScriptRouterFactory</code></li>\n<li><code>org.apache.dubbo.rpc.cluster.router.FileRouterFactory</code></li>\n</ul>\n<h2>扩展示例</h2>\n<p>Maven 项目结构:</p>\n<pre><code>src\n |-main\n |-java\n |-com [...]
"link": "/zh-cn/docs/dev/impls/router.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/serialize.html b/zh-cn/docs/dev/impls/serialize.html
index 060b67b..18592ba 100644
--- a/zh-cn/docs/dev/impls/serialize.html
+++ b/zh-cn/docs/dev/impls/serialize.html
@@ -67,7 +67,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.serialize.Serialization:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxSerialization</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxSerialization
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/serialize.json b/zh-cn/docs/dev/impls/serialize.json
index af094d0..fbdba71 100644
--- a/zh-cn/docs/dev/impls/serialize.json
+++ b/zh-cn/docs/dev/impls/serialize.json
@@ -1,6 +1,6 @@
{
"filename": "serialize.md",
- "__html": "<h1>序列化扩展</h1>\n<h2>扩展说明</h2>\n<p>将对象转成字节流,用于网络传输,以及将字节流转为对象,用于在收到字节流数据后还原成对象。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.common.serialize.Serialization</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectInput</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectOutput</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 协议的序列化方式 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs [...]
+ "__html": "<h1>序列化扩展</h1>\n<h2>扩展说明</h2>\n<p>将对象转成字节流,用于网络传输,以及将字节流转为对象,用于在收到字节流数据后还原成对象。</p>\n<h2>扩展接口</h2>\n<ul>\n<li><code>org.apache.dubbo.common.serialize.Serialization</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectInput</code></li>\n<li><code>org.apache.dubbo.common.serialize.ObjectOutput</code></li>\n</ul>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-comment\"><!-- 协议的序列化方式 --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs [...]
"link": "/zh-cn/docs/dev/impls/serialize.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/status-checker.html b/zh-cn/docs/dev/impls/status-checker.html
index 3165648..b76f1d6 100644
--- a/zh-cn/docs/dev/impls/status-checker.html
+++ b/zh-cn/docs/dev/impls/status-checker.html
@@ -57,7 +57,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.status.StatusChecker:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxStatusChecker</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxStatusChecker
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/status-checker.json b/zh-cn/docs/dev/impls/status-checker.json
index 929d7ca..95f0ea8 100644
--- a/zh-cn/docs/dev/impls/status-checker.json
+++ b/zh-cn/docs/dev/impls/status-checker.json
@@ -1,6 +1,6 @@
{
"filename": "status-checker.md",
- "__html": "<h1>状态检查扩展</h1>\n<h2>扩展说明</h2>\n<p>检查服务依赖各种资源的状态,此状态检查可同时用于 telnet 的 status 命令和 hosting 的 status 页面。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.status.StatusChecker</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">status</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol> [...]
+ "__html": "<h1>状态检查扩展</h1>\n<h2>扩展说明</h2>\n<p>检查服务依赖各种资源的状态,此状态检查可同时用于 telnet 的 status 命令和 hosting 的 status 页面。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.status.StatusChecker</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">status</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol> [...]
"link": "/zh-cn/docs/dev/impls/status-checker.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/telnet-handler.html b/zh-cn/docs/dev/impls/telnet-handler.html
index 880cd72..5e872dd 100644
--- a/zh-cn/docs/dev/impls/telnet-handler.html
+++ b/zh-cn/docs/dev/impls/telnet-handler.html
@@ -63,7 +63,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.remoting.telnet.TelnetHandler:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxTelnetHandler</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxTelnetHandler
</code></pre>
<h2>用法</h2>
<pre><code class="language-sh">telnet 127.0.0.1 20880
diff --git a/zh-cn/docs/dev/impls/telnet-handler.json b/zh-cn/docs/dev/impls/telnet-handler.json
index dc7a529..975927f 100644
--- a/zh-cn/docs/dev/impls/telnet-handler.json
+++ b/zh-cn/docs/dev/impls/telnet-handler.json
@@ -1,6 +1,6 @@
{
"filename": "telnet-handler.md",
- "__html": "<h1>Telnet 命令扩展</h1>\n<h2>扩展说明</h2>\n<p>所有服务器均支持 telnet 访问,用于人工干预。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.remoting.telnet.TelnetHandler</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">telnet</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置telnet属性时,使用此配置 --></spa [...]
+ "__html": "<h1>Telnet 命令扩展</h1>\n<h2>扩展说明</h2>\n<p>所有服务器均支持 telnet 访问,用于人工干预。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.remoting.telnet.TelnetHandler</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">telnet</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置telnet属性时,使用此配置 --></spa [...]
"link": "/zh-cn/docs/dev/impls/telnet-handler.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/threadpool.html b/zh-cn/docs/dev/impls/threadpool.html
index 954ae78..4e8f31a 100644
--- a/zh-cn/docs/dev/impls/threadpool.html
+++ b/zh-cn/docs/dev/impls/threadpool.html
@@ -53,7 +53,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.common.threadpool.ThreadPool:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxThreadPool</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxThreadPool
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/threadpool.json b/zh-cn/docs/dev/impls/threadpool.json
index 9fd33a3..c11ff3f 100644
--- a/zh-cn/docs/dev/impls/threadpool.json
+++ b/zh-cn/docs/dev/impls/threadpool.json
@@ -1,6 +1,6 @@
{
"filename": "threadpool.md",
- "__html": "<h1>线程池扩展</h1>\n<h2>扩展说明</h2>\n<p>服务提供方线程程实现策略,当服务器收到一个请求时,需要在线程池中创建一个线程去执行服务提供方业务逻辑。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.threadpool.ThreadPool</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">threadpool</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置threadpoo [...]
+ "__html": "<h1>线程池扩展</h1>\n<h2>扩展说明</h2>\n<p>服务提供方线程程实现策略,当服务器收到一个请求时,需要在线程池中创建一个线程去执行服务提供方业务逻辑。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.common.threadpool.ThreadPool</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:protocol</span> <span class=\"hljs-attr\">threadpool</span>=<span class=\"hljs-string\">\"xxx\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:protocol>没有配置threadpoo [...]
"link": "/zh-cn/docs/dev/impls/threadpool.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/impls/validation.html b/zh-cn/docs/dev/impls/validation.html
index a8c2063..d2a1418 100644
--- a/zh-cn/docs/dev/impls/validation.html
+++ b/zh-cn/docs/dev/impls/validation.html
@@ -63,7 +63,7 @@
}
</code></pre>
<p>META-INF/dubbo/org.apache.dubbo.validation.Validation:</p>
-<pre><code class="language-properties"><span class="hljs-attr">xxx</span>=<span class="hljs-string">com.xxx.XxxValidation</span>
+<pre><code class="language-properties">xxx=com.xxx.XxxValidation
</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>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 [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/impls/validation.json b/zh-cn/docs/dev/impls/validation.json
index 343827f..f38a085 100644
--- a/zh-cn/docs/dev/impls/validation.json
+++ b/zh-cn/docs/dev/impls/validation.json
@@ -1,6 +1,6 @@
{
"filename": "validation.md",
- "__html": "<h1>验证扩展</h1>\n<h2>扩展说明</h2>\n<p>参数验证扩展点。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.validation.Validation</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">validation</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:service>没有配置validation属性时,使用此配置 --></span>\n<span class=\"hljs-tag\ [...]
+ "__html": "<h1>验证扩展</h1>\n<h2>扩展说明</h2>\n<p>参数验证扩展点。</p>\n<h2>扩展接口</h2>\n<p><code>org.apache.dubbo.validation.Validation</code></p>\n<h2>扩展配置</h2>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:service</span> <span class=\"hljs-attr\">validation</span>=<span class=\"hljs-string\">\"xxx,yyy\"</span> /></span>\n<span class=\"hljs-comment\"><!-- 缺省值设置,当<dubbo:service>没有配置validation属性时,使用此配置 --></span>\n<span class=\"hljs-tag\ [...]
"link": "/zh-cn/docs/dev/impls/validation.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/configuration/annotation.html b/zh-cn/docs/user/configuration/annotation.html
index e90f4f2..0beb9bd 100644
--- a/zh-cn/docs/user/configuration/annotation.html
+++ b/zh-cn/docs/user/configuration/annotation.html
@@ -26,11 +26,11 @@
}
</code></pre>
<h3>增加应用共享配置</h3>
-<pre><code class="language-properties"><span class="hljs-comment"># dubbo-provider.properties</span>
-<span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">annotation-provider</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">20880</span>
+<pre><code class="language-properties"># dubbo-provider.properties
+dubbo.application.name=annotation-provider
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=20880
</code></pre>
<h3>指定Spring扫描路径</h3>
<pre><code class="language-java"><span class="hljs-meta">@Configuration</span>
@@ -55,10 +55,10 @@
</code></pre>
<h3>增加应用共享配置</h3>
-<pre><code class="language-properties"><span class="hljs-comment"># dubbo-consumer.properties</span>
-<span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">annotation-consumer</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.consumer.timeout</span>=<span class="hljs-string">3000</span>
+<pre><code class="language-properties"># dubbo-consumer.properties
+dubbo.application.name=annotation-consumer
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.consumer.timeout=3000
</code></pre>
<h3>指定Spring扫描路径</h3>
<pre><code class="language-java"><span class="hljs-meta">@Configuration</span>
diff --git a/zh-cn/docs/user/configuration/annotation.json b/zh-cn/docs/user/configuration/annotation.json
index f8da942..ba1a907 100644
--- a/zh-cn/docs/user/configuration/annotation.json
+++ b/zh-cn/docs/user/configuration/annotation.json
@@ -1,6 +1,6 @@
{
"filename": "annotation.md",
- "__html": "<h1>注解配置</h1>\n<p>需要 <code>2.6.3</code> 及以上版本支持\n点此查看<a href=\"https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-annotation\">完整示例</a></p>\n<h2>服务提供方</h2>\n<h3><code>Service</code>注解暴露服务</h3>\n<pre><code class=\"language-java\"><span class=\"hljs-meta\">@Service</span>\n<span class=\"hljs-keyword\">public</span> <span class=\"hljs-class\"><span class=\"hljs-keyword\">class</span> <span class=\"hljs-title\">AnnotationServiceImpl</span> <span class=\" [...]
+ "__html": "<h1>注解配置</h1>\n<p>需要 <code>2.6.3</code> 及以上版本支持\n点此查看<a href=\"https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-annotation\">完整示例</a></p>\n<h2>服务提供方</h2>\n<h3><code>Service</code>注解暴露服务</h3>\n<pre><code class=\"language-java\"><span class=\"hljs-meta\">@Service</span>\n<span class=\"hljs-keyword\">public</span> <span class=\"hljs-class\"><span class=\"hljs-keyword\">class</span> <span class=\"hljs-title\">AnnotationServiceImpl</span> <span class=\" [...]
"link": "/zh-cn/docs/user/configuration/annotation.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/configuration/config-center.html b/zh-cn/docs/user/configuration/config-center.html
index 51fdddf..f335bb9 100644
--- a/zh-cn/docs/user/configuration/config-center.html
+++ b/zh-cn/docs/user/configuration/config-center.html
@@ -22,7 +22,7 @@
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:config-center</span> <span class="hljs-attr">address</span>=<span class="hljs-string">"zookeeper://127.0.0.1:2181"</span>/></span>
</code></pre>
<p>或者</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.config-center.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+<pre><code class="language-properties">dubbo.config-center.address=zookeeper://127.0.0.1:2181
</code></pre>
<p>或者</p>
<pre><code class="language-java">ConfigCenterConfig configCenter = <span class="hljs-keyword">new</span> ConfigCenterConfig();
@@ -34,22 +34,22 @@ configCenter.setAddress(<span class="hljs-string">"zookeeper://127.0.0.1:2181"</
<h2>外部化配置</h2>
<p>外部化配置目的之一是实现配置的集中式管理,这部分业界已经有很多成熟的专业配置系统如Apollo, Nacos等,Dubbo所做的主要是保证能配合这些系统正常工作。</p>
<p>外部化配置和其他本地配置在内容和格式上并无区别,可以简单理解为<code>dubbo.properties</code>的外部化存储,配置中心更适合将一些公共配置如注册中心、元数据中心配置等抽取以便做集中管理。</p>
-<pre><code class="language-properties"><span class="hljs-comment"># 将注册中心地址、元数据中心地址等配置集中管理,可以做到统一环境、减少开发侧感知。</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.registry.simplified</span>=<span class="hljs-string">true</span>
+<pre><code class="language-properties"># 将注册中心地址、元数据中心地址等配置集中管理,可以做到统一环境、减少开发侧感知。
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.registry.simplified=true
-<span class="hljs-meta">dubbo.metadataReport.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
+dubbo.metadataReport.address=zookeeper://127.0.0.1:2181
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">20880</span>
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=20880
-<span class="hljs-meta">dubbo.application.qos.port</span>=<span class="hljs-string">33333</span>
+dubbo.application.qos.port=33333
</code></pre>
<ul>
<li>优先级</li>
</ul>
<p>外部化配置默认较本地配置有更高的优先级,因此这里配置的内容会覆盖本地配置值,关于<a href="./configuration-load-process.md">各配置形式间的覆盖关系</a>有单独一章说明,你也可通过以下选项调整配置中心的优先级:</p>
-<pre><code class="language-properties"><span class="hljs-meta">-Ddubbo.configCenter.highestPriority</span>=<span class="hljs-string">false</span>
+<pre><code class="language-properties">-Ddubbo.configCenter.highestPriority=false
</code></pre>
<ul>
<li>作用域</li>
diff --git a/zh-cn/docs/user/configuration/config-center.json b/zh-cn/docs/user/configuration/config-center.json
index e06ba3e..fbbbe50 100644
--- a/zh-cn/docs/user/configuration/config-center.json
+++ b/zh-cn/docs/user/configuration/config-center.json
@@ -1,6 +1,6 @@
{
"filename": "config-center.md",
- "__html": "<h1>动态配置中心</h1>\n<p>配置中心(v2.7.0)在Dubbo中承担两个职责:</p>\n<ol>\n<li>外部化配置。启动配置的集中式存储 (简单理解为dubbo.properties的外部化存储)。</li>\n<li>服务治理。服务治理规则的存储与通知。</li>\n</ol>\n<p>启用动态配置(以Zookeeper为例,可查看<a href=\"../references/xml/dubbo-config-center.md\">动态配置配置项详解</a>):</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:config-center</span> <span class=\"hljs-attr\">address</span>=<span class=\"hljs-string\">\"zookeeper://127.0.0.1:2181\"</span>/> [...]
+ "__html": "<h1>动态配置中心</h1>\n<p>配置中心(v2.7.0)在Dubbo中承担两个职责:</p>\n<ol>\n<li>外部化配置。启动配置的集中式存储 (简单理解为dubbo.properties的外部化存储)。</li>\n<li>服务治理。服务治理规则的存储与通知。</li>\n</ol>\n<p>启用动态配置(以Zookeeper为例,可查看<a href=\"../references/xml/dubbo-config-center.md\">动态配置配置项详解</a>):</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:config-center</span> <span class=\"hljs-attr\">address</span>=<span class=\"hljs-string\">\"zookeeper://127.0.0.1:2181\"</span>/> [...]
"link": "/zh-cn/docs/user/configuration/config-center.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/configuration/configuration-load-process.html b/zh-cn/docs/user/configuration/configuration-load-process.html
index 360914a..9b20e75 100644
--- a/zh-cn/docs/user/configuration/configuration-load-process.html
+++ b/zh-cn/docs/user/configuration/configuration-load-process.html
@@ -34,46 +34,46 @@
<p>点此查看<a href="./config-center.md">外部化配置详情</a></p>
<h2>配置格式</h2>
<p>目前Dubbo支持的所有配置都是<code>.properties</code>格式的,包括<code>-D</code>、<code>Externalized Configuration</code>等,<code>.properties</code>中的所有配置项遵循一种<code>path-based</code>的配置格式:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># 应用级别</span>
-<span class="hljs-meta">dubbo.{config-type}[.{config-id}].{config-item}</span>=<span class="hljs-string">{config-item-value}</span>
-<span class="hljs-comment"># 服务级别</span>
-<span class="hljs-meta">dubbo.service.{interface-name}[.{method-name}].{config-item}</span>=<span class="hljs-string">{config-item-value}</span>
-<span class="hljs-meta">dubbo.reference.{interface-name}[.{method-name}].{config-item}</span>=<span class="hljs-string">{config-item-value}</span>
-<span class="hljs-comment"># 多配置项</span>
-<span class="hljs-meta">dubbo.{config-type}s.{config-id}.{config-item}</span>=<span class="hljs-string">{config-item-value}</span>
+<pre><code class="language-properties"># 应用级别
+dubbo.{config-type}[.{config-id}].{config-item}={config-item-value}
+# 服务级别
+dubbo.service.{interface-name}[.{method-name}].{config-item}={config-item-value}
+dubbo.reference.{interface-name}[.{method-name}].{config-item}={config-item-value}
+# 多配置项
+dubbo.{config-type}s.{config-id}.{config-item}={config-item-value}
</code></pre>
<ul>
<li>应用级别</li>
</ul>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">demo-provider</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">-1</span>
+<pre><code class="language-properties">dubbo.application.name=demo-provider
+dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.protocol.port=-1
</code></pre>
<ul>
<li>服务级别</li>
</ul>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.service.org.apache.dubbo.samples.api.DemoService.timeout</span>=<span class="hljs-string">5000</span>
-<span class="hljs-meta">dubbo.reference.org.apache.dubbo.samples.api.DemoService.timeout</span>=<span class="hljs-string">6000</span>
-<span class="hljs-meta">dubbo.reference.org.apache.dubbo.samples.api.DemoService.sayHello.timeout</span>=<span class="hljs-string">7000</span>
+<pre><code class="language-properties">dubbo.service.org.apache.dubbo.samples.api.DemoService.timeout=5000
+dubbo.reference.org.apache.dubbo.samples.api.DemoService.timeout=6000
+dubbo.reference.org.apache.dubbo.samples.api.DemoService.sayHello.timeout=7000
</code></pre>
<ul>
<li>多配置项</li>
</ul>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.registries.unit1.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.registries.unit2.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2182</span>
+<pre><code class="language-properties">dubbo.registries.unit1.address=zookeeper://127.0.0.1:2181
+dubbo.registries.unit2.address=zookeeper://127.0.0.1:2182
-<span class="hljs-meta">dubbo.protocols.dubbo.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocols.dubbo.port</span>=<span class="hljs-string">20880</span>
-<span class="hljs-meta">dubbo.protocols.hessian.name</span>=<span class="hljs-string">hessian</span>
-<span class="hljs-meta">dubbo.protocols.hessian.port</span>=<span class="hljs-string">8089</span>
+dubbo.protocols.dubbo.name=dubbo
+dubbo.protocols.dubbo.port=20880
+dubbo.protocols.hessian.name=hessian
+dubbo.protocols.hessian.port=8089
</code></pre>
<ul>
<li>扩展配置</li>
</ul>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.parameters.item1</span>=<span class="hljs-string">value1</span>
-<span class="hljs-meta">dubbo.application.parameters.item2</span>=<span class="hljs-string">value2</span>
-<span class="hljs-meta">dubbo.registry.parameters.item3</span>=<span class="hljs-string">value3</span>
-<span class="hljs-meta">dubbo.reference.org.apache.dubbo.samples.api.DemoService.parameters.item4</span>=<span class="hljs-string">value4</span>
+<pre><code class="language-properties">dubbo.application.parameters.item1=value1
+dubbo.application.parameters.item2=value2
+dubbo.registry.parameters.item3=value3
+dubbo.reference.org.apache.dubbo.samples.api.DemoService.parameters.item4=value4
</code></pre>
<h2>几种编程配置方式</h2>
<p>接下来,我们看一下选择不同的开发方式时,对应到<code>ServiceConfig、ReferenceConfig等编程接口采集的配置</code>的变化。</p>
@@ -109,38 +109,38 @@
}
}
</code></pre>
-<pre><code class="language-properties"><span class="hljs-comment"> ## dubbo.properties</span>
+<pre><code class="language-properties"> ## dubbo.properties
- <span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">annotation-provider</span>
- <span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
- <span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
- <span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">20880</span>
+ dubbo.application.name=annotation-provider
+ dubbo.registry.address=zookeeper://127.0.0.1:2181
+ dubbo.protocol.name=dubbo
+ dubbo.protocol.port=20880
</code></pre>
<ul>
<li>Spring Boot</li>
</ul>
<p>参见<a href="https://github.com/apache/incubator-dubbo-spring-boot-project/tree/master/dubbo-spring-boot-samples">示例</a></p>
-<pre><code class="language-properties"><span class="hljs-comment"> ## application.properties</span>
-<span class="hljs-comment">
- # Spring boot application</span>
- <span class="hljs-meta">spring.application.name</span>=<span class="hljs-string">dubbo-externalized-configuration-provider-sample</span>
-<span class="hljs-comment">
- # Base packages to scan Dubbo Component: @com.alibaba.dubbo.config.annotation.Service</span>
- <span class="hljs-meta">dubbo.scan.base-packages</span>=<span class="hljs-string">com.alibaba.boot.dubbo.demo.provider.service</span>
-<span class="hljs-comment">
- # Dubbo Application</span>
-<span class="hljs-comment"> ## The default value of dubbo.application.name is ${spring.application.name}</span>
-<span class="hljs-comment"> ## dubbo.application.name=${spring.application.name}</span>
-<span class="hljs-comment">
- # Dubbo Protocol</span>
- <span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
- <span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">12345</span>
-<span class="hljs-comment">
- ## Dubbo Registry</span>
- <span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">N/A</span>
-<span class="hljs-comment">
- ## DemoService version</span>
- <span class="hljs-meta">demo.service.version</span>=<span class="hljs-string">1.0.0</span>
+<pre><code class="language-properties"> ## application.properties
+
+ # Spring boot application
+ spring.application.name=dubbo-externalized-configuration-provider-sample
+
+ # Base packages to scan Dubbo Component: @com.alibaba.dubbo.config.annotation.Service
+ dubbo.scan.base-packages=com.alibaba.boot.dubbo.demo.provider.service
+
+ # Dubbo Application
+ ## The default value of dubbo.application.name is ${spring.application.name}
+ ## dubbo.application.name=${spring.application.name}
+
+ # Dubbo Protocol
+ dubbo.protocol.name=dubbo
+ dubbo.protocol.port=12345
+
+ ## Dubbo Registry
+ dubbo.registry.address=N/A
+
+ ## DemoService version
+ demo.service.version=1.0.0
</code></pre>
<h3>API</h3>
<pre><code class="language-java"><span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span> <span class="hljs-keyword">throws</span> IOException </span>{
diff --git a/zh-cn/docs/user/configuration/configuration-load-process.json b/zh-cn/docs/user/configuration/configuration-load-process.json
index e249cdb..ac20aeb 100644
--- a/zh-cn/docs/user/configuration/configuration-load-process.json
+++ b/zh-cn/docs/user/configuration/configuration-load-process.json
@@ -1,6 +1,6 @@
{
"filename": "configuration-load-process.md",
- "__html": "<h1>配置加载流程</h1>\n<p>此篇文档主要讲在<strong>应用启动阶段,Dubbo框架如何将所需要的配置采集起来</strong>(包括应用配置、注册中心配置、服务配置等),以完成服务的暴露和引用流程。</p>\n<p>根据驱动方式的不同(比如Spring或裸API编程)配置形式上肯定会有所差异,具体请参考<a href=\"./xml.md\">XML配置</a>、<a href=\"./annotation.md\">Annotation配置</a>、<a href=\"./api.md\">API配置</a>三篇文档。除了外围驱动方式上的差异,Dubbo的配置读取总体上遵循了以下几个原则:</p>\n<ol>\n<li>Dubbo支持了多层级的配置,并按预定优先级自动实现配置间的覆盖,最终所有配置汇总到数据总线URL后驱动后续的服务暴露、引用等流程。</li>\n<li>ApplicationConfig、ServiceConfig、ReferenceConfig可以被理解成配置来源的一种,是直接面向用户编程的配置采集方式。 [...]
+ "__html": "<h1>配置加载流程</h1>\n<p>此篇文档主要讲在<strong>应用启动阶段,Dubbo框架如何将所需要的配置采集起来</strong>(包括应用配置、注册中心配置、服务配置等),以完成服务的暴露和引用流程。</p>\n<p>根据驱动方式的不同(比如Spring或裸API编程)配置形式上肯定会有所差异,具体请参考<a href=\"./xml.md\">XML配置</a>、<a href=\"./annotation.md\">Annotation配置</a>、<a href=\"./api.md\">API配置</a>三篇文档。除了外围驱动方式上的差异,Dubbo的配置读取总体上遵循了以下几个原则:</p>\n<ol>\n<li>Dubbo支持了多层级的配置,并按预定优先级自动实现配置间的覆盖,最终所有配置汇总到数据总线URL后驱动后续的服务暴露、引用等流程。</li>\n<li>ApplicationConfig、ServiceConfig、ReferenceConfig可以被理解成配置来源的一种,是直接面向用户编程的配置采集方式。 [...]
"link": "/zh-cn/docs/user/configuration/configuration-load-process.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/configuration/properties-deprecated.html b/zh-cn/docs/user/configuration/properties-deprecated.html
index 2b577f6..b298323 100644
--- a/zh-cn/docs/user/configuration/properties-deprecated.html
+++ b/zh-cn/docs/user/configuration/properties-deprecated.html
@@ -27,9 +27,9 @@
<li>比如:<code>dubbo.registry.china.address=10.20.153.10:9090</code>等价于<code><dubbo:registry id="china" address="10.20.153.10:9090" /></code></li>
</ul>
<p>下面是 dubbo.properties 的一个典型配置:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.application.name</span>=<span class="hljs-string">foo</span>
-<span class="hljs-meta">dubbo.application.owner</span>=<span class="hljs-string">bar</span>
-<span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">10.20.153.10:9090</span>
+<pre><code class="language-properties">dubbo.application.name=foo
+dubbo.application.owner=bar
+dubbo.registry.address=10.20.153.10:9090
</code></pre>
<h2>覆盖策略</h2>
<p><img src="../sources/images/dubbo-properties-override.jpg" alt="properties-override"></p>
diff --git a/zh-cn/docs/user/configuration/properties-deprecated.json b/zh-cn/docs/user/configuration/properties-deprecated.json
index e75ce4f..386c029 100644
--- a/zh-cn/docs/user/configuration/properties-deprecated.json
+++ b/zh-cn/docs/user/configuration/properties-deprecated.json
@@ -1,6 +1,6 @@
{
"filename": "properties-deprecated.md",
- "__html": "<h1>属性配置</h1>\n<p>如果公共配置很简单,没有多注册中心,多协议等情况,或者想多个 Spring 容器想共享配置,可以使用 dubbo.properties 作为缺省配置。</p>\n<p>Dubbo 将自动加载 classpath 根目录下的 dubbo.properties,可以通过JVM启动参数 <code>-Ddubbo.properties.file=xxx.properties</code> 改变缺省配置位置。<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup></p>\n<h2>映射规则</h2>\n<p>将 XML 配置的标签名,加属性名,用点分隔,多个属性拆成多行</p>\n<ul>\n<li>比如:<code>dubbo.application.name=foo</code>等价于<code><dubbo:application name="foo" /></code></li>\n<li [...]
+ "__html": "<h1>属性配置</h1>\n<p>如果公共配置很简单,没有多注册中心,多协议等情况,或者想多个 Spring 容器想共享配置,可以使用 dubbo.properties 作为缺省配置。</p>\n<p>Dubbo 将自动加载 classpath 根目录下的 dubbo.properties,可以通过JVM启动参数 <code>-Ddubbo.properties.file=xxx.properties</code> 改变缺省配置位置。<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup></p>\n<h2>映射规则</h2>\n<p>将 XML 配置的标签名,加属性名,用点分隔,多个属性拆成多行</p>\n<ul>\n<li>比如:<code>dubbo.application.name=foo</code>等价于<code><dubbo:application name="foo" /></code></li>\n<li [...]
"link": "/zh-cn/docs/user/configuration/properties-deprecated.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/dump.html b/zh-cn/docs/user/demos/dump.html
index 4137d27..b093399 100644
--- a/zh-cn/docs/user/demos/dump.html
+++ b/zh-cn/docs/user/demos/dump.html
@@ -19,8 +19,8 @@
<li>导出间隔,最短间隔允许每隔10分钟导出一次</li>
</ul>
<p>指定导出路径:</p>
-<pre><code class="language-properties"><span class="hljs-comment"># dubbo.properties</span>
-<span class="hljs-meta">dubbo.application.dump.directory</span>=<span class="hljs-string">/tmp</span>
+<pre><code class="language-properties"># dubbo.properties
+dubbo.application.dump.directory=/tmp
</code></pre>
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:application</span> <span class="hljs-attr">...</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dubbo:parameter</span> <span class="hljs-attr">key</span>=<span class="hljs-string">"dump.directory"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"/tmp"</span> /></span>
diff --git a/zh-cn/docs/user/demos/dump.json b/zh-cn/docs/user/demos/dump.json
index 54fb99b..97d490c 100644
--- a/zh-cn/docs/user/demos/dump.json
+++ b/zh-cn/docs/user/demos/dump.json
@@ -1,6 +1,6 @@
{
"filename": "dump.md",
- "__html": "<p>当业务线程池满时,我们需要知道线程都在等待哪些资源、条件,以找到系统的瓶颈点或异常点。dubbo通过Jstack自动导出线程堆栈来保留现场,方便排查问题</p>\n<p>默认策略:</p>\n<ul>\n<li>导出路径,user.home标识的用户主目录</li>\n<li>导出间隔,最短间隔允许每隔10分钟导出一次</li>\n</ul>\n<p>指定导出路径:</p>\n<pre><code class=\"language-properties\"><span class=\"hljs-comment\"># dubbo.properties</span>\n<span class=\"hljs-meta\">dubbo.application.dump.directory</span>=<span class=\"hljs-string\">/tmp</span>\n</code></pre>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<spa [...]
+ "__html": "<p>当业务线程池满时,我们需要知道线程都在等待哪些资源、条件,以找到系统的瓶颈点或异常点。dubbo通过Jstack自动导出线程堆栈来保留现场,方便排查问题</p>\n<p>默认策略:</p>\n<ul>\n<li>导出路径,user.home标识的用户主目录</li>\n<li>导出间隔,最短间隔允许每隔10分钟导出一次</li>\n</ul>\n<p>指定导出路径:</p>\n<pre><code class=\"language-properties\"># dubbo.properties\ndubbo.application.dump.directory=/tmp\n</code></pre>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">dubbo:application</span> <span class=\"hljs-attr\">...</span>></span>\n <spa [...]
"link": "/zh-cn/docs/user/demos/dump.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/explicit-target.html b/zh-cn/docs/user/demos/explicit-target.html
index 1c6e9d1..ce2cd10 100644
--- a/zh-cn/docs/user/demos/explicit-target.html
+++ b/zh-cn/docs/user/demos/explicit-target.html
@@ -28,7 +28,7 @@
<pre><code class="language-sh">java -Ddubbo.resolve.file=xxx.properties
</code></pre>
<p>然后在映射文件 <code>xxx.properties</code> 中加入配置,其中 key 为服务名,value 为服务提供者 URL:</p>
-<pre><code class="language-properties"><span class="hljs-meta">com.alibaba.xxx.XxxService</span>=<span class="hljs-string">dubbo://localhost:20890</span>
+<pre><code class="language-properties">com.alibaba.xxx.XxxService=dubbo://localhost:20890
</code></pre>
<p><strong>注意</strong> 为了避免复杂化线上环境,不要在线上使用这个功能,只应在测试阶段使用。</p>
<hr class="footnotes-sep">
diff --git a/zh-cn/docs/user/demos/explicit-target.json b/zh-cn/docs/user/demos/explicit-target.json
index 410b940..eccb015 100644
--- a/zh-cn/docs/user/demos/explicit-target.json
+++ b/zh-cn/docs/user/demos/explicit-target.json
@@ -1,6 +1,6 @@
{
"filename": "explicit-target.md",
- "__html": "<h1>直连提供者</h1>\n<p>在开发及测试环境下,经常需要绕过注册中心,只测试指定服务提供者,这时候可能需要点对点直连,点对点直连方式,将以服务接口为单位,忽略注册中心的提供者列表,A 接口配置点对点,不影响 B 接口从注册中心获取列表。</p>\n<p><img src=\"../sources/images/dubbo-directly.jpg\" alt=\"/user-guide/images/dubbo-directly.jpg\"></p>\n<h2>通过 XML 配置</h2>\n<p>如果是线上需求需要点对点,可在 <code><dubbo:reference></code> 中配置 url 指向提供者,将绕过注册中心,多个地址用分号隔开,配置如下 <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>:</p>\n<pre><code class=\"language-xml\"><span class=\"hljs [...]
+ "__html": "<h1>直连提供者</h1>\n<p>在开发及测试环境下,经常需要绕过注册中心,只测试指定服务提供者,这时候可能需要点对点直连,点对点直连方式,将以服务接口为单位,忽略注册中心的提供者列表,A 接口配置点对点,不影响 B 接口从注册中心获取列表。</p>\n<p><img src=\"../sources/images/dubbo-directly.jpg\" alt=\"/user-guide/images/dubbo-directly.jpg\"></p>\n<h2>通过 XML 配置</h2>\n<p>如果是线上需求需要点对点,可在 <code><dubbo:reference></code> 中配置 url 指向提供者,将绕过注册中心,多个地址用分号隔开,配置如下 <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>:</p>\n<pre><code class=\"language-xml\"><span class=\"hljs [...]
"link": "/zh-cn/docs/user/demos/explicit-target.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/graceful-shutdown.html b/zh-cn/docs/user/demos/graceful-shutdown.html
index 8d044f9..d6d1b98 100644
--- a/zh-cn/docs/user/demos/graceful-shutdown.html
+++ b/zh-cn/docs/user/demos/graceful-shutdown.html
@@ -27,8 +27,8 @@
</ul>
<h2>设置方式</h2>
<p>设置优雅停机超时时间,缺省超时时间是 10 秒,如果超时则强制关闭。</p>
-<pre><code class="language-properties"><span class="hljs-comment"># dubbo.properties</span>
-<span class="hljs-meta">dubbo.service.shutdown.wait</span>=<span class="hljs-string">15000</span>
+<pre><code class="language-properties"># dubbo.properties
+dubbo.service.shutdown.wait=15000
</code></pre>
<p>如果 ShutdownHook 不能生效,可以自行调用,<strong>使用tomcat等容器部署的場景,建议通过扩展ContextListener等自行调用以下代码实现优雅停机</strong>:</p>
<pre><code class="language-java">ProtocolConfig.destroyAll();
diff --git a/zh-cn/docs/user/demos/graceful-shutdown.json b/zh-cn/docs/user/demos/graceful-shutdown.json
index 3bc81d2..0dc1cb9 100644
--- a/zh-cn/docs/user/demos/graceful-shutdown.json
+++ b/zh-cn/docs/user/demos/graceful-shutdown.json
@@ -1,6 +1,6 @@
{
"filename": "graceful-shutdown.md",
- "__html": "<h1>优雅停机</h1>\n<p>Dubbo 是通过 JDK 的 ShutdownHook 来完成优雅停机的,所以如果用户使用 <code>kill -9 PID</code> 等强制关闭指令,是不会执行优雅停机的,只有通过 <code>kill PID</code> 时,才会执行。</p>\n<h2>原理</h2>\n<h3>服务提供方</h3>\n<ul>\n<li>停止时,先标记为不接收新请求,新请求过来时直接报错,让客户端重试其它机器。</li>\n<li>然后,检测线程池中的线程是否正在运行,如果有,等待所有线程执行完成,除非超时,则强制关闭。</li>\n</ul>\n<h3>服务消费方</h3>\n<ul>\n<li>停止时,不再发起新的调用请求,所有新的调用在客户端即报错。</li>\n<li>然后,检测有没有请求的响应还没有返回,等待响应返回,除非超时,则强制关闭。</li>\n</ul>\n<h2>设置方式</h2>\n<p>设置优雅停机超时时间,缺省超时时间是 10 秒,如果超时则强制关闭。</p>\n<pre><cod [...]
+ "__html": "<h1>优雅停机</h1>\n<p>Dubbo 是通过 JDK 的 ShutdownHook 来完成优雅停机的,所以如果用户使用 <code>kill -9 PID</code> 等强制关闭指令,是不会执行优雅停机的,只有通过 <code>kill PID</code> 时,才会执行。</p>\n<h2>原理</h2>\n<h3>服务提供方</h3>\n<ul>\n<li>停止时,先标记为不接收新请求,新请求过来时直接报错,让客户端重试其它机器。</li>\n<li>然后,检测线程池中的线程是否正在运行,如果有,等待所有线程执行完成,除非超时,则强制关闭。</li>\n</ul>\n<h3>服务消费方</h3>\n<ul>\n<li>停止时,不再发起新的调用请求,所有新的调用在客户端即报错。</li>\n<li>然后,检测有没有请求的响应还没有返回,等待响应返回,除非超时,则强制关闭。</li>\n</ul>\n<h2>设置方式</h2>\n<p>设置优雅停机超时时间,缺省超时时间是 10 秒,如果超时则强制关闭。</p>\n<pre><cod [...]
"link": "/zh-cn/docs/user/demos/graceful-shutdown.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/hostname-binding.html b/zh-cn/docs/user/demos/hostname-binding.html
index da24ccb..d8a32fd 100644
--- a/zh-cn/docs/user/demos/hostname-binding.html
+++ b/zh-cn/docs/user/demos/hostname-binding.html
@@ -34,7 +34,7 @@
</li>
<li>
<p>或在 <code>dubbo.properties</code> 中加入主机地址的配置:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.protocol.host</span>=<span class="hljs-string">205.182.23.201</span>
+<pre><code class="language-properties">dubbo.protocol.host=205.182.23.201
</code></pre>
</li>
</ol>
@@ -87,7 +87,7 @@
</li>
<li>
<p>或在 <code>dubbo.properties</code> 中加入主机地址的配置:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.protocol.dubbo.port</span>=<span class="hljs-string">20880</span>
+<pre><code class="language-properties">dubbo.protocol.dubbo.port=20880
</code></pre>
</li>
</ol>
diff --git a/zh-cn/docs/user/demos/hostname-binding.json b/zh-cn/docs/user/demos/hostname-binding.json
index e934864..db8472b 100644
--- a/zh-cn/docs/user/demos/hostname-binding.json
+++ b/zh-cn/docs/user/demos/hostname-binding.json
@@ -1,6 +1,6 @@
{
"filename": "hostname-binding.md",
- "__html": "<h1>主机绑定</h1>\n<h2>查找顺序</h2>\n<p>缺省主机 IP 查找顺序:</p>\n<ul>\n<li>通过 <code>LocalHost.getLocalHost()</code> 获取本机地址。</li>\n<li>如果是 <code>127.*</code> 等 loopback 地址,则扫描各网卡,获取网卡 IP。</li>\n</ul>\n<h2>主机配置</h2>\n<p>注册的地址如果获取不正确,比如需要注册公网地址,可以:</p>\n<ol>\n<li>\n<p>可以在 <code>/etc/hosts</code> 中加入:机器名 公网 IP,比如:</p>\n<pre><code>test1 205.182.23.201\n</code></pre>\n</li>\n<li>\n<p>在 <code>dubbo.xml</code> 中加入主机地址的配置:</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span [...]
+ "__html": "<h1>主机绑定</h1>\n<h2>查找顺序</h2>\n<p>缺省主机 IP 查找顺序:</p>\n<ul>\n<li>通过 <code>LocalHost.getLocalHost()</code> 获取本机地址。</li>\n<li>如果是 <code>127.*</code> 等 loopback 地址,则扫描各网卡,获取网卡 IP。</li>\n</ul>\n<h2>主机配置</h2>\n<p>注册的地址如果获取不正确,比如需要注册公网地址,可以:</p>\n<ol>\n<li>\n<p>可以在 <code>/etc/hosts</code> 中加入:机器名 公网 IP,比如:</p>\n<pre><code>test1 205.182.23.201\n</code></pre>\n</li>\n<li>\n<p>在 <code>dubbo.xml</code> 中加入主机地址的配置:</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span [...]
"link": "/zh-cn/docs/user/demos/hostname-binding.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/multi-protocols.html b/zh-cn/docs/user/demos/multi-protocols.html
index 7b07fbd..3288d09 100644
--- a/zh-cn/docs/user/demos/multi-protocols.html
+++ b/zh-cn/docs/user/demos/multi-protocols.html
@@ -16,7 +16,7 @@
<p>Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一服务上同时支持多种协议。</p>
<h2>不同服务不同协议</h2>
<p>不同服务在性能上适用不同协议进行传输,比如大数据用短连接协议,小数据大并发用长连接协议</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -34,7 +34,7 @@
</code></pre>
<h2>多协议暴露服务</h2>
<p>需要与 http 客户端互操作</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/docs/user/demos/multi-protocols.json b/zh-cn/docs/user/demos/multi-protocols.json
index 081bf77..b4b7214 100644
--- a/zh-cn/docs/user/demos/multi-protocols.json
+++ b/zh-cn/docs/user/demos/multi-protocols.json
@@ -1,6 +1,6 @@
{
"filename": "multi-protocols.md",
- "__html": "<h1>多协议</h1>\n<p>Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一服务上同时支持多种协议。</p>\n<h2>不同服务不同协议</h2>\n<p>不同服务在性能上适用不同协议进行传输,比如大数据用短连接协议,小数据大并发用长连接协议</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-meta\"><?xml version=\"1.0\" encoding=\"UTF-8\"?></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">beans</span> <span class=\"hljs-attr\">xmlns</span>=<span class=\"hljs-string\">\"http://www.springframework.org/schema/beans\"</span>\n <span class=\"hljs-attr\">xmlns [...]
+ "__html": "<h1>多协议</h1>\n<p>Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一服务上同时支持多种协议。</p>\n<h2>不同服务不同协议</h2>\n<p>不同服务在性能上适用不同协议进行传输,比如大数据用短连接协议,小数据大并发用长连接协议</p>\n<pre><code class=\"language-xml\"><span class=\"php\"><span class=\"hljs-meta\"><?</span>xml version=<span class=\"hljs-string\">\"1.0\"</span> encoding=<span class=\"hljs-string\">\"UTF-8\"</span><span class=\"hljs-meta\">?></span></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">beans</span> <span class=\"hljs-attr\">xm [...]
"link": "/zh-cn/docs/user/demos/multi-protocols.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/multi-registry.html b/zh-cn/docs/user/demos/multi-registry.html
index 3676a7f..ac5670e 100644
--- a/zh-cn/docs/user/demos/multi-registry.html
+++ b/zh-cn/docs/user/demos/multi-registry.html
@@ -16,7 +16,7 @@
<p>Dubbo 支持同一服务向多注册中心同时注册,或者不同服务分别注册到不同的注册中心上去,甚至可以同时引用注册在不同注册中心上的同名服务。另外,注册中心是支持自定义扩展的 <sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup>。</p>
<h2>多注册中心注册</h2>
<p>比如:中文站有些服务来不及在青岛部署,只在杭州部署,而青岛的其它应用需要引用此服务,就可以将服务同时注册到两个注册中心。</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -31,7 +31,7 @@
</code></pre>
<h2>不同服务使用不同注册中心</h2>
<p>比如:CRM 有些服务是专门为国际站设计的,有些服务是专门为中文站设计的。</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -48,7 +48,7 @@
</code></pre>
<h2>多注册中心引用</h2>
<p>比如:CRM 需同时调用中文站和国际站的 PC2 服务,PC2 在中文站和国际站均有部署,接口及版本号都一样,但连的数据库不一样。</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -64,7 +64,7 @@
<span class="hljs-tag"></<span class="hljs-name">beans</span>></span>
</code></pre>
<p>如果只是测试环境临时需要连接两个不同注册中心,使用竖号分隔多个不同注册中心地址:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/docs/user/demos/multi-registry.json b/zh-cn/docs/user/demos/multi-registry.json
index 34ca52b..f8b359a 100644
--- a/zh-cn/docs/user/demos/multi-registry.json
+++ b/zh-cn/docs/user/demos/multi-registry.json
@@ -1,6 +1,6 @@
{
"filename": "multi-registry.md",
- "__html": "<h1>多注册中心</h1>\n<p>Dubbo 支持同一服务向多注册中心同时注册,或者不同服务分别注册到不同的注册中心上去,甚至可以同时引用注册在不同注册中心上的同名服务。另外,注册中心是支持自定义扩展的 <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>。</p>\n<h2>多注册中心注册</h2>\n<p>比如:中文站有些服务来不及在青岛部署,只在杭州部署,而青岛的其它应用需要引用此服务,就可以将服务同时注册到两个注册中心。</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-meta\"><?xml version=\"1.0\" encoding=\"UTF-8\"?></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">beans</span> <span class=\"hljs-attr\ [...]
+ "__html": "<h1>多注册中心</h1>\n<p>Dubbo 支持同一服务向多注册中心同时注册,或者不同服务分别注册到不同的注册中心上去,甚至可以同时引用注册在不同注册中心上的同名服务。另外,注册中心是支持自定义扩展的 <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>。</p>\n<h2>多注册中心注册</h2>\n<p>比如:中文站有些服务来不及在青岛部署,只在杭州部署,而青岛的其它应用需要引用此服务,就可以将服务同时注册到两个注册中心。</p>\n<pre><code class=\"language-xml\"><span class=\"php\"><span class=\"hljs-meta\"><?</span>xml version=<span class=\"hljs-string\">\"1.0\"</span> encoding=<span class=\"hljs-string\">\"UTF-8\"</span><span cla [...]
"link": "/zh-cn/docs/user/demos/multi-registry.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/preflight-check.html b/zh-cn/docs/user/demos/preflight-check.html
index 48dc14f..b87de0f 100644
--- a/zh-cn/docs/user/demos/preflight-check.html
+++ b/zh-cn/docs/user/demos/preflight-check.html
@@ -28,10 +28,10 @@
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:registry</span> <span class="hljs-attr">check</span>=<span class="hljs-string">"false"</span> /></span>
</code></pre>
<h3>通过 dubbo.properties</h3>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.reference.com.foo.BarService.check</span>=<span class="hljs-string">false</span>
-<span class="hljs-meta">dubbo.reference.check</span>=<span class="hljs-string">false</span>
-<span class="hljs-meta">dubbo.consumer.check</span>=<span class="hljs-string">false</span>
-<span class="hljs-meta">dubbo.registry.check</span>=<span class="hljs-string">false</span>
+<pre><code class="language-properties">dubbo.reference.com.foo.BarService.check=false
+dubbo.reference.check=false
+dubbo.consumer.check=false
+dubbo.registry.check=false
</code></pre>
<h3>通过 -D 参数</h3>
<pre><code class="language-sh">java -Ddubbo.reference.com.foo.BarService.check=<span class="hljs-literal">false</span>
diff --git a/zh-cn/docs/user/demos/preflight-check.json b/zh-cn/docs/user/demos/preflight-check.json
index df8e874..0b22af8 100644
--- a/zh-cn/docs/user/demos/preflight-check.json
+++ b/zh-cn/docs/user/demos/preflight-check.json
@@ -1,6 +1,6 @@
{
"filename": "preflight-check.md",
- "__html": "<h1>启动时检查</h1>\n<p>Dubbo 缺省会在启动时检查依赖的服务是否可用,不可用时会抛出异常,阻止 Spring 初始化完成,以便上线时,能及早发现问题,默认 <code>check="true"</code>。</p>\n<p>可以通过 <code>check="false"</code> 关闭检查,比如,测试时,有些服务不关心,或者出现了循环依赖,必须有一方先启动。</p>\n<p>另外,如果你的 Spring 容器是懒加载的,或者通过 API 编程延迟引用服务,请关闭 check,否则服务临时不可用时,会抛出异常,拿到 null 引用,如果 <code>check="false"</code>,总是会返回引用,当服务恢复时,能自动连上。</p>\n<h2>示例</h2>\n<h3>通过 spring 配置文件</h3>\n<p>关闭某个服务的启动时检查 (没有提供者时报错):</p>\n<pre><code class=\"language-xml\"><span [...]
+ "__html": "<h1>启动时检查</h1>\n<p>Dubbo 缺省会在启动时检查依赖的服务是否可用,不可用时会抛出异常,阻止 Spring 初始化完成,以便上线时,能及早发现问题,默认 <code>check="true"</code>。</p>\n<p>可以通过 <code>check="false"</code> 关闭检查,比如,测试时,有些服务不关心,或者出现了循环依赖,必须有一方先启动。</p>\n<p>另外,如果你的 Spring 容器是懒加载的,或者通过 API 编程延迟引用服务,请关闭 check,否则服务临时不可用时,会抛出异常,拿到 null 引用,如果 <code>check="false"</code>,总是会返回引用,当服务恢复时,能自动连上。</p>\n<h2>示例</h2>\n<h3>通过 spring 配置文件</h3>\n<p>关闭某个服务的启动时检查 (没有提供者时报错):</p>\n<pre><code class=\"language-xml\"><span [...]
"link": "/zh-cn/docs/user/demos/preflight-check.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/routing-rule.html b/zh-cn/docs/user/demos/routing-rule.html
index 5471161..156a435 100644
--- a/zh-cn/docs/user/demos/routing-rule.html
+++ b/zh-cn/docs/user/demos/routing-rule.html
@@ -192,7 +192,7 @@ application != bops => host = 172.22.3.94,172.22.3.95,172.22.3.96
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:service</span> <span class="hljs-attr">tag</span>=<span class="hljs-string">"tag1"</span>/></span>
</code></pre>
<p>or</p>
-<pre><code class="language-properties"><span class="hljs-attr">java</span> <span class="hljs-string">-jar xxx-provider.jar -Ddubbo.provider.tag={the tag you want, may come from OS ENV}</span>
+<pre><code class="language-properties">java -jar xxx-provider.jar -Ddubbo.provider.tag={the tag you want, may come from OS ENV}
</code></pre>
</li>
</ul>
diff --git a/zh-cn/docs/user/demos/routing-rule.json b/zh-cn/docs/user/demos/routing-rule.json
index 640651c..dcce56a 100644
--- a/zh-cn/docs/user/demos/routing-rule.json
+++ b/zh-cn/docs/user/demos/routing-rule.json
@@ -1,6 +1,6 @@
{
"filename": "routing-rule.md",
- "__html": "<h1>路由规则</h1>\n<p>在此查看<a href=\"./routing-rule-deprecated.md\">老版本路由规则(2.6.x or before)</a></p>\n<p>路由规则在发起一次RPC调用前起到过滤目标服务器地址的作用,过滤后的地址列表,将作为消费端最终发起RPC调用的备选地址。</p>\n<ul>\n<li>条件路由。支持以服务或Consumer应用为粒度配置路由规则。</li>\n<li>标签路由。以Provider应用为粒度配置路由规则。</li>\n</ul>\n<p>后续我们计划在2.6.x版本的基础上继续增强脚本路由功能,老版本脚本路由规则配置方式请参见开篇链接。</p>\n<h2>条件路由</h2>\n<p>您可以随时在服务治理控制台<a href=\"https://github.com/apache/incubator-dubbo-admin\">Dubbo-Admin</a>写入路由规则</p>\n<h3>简介</h3>\n<ul>\n<li>\n<p>应用粒度</p>\n<pre>< [...]
+ "__html": "<h1>路由规则</h1>\n<p>在此查看<a href=\"./routing-rule-deprecated.md\">老版本路由规则(2.6.x or before)</a></p>\n<p>路由规则在发起一次RPC调用前起到过滤目标服务器地址的作用,过滤后的地址列表,将作为消费端最终发起RPC调用的备选地址。</p>\n<ul>\n<li>条件路由。支持以服务或Consumer应用为粒度配置路由规则。</li>\n<li>标签路由。以Provider应用为粒度配置路由规则。</li>\n</ul>\n<p>后续我们计划在2.6.x版本的基础上继续增强脚本路由功能,老版本脚本路由规则配置方式请参见开篇链接。</p>\n<h2>条件路由</h2>\n<p>您可以随时在服务治理控制台<a href=\"https://github.com/apache/incubator-dubbo-admin\">Dubbo-Admin</a>写入路由规则</p>\n<h3>简介</h3>\n<ul>\n<li>\n<p>应用粒度</p>\n<pre>< [...]
"link": "/zh-cn/docs/user/demos/routing-rule.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/service-container.html b/zh-cn/docs/user/demos/service-container.html
index d8e2fd6..0cb4186 100644
--- a/zh-cn/docs/user/demos/service-container.html
+++ b/zh-cn/docs/user/demos/service-container.html
@@ -24,7 +24,7 @@
</li>
<li>
<p>配置 spring 配置加载位置:</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.spring.config</span>=<span class="hljs-string">classpath*:META-INF/spring/*.xml</span>
+<pre><code class="language-properties">dubbo.spring.config=classpath*:META-INF/spring/*.xml
</code></pre>
</li>
</ul>
diff --git a/zh-cn/docs/user/demos/service-container.json b/zh-cn/docs/user/demos/service-container.json
index 27af599..6530972 100644
--- a/zh-cn/docs/user/demos/service-container.json
+++ b/zh-cn/docs/user/demos/service-container.json
@@ -1,6 +1,6 @@
{
"filename": "service-container.md",
- "__html": "<h1>服务容器</h1>\n<p>服务容器是一个 standalone 的启动程序,因为后台服务不需要 Tomcat 或 JBoss 等 Web 容器的功能,如果硬要用 Web 容器去加载服务提供方,增加复杂性,也浪费资源。</p>\n<p>服务容器只是一个简单的 Main 方法,并加载一个简单的 Spring 容器,用于暴露服务。</p>\n<p>服务容器的加载内容可以扩展,内置了 spring, jetty, log4j 等加载,可通过<a href=\"http://dubbo.apache.org/zh-cn/docs/dev/impls/container.html\">容器扩展点</a>进行扩展。配置配在 java 命令的 -D 参数或者 <code>dubbo.properties</code> 中。</p>\n<h2>容器类型</h2>\n<h3>Spring Container</h3>\n<ul>\n<li>\n<p>自动加载 <code>META-INF/spring</code> 目录下的所有 Spring 配置。</ [...]
+ "__html": "<h1>服务容器</h1>\n<p>服务容器是一个 standalone 的启动程序,因为后台服务不需要 Tomcat 或 JBoss 等 Web 容器的功能,如果硬要用 Web 容器去加载服务提供方,增加复杂性,也浪费资源。</p>\n<p>服务容器只是一个简单的 Main 方法,并加载一个简单的 Spring 容器,用于暴露服务。</p>\n<p>服务容器的加载内容可以扩展,内置了 spring, jetty, log4j 等加载,可通过<a href=\"http://dubbo.apache.org/zh-cn/docs/dev/impls/container.html\">容器扩展点</a>进行扩展。配置配在 java 命令的 -D 参数或者 <code>dubbo.properties</code> 中。</p>\n<h2>容器类型</h2>\n<h3>Spring Container</h3>\n<ul>\n<li>\n<p>自动加载 <code>META-INF/spring</code> 目录下的所有 Spring 配置。</ [...]
"link": "/zh-cn/docs/user/demos/service-container.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/demos/simplify-registry-data.html b/zh-cn/docs/user/demos/simplify-registry-data.html
index 5cead68..851de35 100644
--- a/zh-cn/docs/user/demos/simplify-registry-data.html
+++ b/zh-cn/docs/user/demos/simplify-registry-data.html
@@ -187,8 +187,8 @@
<p>sample在dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-xml 工程下 (跑sample前,先跑下ZKClean进行配置项清理)</p>
<p>dubbo.properties</p>
<pre><code class="language-properties">
-<span class="hljs-meta">dubbo.registry.simplified</span>=<span class="hljs-string">true</span>
-<span class="hljs-meta">dubbo.registry.extra-keys</span>=<span class="hljs-string">retries,owner</span>
+dubbo.registry.simplified=true
+dubbo.registry.extra-keys=retries,owner
</code></pre>
<p>怎么去验证呢?</p>
<h5>provider端验证</h5>
diff --git a/zh-cn/docs/user/demos/simplify-registry-data.json b/zh-cn/docs/user/demos/simplify-registry-data.json
index fbe9b4e..f792557 100644
--- a/zh-cn/docs/user/demos/simplify-registry-data.json
+++ b/zh-cn/docs/user/demos/simplify-registry-data.json
@@ -1,6 +1,6 @@
{
"filename": "simplify-registry-data.md",
- "__html": "<h1>背景</h1>\n<p>dubbo provider中的服务配置项有接近<a href=\"http://dubbo.apache.org/en-us/docs/user/references/xml/dubbo-service.html\">30个配置项</a>。 排除注册中心服务治理需要之外,很大一部分配置项是provider自己使用,不需要透传给消费者。这部分数据不需要进入注册中心,而只需要以key-value形式持久化存储。</p>\n<p>dubbo consumer中的配置项也有<a href=\"http://dubbo.apache.org/en-us/docs/user/references/xml/dubbo-reference.html\">20+个配置项</a>。在注册中心之中,服务消费者列表中只需要关注application,version,group,ip,dubbo版本等少量配置,其他配置也可以以key-value形式持久化存储。</p>\n<p>这些数据是以服务为维度注册进入注册中心,导致了数据量的膨胀, [...]
+ "__html": "<h1>背景</h1>\n<p>dubbo provider中的服务配置项有接近<a href=\"http://dubbo.apache.org/en-us/docs/user/references/xml/dubbo-service.html\">30个配置项</a>。 排除注册中心服务治理需要之外,很大一部分配置项是provider自己使用,不需要透传给消费者。这部分数据不需要进入注册中心,而只需要以key-value形式持久化存储。</p>\n<p>dubbo consumer中的配置项也有<a href=\"http://dubbo.apache.org/en-us/docs/user/references/xml/dubbo-reference.html\">20+个配置项</a>。在注册中心之中,服务消费者列表中只需要关注application,version,group,ip,dubbo版本等少量配置,其他配置也可以以key-value形式持久化存储。</p>\n<p>这些数据是以服务为维度注册进入注册中心,导致了数据量的膨胀, [...]
"link": "/zh-cn/docs/user/demos/simplify-registry-data.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/quick-start.html b/zh-cn/docs/user/quick-start.html
index 784d115..141ecf6 100644
--- a/zh-cn/docs/user/quick-start.html
+++ b/zh-cn/docs/user/quick-start.html
@@ -40,7 +40,7 @@
</code></pre>
<h3>用 Spring 配置声明暴露服务</h3>
<p>provider.xml:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
@@ -78,7 +78,7 @@
<p>完整安装步骤,请参见:<a href="../admin/install/consumer-demo.md">示例消费者安装</a></p>
<h3>通过 Spring 配置引用远程服务</h3>
<p>consumer.xml:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/docs/user/quick-start.json b/zh-cn/docs/user/quick-start.json
index d590a0b..815ccb1 100644
--- a/zh-cn/docs/user/quick-start.json
+++ b/zh-cn/docs/user/quick-start.json
@@ -1,6 +1,6 @@
{
"filename": "quick-start.md",
- "__html": "<h1>快速启动</h1>\n<p>Dubbo 采用全 Spring 配置方式,透明化接入应用,对应用没有任何 API 侵入,只需用 Spring 加载 Dubbo 的配置即可,Dubbo 基于 <a href=\"https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\">Spring 的 Schema 扩展</a> 进行加载。</p>\n<p>如果不想使用 Spring 配置,可以通过 <a href=\"./configuration/api.md\">API 的方式</a> 进行调用。</p>\n<h2>服务提供者</h2>\n<p>完整安装步骤,请参见:<a href=\"../admin/install/provider-demo.md\">示例提供者安装</a></p>\n<h3>定义服务接口</h3>\n<p>DemoService.java <sup class=\"footnote-ref\ [...]
+ "__html": "<h1>快速启动</h1>\n<p>Dubbo 采用全 Spring 配置方式,透明化接入应用,对应用没有任何 API 侵入,只需用 Spring 加载 Dubbo 的配置即可,Dubbo 基于 <a href=\"https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\">Spring 的 Schema 扩展</a> 进行加载。</p>\n<p>如果不想使用 Spring 配置,可以通过 <a href=\"./configuration/api.md\">API 的方式</a> 进行调用。</p>\n<h2>服务提供者</h2>\n<p>完整安装步骤,请参见:<a href=\"../admin/install/provider-demo.md\">示例提供者安装</a></p>\n<h3>定义服务接口</h3>\n<p>DemoService.java <sup class=\"footnote-ref\ [...]
"link": "/zh-cn/docs/user/quick-start.html",
"meta": {
"title": "快速启动",
diff --git a/zh-cn/docs/user/references/protocol/rmi.html b/zh-cn/docs/user/references/protocol/rmi.html
index da606b0..ab2240d 100644
--- a/zh-cn/docs/user/references/protocol/rmi.html
+++ b/zh-cn/docs/user/references/protocol/rmi.html
@@ -31,7 +31,7 @@
<li>dubbo 配置中的超时时间对 RMI 无效,需使用 java 启动参数设置:<code>-Dsun.rmi.transport.tcp.responseTimeout=3000</code>,参见下面的 RMI 配置</li>
</ul>
<h2>dubbo.properties 配置</h2>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.service.protocol</span>=<span class="hljs-string">rmi</span>
+<pre><code class="language-properties">dubbo.service.protocol=rmi
</code></pre>
<h2>RMI配置</h2>
<pre><code class="language-sh">java -Dsun.rmi.transport.tcp.responseTimeout=3000
diff --git a/zh-cn/docs/user/references/protocol/rmi.json b/zh-cn/docs/user/references/protocol/rmi.json
index 7a8a380..fe317ab 100644
--- a/zh-cn/docs/user/references/protocol/rmi.json
+++ b/zh-cn/docs/user/references/protocol/rmi.json
@@ -1,6 +1,6 @@
{
"filename": "rmi.md",
- "__html": "<h1>rmi://</h1>\n<p>RMI 协议采用 JDK 标准的 <code>java.rmi.*</code> 实现,采用阻塞式短连接和 JDK 标准序列化方式。</p>\n<p>注意:如果正在使用 RMI 提供服务给外部访问 <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>,同时应用里依赖了老的 common-collections 包 <sup class=\"footnote-ref\"><a href=\"#fn2\" id=\"fnref2\">[2]</a></sup> 的情况下,存在反序列化安全风险 <sup class=\"footnote-ref\"><a href=\"#fn3\" id=\"fnref3\">[3]</a></sup>。</p>\n<h2>特性</h2>\n<ul>\n<li>连接个数:多连接</li>\n<li>连接方式:短连接</li>\n<li>传输协议:TCP</li>\n<li>传输方式:同步 [...]
+ "__html": "<h1>rmi://</h1>\n<p>RMI 协议采用 JDK 标准的 <code>java.rmi.*</code> 实现,采用阻塞式短连接和 JDK 标准序列化方式。</p>\n<p>注意:如果正在使用 RMI 提供服务给外部访问 <sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>,同时应用里依赖了老的 common-collections 包 <sup class=\"footnote-ref\"><a href=\"#fn2\" id=\"fnref2\">[2]</a></sup> 的情况下,存在反序列化安全风险 <sup class=\"footnote-ref\"><a href=\"#fn3\" id=\"fnref3\">[3]</a></sup>。</p>\n<h2>特性</h2>\n<ul>\n<li>连接个数:多连接</li>\n<li>连接方式:短连接</li>\n<li>传输协议:TCP</li>\n<li>传输方式:同步 [...]
"link": "/zh-cn/docs/user/references/protocol/rmi.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/references/qos.html b/zh-cn/docs/user/references/qos.html
index 9165cfd..ad5637e 100644
--- a/zh-cn/docs/user/references/qos.html
+++ b/zh-cn/docs/user/references/qos.html
@@ -181,7 +181,7 @@ dubbo.application.qos.accept.foreign.ip=false
</code></pre>
<h3>使用XML方法进行配置</h3>
<p>如果要通过XML配置响应的QoS相关的参数,可以进行如下配置:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/docs/user/references/qos.json b/zh-cn/docs/user/references/qos.json
index 8488076..59d4ea3 100644
--- a/zh-cn/docs/user/references/qos.json
+++ b/zh-cn/docs/user/references/qos.json
@@ -1,6 +1,6 @@
{
"filename": "qos.md",
- "__html": "<h1>新版本 telnet 命令使用说明</h1>\n<p>dubbo <code>2.5.8</code> 新版本增加了 QOS 模块,提供了新的 telnet 命令支持。</p>\n<h2>端口</h2>\n<p>新版本的 telnet 端口 与 dubbo 协议的端口是不同的端口,默认为 <code>22222</code>,可通过配置文件<code>dubbo.properties</code> 修改:</p>\n<pre><code>dubbo.application.qos.port=33333\n</code></pre>\n<p>或者通过设置 JVM 参数:</p>\n<pre><code>-Ddubbo.application.qos.port=33333\n</code></pre>\n<h2>安全</h2>\n<p>默认情况下,dubbo 接收任何主机发起的命令,可通过配置文件<code>dubbo.properties</code> 修改:</p>\n<pre><code>dubbo.application.qos.a [...]
+ "__html": "<h1>新版本 telnet 命令使用说明</h1>\n<p>dubbo <code>2.5.8</code> 新版本增加了 QOS 模块,提供了新的 telnet 命令支持。</p>\n<h2>端口</h2>\n<p>新版本的 telnet 端口 与 dubbo 协议的端口是不同的端口,默认为 <code>22222</code>,可通过配置文件<code>dubbo.properties</code> 修改:</p>\n<pre><code>dubbo.application.qos.port=33333\n</code></pre>\n<p>或者通过设置 JVM 参数:</p>\n<pre><code>-Ddubbo.application.qos.port=33333\n</code></pre>\n<h2>安全</h2>\n<p>默认情况下,dubbo 接收任何主机发起的命令,可通过配置文件<code>dubbo.properties</code> 修改:</p>\n<pre><code>dubbo.application.qos.a [...]
"link": "/zh-cn/docs/user/references/qos.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/references/registry/simple.html b/zh-cn/docs/user/references/registry/simple.html
index d073141..1034e93 100644
--- a/zh-cn/docs/user/references/registry/simple.html
+++ b/zh-cn/docs/user/references/registry/simple.html
@@ -16,7 +16,7 @@
<p>Simple 注册中心本身就是一个普通的 Dubbo 服务,可以减少第三方依赖,使整体通讯方式一致。</p>
<h2>配置</h2>
<p>将 Simple 注册中心暴露成 Dubbo 服务:</p>
-<pre><code class="language-xml"><span class="hljs-meta"><?xml version="1.0" encoding="UTF-8"?></span>
+<pre><code class="language-xml"><span class="php"><span class="hljs-meta"><?</span>xml version=<span class="hljs-string">"1.0"</span> encoding=<span class="hljs-string">"UTF-8"</span><span class="hljs-meta">?></span></span>
<span class="hljs-tag"><<span class="hljs-name">beans</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.springframework.org/schema/beans"</span>
<span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="hljs-attr">xmlns:dubbo</span>=<span class="hljs-string">"http://dubbo.apache.org/schema/dubbo"</span>
diff --git a/zh-cn/docs/user/references/registry/simple.json b/zh-cn/docs/user/references/registry/simple.json
index 321ccbb..2ebeb11 100644
--- a/zh-cn/docs/user/references/registry/simple.json
+++ b/zh-cn/docs/user/references/registry/simple.json
@@ -1,6 +1,6 @@
{
"filename": "simple.md",
- "__html": "<h1>Simple 注册中心</h1>\n<p>Simple 注册中心本身就是一个普通的 Dubbo 服务,可以减少第三方依赖,使整体通讯方式一致。</p>\n<h2>配置</h2>\n<p>将 Simple 注册中心暴露成 Dubbo 服务:</p>\n<pre><code class=\"language-xml\"><span class=\"hljs-meta\"><?xml version=\"1.0\" encoding=\"UTF-8\"?></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">beans</span> <span class=\"hljs-attr\">xmlns</span>=<span class=\"hljs-string\">\"http://www.springframework.org/schema/beans\"</span>\n <span class=\"hljs-attr\">xmlns:xsi</s [...]
+ "__html": "<h1>Simple 注册中心</h1>\n<p>Simple 注册中心本身就是一个普通的 Dubbo 服务,可以减少第三方依赖,使整体通讯方式一致。</p>\n<h2>配置</h2>\n<p>将 Simple 注册中心暴露成 Dubbo 服务:</p>\n<pre><code class=\"language-xml\"><span class=\"php\"><span class=\"hljs-meta\"><?</span>xml version=<span class=\"hljs-string\">\"1.0\"</span> encoding=<span class=\"hljs-string\">\"UTF-8\"</span><span class=\"hljs-meta\">?></span></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">beans</span> <span class=\"hljs-attr\">xmlns</sp [...]
"link": "/zh-cn/docs/user/references/registry/simple.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/user/versions/version-270.html b/zh-cn/docs/user/versions/version-270.html
index 6310ded..acbb3d9 100644
--- a/zh-cn/docs/user/versions/version-270.html
+++ b/zh-cn/docs/user/versions/version-270.html
@@ -60,7 +60,7 @@
<pre><code class="language-xml"><span class="hljs-comment"><!-- simplified="true"表示注册简化版的URL到Registry --></span>
<span class="hljs-tag"><<span class="hljs-name">dubbo:registry</span> <span class="hljs-attr">address</span>=<span class="hljs-string">"zookeeper://127.0.0.1:2181"</span> <span class="hljs-attr">simplified</span>=<span class="hljs-string">"true"</span>/></span>
</code></pre>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.registry.simplified</span>=<span class="hljs-string">true</span>
+<pre><code class="language-properties">dubbo.registry.simplified=true
</code></pre>
<p>建议将此配置集中管理,参考<a href="#%E4%BD%BF%E7%94%A8%E5%A4%96%E9%83%A8%E5%8C%96%E9%85%8D%E7%BD%AE">外部化配置</a>。</p>
<blockquote>
@@ -69,7 +69,7 @@
<h4>配置元数据中心</h4>
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:metadata-report</span> <span class="hljs-attr">address</span>=<span class="hljs-string">"redis://127.0.0.1:6379"</span>/></span>
</code></pre>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.metadataReport.address</span>=<span class="hljs-string">redis://127.0.0.1:6379</span>
+<pre><code class="language-properties">dubbo.metadataReport.address=redis://127.0.0.1:6379
</code></pre>
<p>建议将此配置集中管理,参考<a href="#%E4%BD%BF%E7%94%A8%E5%A4%96%E9%83%A8%E5%8C%96%E9%85%8D%E7%BD%AE">外部化配置</a>。
在此了解更多<a href="">元数据中心</a>设计目的与用途。</p>
@@ -87,13 +87,13 @@
<span class="hljs-tag"><<span class="hljs-name">dubbo:service</span> <span class="hljs-attr">interface</span>=<span class="hljs-string">"org.apache.dubbo.samples.basic.api.DemoService"</span> <span class="hljs-attr">ref</span>=<span class="hljs-string">"demoService"</span>/></span>
</code></pre>
<p>通过<a href="http://47.91.207.147/#/management?key=global">OPS控制台</a>将以下全局配置迁移到配置中心,成为所有应用共享的配置。</p>
-<pre><code class="language-properties"><span class="hljs-meta">dubbo.registry.address</span>=<span class="hljs-string">zookeeper://127.0.0.1:2181</span>
-<span class="hljs-meta">dubbo.registry.simplified</span>=<span class="hljs-string">true</span>
+<pre><code class="language-properties">dubbo.registry.address=zookeeper://127.0.0.1:2181
+dubbo.registry.simplified=true
-<span class="hljs-meta">dubbo.metadataReport.address</span>=<span class="hljs-string">redis://127.0.0.1:6379</span>
+dubbo.metadataReport.address=redis://127.0.0.1:6379
-<span class="hljs-meta">dubbo.protocol.name</span>=<span class="hljs-string">dubbo</span>
-<span class="hljs-meta">dubbo.protocol.port</span>=<span class="hljs-string">20880</span>
+dubbo.protocol.name=dubbo
+dubbo.protocol.port=20880
</code></pre>
<p>这样应用开发者只需要关心配置中心的配置。</p>
<pre><code class="language-xml"><span class="hljs-tag"><<span class="hljs-name">dubbo:application</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"demo-provider"</span>/></span>
diff --git a/zh-cn/docs/user/versions/version-270.json b/zh-cn/docs/user/versions/version-270.json
index ed7b0c4..70f7946 100644
--- a/zh-cn/docs/user/versions/version-270.json
+++ b/zh-cn/docs/user/versions/version-270.json
@@ -1,6 +1,6 @@
{
"filename": "version-270.md",
- "__html": "<h1>升级与可能的兼容性问题总结</h1>\n<p>环境要求:需要<strong>Java 8</strong>及以上版本。</p>\n<p>2.7.0版本在改造的过程中遵循了一个原则,即<strong>保持与低版本的兼容性,因此从功能层面来说它是与2.6.x及更低版本完全兼容的</strong>,而接下来将要提到的兼容性问题主要是<a href=\"#%E5%8C%85%E5%90%8D%E6%94%B9%E9%80%A0\">包重命名</a>带来的。另外,虽然功能用法保持向后兼容,但参考本文能帮助您尽快用到2.7.0版本的新特性。</p>\n<h2>升级步骤</h2>\n<ol>\n<li>升级pom到2.7.0(以all-in-one依赖为例)。</li>\n</ol>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">properties</span>></span>\n <span class [...]
+ "__html": "<h1>升级与可能的兼容性问题总结</h1>\n<p>环境要求:需要<strong>Java 8</strong>及以上版本。</p>\n<p>2.7.0版本在改造的过程中遵循了一个原则,即<strong>保持与低版本的兼容性,因此从功能层面来说它是与2.6.x及更低版本完全兼容的</strong>,而接下来将要提到的兼容性问题主要是<a href=\"#%E5%8C%85%E5%90%8D%E6%94%B9%E9%80%A0\">包重命名</a>带来的。另外,虽然功能用法保持向后兼容,但参考本文能帮助您尽快用到2.7.0版本的新特性。</p>\n<h2>升级步骤</h2>\n<ol>\n<li>升级pom到2.7.0(以all-in-one依赖为例)。</li>\n</ol>\n<pre><code class=\"language-xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">properties</span>></span>\n <span class [...]
"link": "/zh-cn/docs/user/versions/version-270.html",
"meta": {}
}
\ No newline at end of file