You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/05/16 09:45:19 UTC
[incubator-servicecomb-java-chassis] branch gh-pages updated:
[SCB-585]change folder structure and add compiled pages
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new fc69f1f [SCB-585]change folder structure and add compiled pages
fc69f1f is described below
commit fc69f1f465765355fe677792151157526cb61b13
Author: liubao <ba...@huawei.com>
AuthorDate: Wed May 16 17:42:58 2018 +0800
[SCB-585]change folder structure and add compiled pages
---
docs-source/LANGS.md => LANGS.md | 0
docs-source/zh_CN/book.json => book.json | 0
docs/.github/PULL_REQUEST_TEMPLATE.md | 10 +
docs/.gitignore | 85 ++
docs/.travis.settings.xml | 42 +
docs/.travis.yml | 15 +
docs/DISCLAIMER | 1 +
docs/LICENSE | 230 +++
docs/NOTICE | 5 +
docs/README.md | 74 +
{docs-source/zh_CN => docs/en_US}/.gitignore | 0
{docs-source/zh_CN => docs/en_US}/README.md | 0
.../zh_CN => docs/en_US}/assets/Versions.png | Bin
.../zh_CN => docs/en_US}/assets/deployment.png | Bin
{docs-source/zh_CN => docs/en_US}/assets/env.PNG | Bin
.../en_US}/assets/metrics/logicDiagram.png | Bin
.../zh_CN => docs/en_US}/assets/reactive.png | Bin
.../en_US}/assets/reactive/nestedSync.png | Bin
.../en_US}/assets/reactive/normalSync.png | Bin
.../en_US}/assets/reactive/pureReactive.png | Bin
.../assets/reactive/wrongSyncOptimization.png | Bin
.../zh_CN => docs/en_US}/assets/sc-meta.png | Bin
.../en_US}/assets/spring-cloud-integration-001.png | Bin
.../en_US}/assets/spring-cloud-integration-002.png | Bin
.../en_US}/assets/spring-cloud-integration-003.png | Bin
.../en_US}/assets/spring-cloud-integration-004.png | Bin
.../en_US}/assets/spring-cloud-integration-005.png | Bin
.../en_US}/assets/spring-cloud-integration-006.png | Bin
.../en_US}/assets/spring-cloud-integration-007.png | Bin
.../zh_CN => docs/en_US}/assets/spring-cloud.png | Bin
.../zh_CN => docs/en_US}/assets/threadPool.png | Bin
.../using-java-chassis-in-spring-boot-001.png | Bin
.../using-java-chassis-in-spring-boot-002.png | Bin
.../zh_CN => docs/en_US}/assets/workFlow.png | Bin
docs/en_US/build-consumer/circuit-breaker.html | 1202 +++++++++++++++
.../en_US}/build-consumer/circuit-breaker.md | 0
.../en_US}/build-consumer/code-first.md | 0
.../build-consumer/develop-consumer-using-rpc.html | 1222 ++++++++++++++++
.../build-consumer/develop-consumer-using-rpc.md | 0
.../en_US}/build-consumer/diao-yong-kong-zhi.md | 0
docs/en_US/build-consumer/fault-injection.html | 1350 +++++++++++++++++
.../en_US}/build-consumer/fault-injection.md | 0
docs/en_US/build-consumer/flow-control.html | 1241 ++++++++++++++++
.../en_US}/build-consumer/flow-control.md | 0
docs/en_US/build-consumer/instance-isolation.html | 1267 ++++++++++++++++
.../en_US}/build-consumer/instance-isolation.md | 0
docs/en_US/build-consumer/invoke-control.html | 1198 +++++++++++++++
.../en_US}/build-consumer/invoke-control.md | 0
docs/en_US/build-consumer/using-resttemplate.html | 1233 ++++++++++++++++
.../en_US}/build-consumer/using-resttemplate.md | 0
docs/en_US/build-consumer/with-contract.html | 1235 ++++++++++++++++
.../en_US}/build-consumer/with-contract.md | 0
.../build-provider/access-log-configuration.html | 1493 +++++++++++++++++++
.../build-provider/access-log-configuration.md | 0
docs/en_US/build-provider/bootup.html | 1215 ++++++++++++++++
.../zh_CN => docs/en_US}/build-provider/bootup.md | 0
docs/en_US/build-provider/code-first.html | 1205 +++++++++++++++
.../en_US}/build-provider/code-first.md | 0
.../configuration/downgrade-strategy.html | 1371 ++++++++++++++++++
.../configuration/downgrade-strategy.md | 0
.../build-provider/configuration/lb-strategy.html | 1449 +++++++++++++++++++
.../build-provider/configuration/lb-strategy.md | 0
.../configuration/parameter-validator.html | 1304 +++++++++++++++++
.../configuration/parameter-validator.md | 0
.../configuration/ratelimite-strategy.html | 1267 ++++++++++++++++
.../configuration/ratelimite-strategy.md | 0
docs/en_US/build-provider/define-contract.html | 1289 +++++++++++++++++
.../en_US}/build-provider/define-contract.md | 0
.../en_US}/build-provider/definition/heartbeats.md | 0
.../definition/isolate-relationship.html | 1231 ++++++++++++++++
.../definition/isolate-relationship.md | 0
.../definition/service-definition.html | 1307 +++++++++++++++++
.../definition/service-definition.md | 0
.../build-provider/interface-constraints.html | 1279 ++++++++++++++++
.../en_US}/build-provider/interface-constraints.md | 0
docs/en_US/build-provider/jaxrs.html | 1312 +++++++++++++++++
.../zh_CN => docs/en_US}/build-provider/jaxrs.md | 0
.../listen-address-and-publish-address.html | 1269 ++++++++++++++++
.../listen-address-and-publish-address.md | 0
docs/en_US/build-provider/protocol.html | 1204 +++++++++++++++
.../en_US}/build-provider/protocol.md | 0
.../en_US/build-provider/protocol/highway-rpc.html | 1277 ++++++++++++++++
.../en_US}/build-provider/protocol/highway-rpc.md | 0
.../build-provider/protocol/rest-over-servlet.html | 1317 +++++++++++++++++
.../build-provider/protocol/rest-over-servlet.md | 0
.../build-provider/protocol/rest-over-vertx.html | 1320 +++++++++++++++++
.../build-provider/protocol/rest-over-vertx.md | 0
.../build-provider/protocol/thread-model.html | 1223 ++++++++++++++++
.../en_US}/build-provider/protocol/thread-model.md | 0
.../build-provider/service-configuration.html | 1198 +++++++++++++++
.../en_US}/build-provider/service-configuration.md | 0
docs/en_US/build-provider/springmvc.html | 1278 ++++++++++++++++
.../en_US}/build-provider/springmvc.md | 0
docs/en_US/build-provider/swagger-annotation.html | 1527 ++++++++++++++++++++
.../en_US}/build-provider/swagger-annotation.md | 0
docs/en_US/build-provider/transparent-rpc.html | 1270 ++++++++++++++++
.../en_US}/build-provider/transparent-rpc.md | 0
docs/en_US/catalog/build-consumer.html | 1198 +++++++++++++++
.../zh_CN => docs/en_US}/catalog/build-consumer.md | 0
docs/en_US/catalog/build-provider.html | 1198 +++++++++++++++
.../zh_CN => docs/en_US}/catalog/build-provider.md | 0
.../zh_CN => docs/en_US}/catalog/data-conform.md | 0
docs/en_US/catalog/general-develop.html | 1198 +++++++++++++++
.../en_US}/catalog/general-develop.md | 0
docs/en_US/catalog/open-service.html | 1198 +++++++++++++++
.../zh_CN => docs/en_US}/catalog/open-service.md | 0
.../zh_CN => docs/en_US}/catalog/securety.md | 0
docs/en_US/catalog/security.html | 1198 +++++++++++++++
.../zh_CN => docs/en_US}/catalog/security.md | 0
docs/en_US/catalog/service-package-run.html | 1198 +++++++++++++++
.../en_US}/catalog/service-package-run.md | 0
docs/en_US/catalog/start.html | 1199 +++++++++++++++
{docs-source/zh_CN => docs/en_US}/catalog/start.md | 0
.../zh_CN => docs/en_US}/catalog/use-tool.md | 0
docs/en_US/edge/by-servicecomb-sdk.html | 1368 ++++++++++++++++++
.../en_US}/edge/by-servicecomb-sdk.md | 0
.../zh_CN => docs/en_US}/edge/edge-service.md | 0
docs/en_US/edge/nginx.html | 1268 ++++++++++++++++
{docs-source/zh_CN => docs/en_US}/edge/nginx.md | 0
docs/en_US/edge/secret-field.html | 1263 ++++++++++++++++
.../zh_CN => docs/en_US}/edge/secret-field.md | 0
docs/en_US/edge/zuul.html | 1306 +++++++++++++++++
{docs-source/zh_CN => docs/en_US}/edge/zuul.md | 0
.../zh_CN => docs/en_US}/featured-topics.md | 0
.../en_US}/general-development/QPS.md | 0
.../general-development/customized-tracing.html | 1280 ++++++++++++++++
.../general-development/customized-tracing.md | 0
docs/en_US/general-development/dai-li-she-zhi.html | 1220 ++++++++++++++++
.../en_US}/general-development/dai-li-she-zhi.md | 0
...ing-zhi-xu-lie-hua-he-fan-xu-lie-hua-fang-fa.md | 0
docs/en_US/general-development/dnsconfig.html | 1255 ++++++++++++++++
.../en_US}/general-development/dnsconfig.md | 0
docs/en_US/general-development/file-download.html | 1291 +++++++++++++++++
.../en_US}/general-development/file-download.md | 0
docs/en_US/general-development/file-upload.html | 1294 +++++++++++++++++
.../en_US}/general-development/file-upload.md | 0
.../en_US}/general-development/gated-launch.md | 0
docs/en_US/general-development/http-filter.html | 1261 ++++++++++++++++
.../en_US}/general-development/http-filter.md | 0
.../kuang-jia-shang-bao-ban-ben-hao.md | 0
.../general-development/local-develop-test.html | 1307 +++++++++++++++++
.../general-development/local-develop-test.md | 0
docs/en_US/general-development/metrics.html | 1386 ++++++++++++++++++
.../en_US}/general-development/metrics.md | 0
.../microservice-invocation-chain.html | 1238 ++++++++++++++++
.../microservice-invocation-chain.md | 0
docs/en_US/general-development/reactive.html | 1332 +++++++++++++++++
.../en_US}/general-development/reactive.md | 0
.../report-framework-version.html | 1237 ++++++++++++++++
.../report-framework-version.md | 0
.../en_US}/general-development/types.md | 0
docs/en_US/general-development/visit-sc.html | 1255 ++++++++++++++++
.../en_US}/general-development/visit-sc.md | 0
docs/en_US/index.html | 1199 +++++++++++++++
docs/en_US/packaging/standalone.html | 1218 ++++++++++++++++
.../zh_CN => docs/en_US}/packaging/standalone.md | 0
docs/en_US/packaging/web-container.html | 1207 ++++++++++++++++
.../en_US}/packaging/web-container.md | 0
.../interface-compatibility.html | 1220 ++++++++++++++++
.../question-and-answer/interface-compatibility.md | 0
.../en_US/question-and-answer/question_answer.html | 1389 ++++++++++++++++++
.../en_US}/question-and-answer/question_answer.md | 0
.../service-center-error-diagnosis.md | 0
docs/en_US/search_index.json | 1 +
.../zh_CN => docs/en_US}/security/http2.md | 0
docs/en_US/security/shi-yong-rsa-ren-zheng.html | 1236 ++++++++++++++++
.../en_US}/security/shi-yong-rsa-ren-zheng.md | 0
docs/en_US/security/tls.html | 1424 ++++++++++++++++++
{docs-source/zh_CN => docs/en_US}/security/tls.md | 0
.../en_US}/security/tls/shi-yong-rsa-ren-zheng.md | 0
.../en_US}/start/ServiceComb-logo-1.png | Bin
docs/en_US/start/architecture.html | 1271 ++++++++++++++++
.../zh_CN => docs/en_US}/start/architecture.md | 0
.../zh_CN => docs/en_US}/start/architecture.png | Bin
{docs-source/zh_CN => docs/en_US}/start/boot.png | Bin
.../en_US}/start/deployment-on-cloud.md | 0
.../zh_CN => docs/en_US}/start/develop-test.png | Bin
docs/en_US/start/development-environment.html | 1249 ++++++++++++++++
.../en_US}/start/development-environment.md | 0
docs/en_US/start/first-sample.html | 1216 ++++++++++++++++
.../zh_CN => docs/en_US}/start/first-sample.md | 0
docs/en_US/start/terminology.html | 1307 +++++++++++++++++
.../zh_CN => docs/en_US}/start/terminology.md | 0
.../zh_CN => docs/en_US}/start/thread-model.png | Bin
docs/en_US/using-java-chassis-in-spring-boot.html | 1226 ++++++++++++++++
.../components-for-spring-boot.html | 1219 ++++++++++++++++
.../components-for-spring-boot.md | 0
.../diff-between-java-web.html | 1199 +++++++++++++++
.../diff-between-java-web.md | 0
.../diff-spring-mvc.html | 1352 +++++++++++++++++
.../diff-spring-mvc.md | 0
.../java-application.html | 1256 ++++++++++++++++
.../java-application.md | 0
.../spring-mvcmo-shi-de-cha-yi.md | 0
.../web-application.html | 1233 ++++++++++++++++
.../web-application.md | 0
docs/gitbook/fonts/fontawesome/FontAwesome.otf | Bin 0 -> 124988 bytes
.../fonts/fontawesome/fontawesome-webfont.eot | Bin 0 -> 76518 bytes
.../fonts/fontawesome/fontawesome-webfont.svg | 685 +++++++++
.../fonts/fontawesome/fontawesome-webfont.ttf | Bin 0 -> 152796 bytes
.../fonts/fontawesome/fontawesome-webfont.woff | Bin 0 -> 90412 bytes
.../fonts/fontawesome/fontawesome-webfont.woff2 | Bin 0 -> 71896 bytes
.../gitbook-plugin-fontsettings/fontsettings.js | 240 +++
.../gitbook-plugin-fontsettings/website.css | 291 ++++
docs/gitbook/gitbook-plugin-highlight/ebook.css | 135 ++
docs/gitbook/gitbook-plugin-highlight/website.css | 434 ++++++
docs/gitbook/gitbook-plugin-lunr/lunr.min.js | 7 +
docs/gitbook/gitbook-plugin-lunr/search-lunr.js | 59 +
docs/gitbook/gitbook-plugin-search/lunr.min.js | 7 +
.../gitbook/gitbook-plugin-search/search-engine.js | 50 +
docs/gitbook/gitbook-plugin-search/search.css | 35 +
docs/gitbook/gitbook-plugin-search/search.js | 213 +++
docs/gitbook/gitbook-plugin-sharing/buttons.js | 90 ++
docs/gitbook/gitbook.js | 4 +
.../images/apple-touch-icon-precomposed-152.png | Bin 0 -> 4817 bytes
docs/gitbook/images/favicon.ico | Bin 0 -> 4286 bytes
docs/gitbook/style.css | 9 +
docs/gitbook/theme.js | 4 +
docs/index.html | 70 +
docs/scripts/travis.sh | 21 +
docs/search_index.json | 1 +
{docs-source/en_US => docs/zh_CN}/.gitignore | 0
{docs-source/en_US => docs/zh_CN}/README.md | 0
.../en_US => docs/zh_CN}/assets/Versions.png | Bin
.../en_US => docs/zh_CN}/assets/deployment.png | Bin
{docs-source/en_US => docs/zh_CN}/assets/env.PNG | Bin
.../zh_CN}/assets/metrics/logicDiagram.png | Bin
.../en_US => docs/zh_CN}/assets/reactive.png | Bin
.../zh_CN}/assets/reactive/nestedSync.png | Bin
.../zh_CN}/assets/reactive/normalSync.png | Bin
.../zh_CN}/assets/reactive/pureReactive.png | Bin
.../assets/reactive/wrongSyncOptimization.png | Bin
.../en_US => docs/zh_CN}/assets/sc-meta.png | Bin
.../zh_CN}/assets/spring-cloud-integration-001.png | Bin
.../zh_CN}/assets/spring-cloud-integration-002.png | Bin
.../zh_CN}/assets/spring-cloud-integration-003.png | Bin
.../zh_CN}/assets/spring-cloud-integration-004.png | Bin
.../zh_CN}/assets/spring-cloud-integration-005.png | Bin
.../zh_CN}/assets/spring-cloud-integration-006.png | Bin
.../zh_CN}/assets/spring-cloud-integration-007.png | Bin
.../en_US => docs/zh_CN}/assets/spring-cloud.png | Bin
.../en_US => docs/zh_CN}/assets/threadPool.png | Bin
.../using-java-chassis-in-spring-boot-001.png | Bin
.../using-java-chassis-in-spring-boot-002.png | Bin
.../en_US => docs/zh_CN}/assets/workFlow.png | Bin
docs/zh_CN/build-consumer/circuit-breaker.html | 1202 +++++++++++++++
.../zh_CN}/build-consumer/circuit-breaker.md | 0
.../zh_CN}/build-consumer/code-first.md | 0
.../build-consumer/develop-consumer-using-rpc.html | 1222 ++++++++++++++++
.../build-consumer/develop-consumer-using-rpc.md | 0
.../zh_CN}/build-consumer/diao-yong-kong-zhi.md | 0
docs/zh_CN/build-consumer/fault-injection.html | 1350 +++++++++++++++++
.../zh_CN}/build-consumer/fault-injection.md | 0
docs/zh_CN/build-consumer/flow-control.html | 1241 ++++++++++++++++
.../zh_CN}/build-consumer/flow-control.md | 0
docs/zh_CN/build-consumer/instance-isolation.html | 1267 ++++++++++++++++
.../zh_CN}/build-consumer/instance-isolation.md | 0
docs/zh_CN/build-consumer/invoke-control.html | 1198 +++++++++++++++
.../zh_CN}/build-consumer/invoke-control.md | 0
docs/zh_CN/build-consumer/using-resttemplate.html | 1233 ++++++++++++++++
.../zh_CN}/build-consumer/using-resttemplate.md | 0
docs/zh_CN/build-consumer/with-contract.html | 1235 ++++++++++++++++
.../zh_CN}/build-consumer/with-contract.md | 0
.../build-provider/access-log-configuration.html | 1493 +++++++++++++++++++
.../build-provider/access-log-configuration.md | 0
docs/zh_CN/build-provider/bootup.html | 1215 ++++++++++++++++
.../en_US => docs/zh_CN}/build-provider/bootup.md | 0
docs/zh_CN/build-provider/code-first.html | 1205 +++++++++++++++
.../zh_CN}/build-provider/code-first.md | 0
.../configuration/downgrade-strategy.html | 1371 ++++++++++++++++++
.../configuration/downgrade-strategy.md | 0
.../build-provider/configuration/lb-strategy.html | 1449 +++++++++++++++++++
.../build-provider/configuration/lb-strategy.md | 0
.../configuration/parameter-validator.html | 1304 +++++++++++++++++
.../configuration/parameter-validator.md | 0
.../configuration/ratelimite-strategy.html | 1267 ++++++++++++++++
.../configuration/ratelimite-strategy.md | 0
docs/zh_CN/build-provider/define-contract.html | 1289 +++++++++++++++++
.../zh_CN}/build-provider/define-contract.md | 0
.../zh_CN}/build-provider/definition/heartbeats.md | 0
.../definition/isolate-relationship.html | 1231 ++++++++++++++++
.../definition/isolate-relationship.md | 0
.../definition/service-definition.html | 1307 +++++++++++++++++
.../definition/service-definition.md | 0
.../build-provider/interface-constraints.html | 1279 ++++++++++++++++
.../zh_CN}/build-provider/interface-constraints.md | 0
docs/zh_CN/build-provider/jaxrs.html | 1312 +++++++++++++++++
.../en_US => docs/zh_CN}/build-provider/jaxrs.md | 0
.../listen-address-and-publish-address.html | 1269 ++++++++++++++++
.../listen-address-and-publish-address.md | 0
docs/zh_CN/build-provider/protocol.html | 1204 +++++++++++++++
.../zh_CN}/build-provider/protocol.md | 0
.../zh_CN/build-provider/protocol/highway-rpc.html | 1277 ++++++++++++++++
.../zh_CN}/build-provider/protocol/highway-rpc.md | 0
.../build-provider/protocol/rest-over-servlet.html | 1317 +++++++++++++++++
.../build-provider/protocol/rest-over-servlet.md | 0
.../build-provider/protocol/rest-over-vertx.html | 1320 +++++++++++++++++
.../build-provider/protocol/rest-over-vertx.md | 0
.../build-provider/protocol/thread-model.html | 1223 ++++++++++++++++
.../zh_CN}/build-provider/protocol/thread-model.md | 0
.../build-provider/service-configuration.html | 1198 +++++++++++++++
.../zh_CN}/build-provider/service-configuration.md | 0
docs/zh_CN/build-provider/springmvc.html | 1278 ++++++++++++++++
.../zh_CN}/build-provider/springmvc.md | 0
docs/zh_CN/build-provider/swagger-annotation.html | 1527 ++++++++++++++++++++
.../zh_CN}/build-provider/swagger-annotation.md | 0
docs/zh_CN/build-provider/transparent-rpc.html | 1270 ++++++++++++++++
.../zh_CN}/build-provider/transparent-rpc.md | 0
docs/zh_CN/catalog/build-consumer.html | 1198 +++++++++++++++
.../en_US => docs/zh_CN}/catalog/build-consumer.md | 0
docs/zh_CN/catalog/build-provider.html | 1198 +++++++++++++++
.../en_US => docs/zh_CN}/catalog/build-provider.md | 0
.../en_US => docs/zh_CN}/catalog/data-conform.md | 0
docs/zh_CN/catalog/general-develop.html | 1198 +++++++++++++++
.../zh_CN}/catalog/general-develop.md | 0
docs/zh_CN/catalog/open-service.html | 1198 +++++++++++++++
.../en_US => docs/zh_CN}/catalog/open-service.md | 0
.../en_US => docs/zh_CN}/catalog/securety.md | 0
docs/zh_CN/catalog/security.html | 1198 +++++++++++++++
.../en_US => docs/zh_CN}/catalog/security.md | 0
docs/zh_CN/catalog/service-package-run.html | 1198 +++++++++++++++
.../zh_CN}/catalog/service-package-run.md | 0
docs/zh_CN/catalog/start.html | 1199 +++++++++++++++
{docs-source/en_US => docs/zh_CN}/catalog/start.md | 0
.../en_US => docs/zh_CN}/catalog/use-tool.md | 0
docs/zh_CN/edge/by-servicecomb-sdk.html | 1368 ++++++++++++++++++
.../zh_CN}/edge/by-servicecomb-sdk.md | 0
.../en_US => docs/zh_CN}/edge/edge-service.md | 0
docs/zh_CN/edge/nginx.html | 1268 ++++++++++++++++
{docs-source/en_US => docs/zh_CN}/edge/nginx.md | 0
docs/zh_CN/edge/secret-field.html | 1263 ++++++++++++++++
.../en_US => docs/zh_CN}/edge/secret-field.md | 0
docs/zh_CN/edge/zuul.html | 1306 +++++++++++++++++
{docs-source/en_US => docs/zh_CN}/edge/zuul.md | 0
.../en_US => docs/zh_CN}/featured-topics.md | 0
.../zh_CN}/general-development/QPS.md | 0
.../general-development/customized-tracing.html | 1280 ++++++++++++++++
.../general-development/customized-tracing.md | 0
docs/zh_CN/general-development/dai-li-she-zhi.html | 1220 ++++++++++++++++
.../zh_CN}/general-development/dai-li-she-zhi.md | 0
...ing-zhi-xu-lie-hua-he-fan-xu-lie-hua-fang-fa.md | 0
docs/zh_CN/general-development/dnsconfig.html | 1255 ++++++++++++++++
.../zh_CN}/general-development/dnsconfig.md | 0
docs/zh_CN/general-development/file-download.html | 1291 +++++++++++++++++
.../zh_CN}/general-development/file-download.md | 0
docs/zh_CN/general-development/file-upload.html | 1294 +++++++++++++++++
.../zh_CN}/general-development/file-upload.md | 0
.../zh_CN}/general-development/gated-launch.md | 0
docs/zh_CN/general-development/http-filter.html | 1261 ++++++++++++++++
.../zh_CN}/general-development/http-filter.md | 0
.../kuang-jia-shang-bao-ban-ben-hao.md | 0
.../general-development/local-develop-test.html | 1307 +++++++++++++++++
.../general-development/local-develop-test.md | 0
docs/zh_CN/general-development/metrics.html | 1386 ++++++++++++++++++
.../zh_CN}/general-development/metrics.md | 0
.../microservice-invocation-chain.html | 1238 ++++++++++++++++
.../microservice-invocation-chain.md | 0
docs/zh_CN/general-development/reactive.html | 1332 +++++++++++++++++
.../zh_CN}/general-development/reactive.md | 0
.../report-framework-version.html | 1237 ++++++++++++++++
.../report-framework-version.md | 0
.../zh_CN}/general-development/types.md | 0
docs/zh_CN/general-development/visit-sc.html | 1255 ++++++++++++++++
.../zh_CN}/general-development/visit-sc.md | 0
docs/zh_CN/index.html | 1199 +++++++++++++++
docs/zh_CN/packaging/standalone.html | 1218 ++++++++++++++++
.../en_US => docs/zh_CN}/packaging/standalone.md | 0
docs/zh_CN/packaging/web-container.html | 1207 ++++++++++++++++
.../zh_CN}/packaging/web-container.md | 0
.../interface-compatibility.html | 1220 ++++++++++++++++
.../question-and-answer/interface-compatibility.md | 0
.../zh_CN/question-and-answer/question_answer.html | 1389 ++++++++++++++++++
.../zh_CN}/question-and-answer/question_answer.md | 0
.../service-center-error-diagnosis.md | 0
docs/zh_CN/search_index.json | 1 +
.../en_US => docs/zh_CN}/security/http2.md | 0
docs/zh_CN/security/shi-yong-rsa-ren-zheng.html | 1236 ++++++++++++++++
.../zh_CN}/security/shi-yong-rsa-ren-zheng.md | 0
docs/zh_CN/security/tls.html | 1424 ++++++++++++++++++
{docs-source/en_US => docs/zh_CN}/security/tls.md | 0
.../zh_CN}/security/tls/shi-yong-rsa-ren-zheng.md | 0
.../zh_CN}/start/ServiceComb-logo-1.png | Bin
docs/zh_CN/start/architecture.html | 1271 ++++++++++++++++
.../en_US => docs/zh_CN}/start/architecture.md | 0
.../en_US => docs/zh_CN}/start/architecture.png | Bin
{docs-source/en_US => docs/zh_CN}/start/boot.png | Bin
.../zh_CN}/start/deployment-on-cloud.md | 0
.../en_US => docs/zh_CN}/start/develop-test.png | Bin
docs/zh_CN/start/development-environment.html | 1249 ++++++++++++++++
.../zh_CN}/start/development-environment.md | 0
docs/zh_CN/start/first-sample.html | 1216 ++++++++++++++++
.../en_US => docs/zh_CN}/start/first-sample.md | 0
docs/zh_CN/start/terminology.html | 1307 +++++++++++++++++
.../en_US => docs/zh_CN}/start/terminology.md | 0
.../en_US => docs/zh_CN}/start/thread-model.png | Bin
docs/zh_CN/using-java-chassis-in-spring-boot.html | 1226 ++++++++++++++++
.../components-for-spring-boot.html | 1219 ++++++++++++++++
.../components-for-spring-boot.md | 0
.../diff-between-java-web.html | 1199 +++++++++++++++
.../diff-between-java-web.md | 0
.../diff-spring-mvc.html | 1352 +++++++++++++++++
.../diff-spring-mvc.md | 0
.../java-application.html | 1256 ++++++++++++++++
.../java-application.md | 0
.../spring-mvcmo-shi-de-cha-yi.md | 0
.../web-application.html | 1233 ++++++++++++++++
.../web-application.md | 0
{docs-source/zh_CN => en_US}/.gitignore | 0
{docs-source/zh_CN => en_US}/README.md | 0
{docs-source/zh_CN => en_US}/SUMMARY.md | 0
{docs-source/zh_CN => en_US}/assets/Versions.png | Bin
{docs-source/zh_CN => en_US}/assets/deployment.png | Bin
{docs-source/zh_CN => en_US}/assets/env.PNG | Bin
.../assets/metrics/logicDiagram.png | Bin
{docs-source/zh_CN => en_US}/assets/reactive.png | Bin
.../zh_CN => en_US}/assets/reactive/nestedSync.png | Bin
.../zh_CN => en_US}/assets/reactive/normalSync.png | Bin
.../assets/reactive/pureReactive.png | Bin
.../assets/reactive/wrongSyncOptimization.png | Bin
{docs-source/zh_CN => en_US}/assets/sc-meta.png | Bin
.../assets/spring-cloud-integration-001.png | Bin
.../assets/spring-cloud-integration-002.png | Bin
.../assets/spring-cloud-integration-003.png | Bin
.../assets/spring-cloud-integration-004.png | Bin
.../assets/spring-cloud-integration-005.png | Bin
.../assets/spring-cloud-integration-006.png | Bin
.../assets/spring-cloud-integration-007.png | Bin
.../zh_CN => en_US}/assets/spring-cloud.png | Bin
{docs-source/zh_CN => en_US}/assets/threadPool.png | Bin
.../using-java-chassis-in-spring-boot-001.png | Bin
.../using-java-chassis-in-spring-boot-002.png | Bin
{docs-source/zh_CN => en_US}/assets/workFlow.png | Bin
{docs-source/en_US => en_US}/book.json | 0
.../build-consumer/circuit-breaker.md | 0
.../zh_CN => en_US}/build-consumer/code-first.md | 0
.../build-consumer/develop-consumer-using-rpc.md | 0
.../build-consumer/diao-yong-kong-zhi.md | 0
.../build-consumer/fault-injection.md | 0
.../zh_CN => en_US}/build-consumer/flow-control.md | 0
.../build-consumer/instance-isolation.md | 0
.../build-consumer/invoke-control.md | 0
.../build-consumer/using-resttemplate.md | 0
.../build-consumer/with-contract.md | 0
.../build-provider/access-log-configuration.md | 0
.../zh_CN => en_US}/build-provider/bootup.md | 0
.../zh_CN => en_US}/build-provider/code-first.md | 0
.../configuration/downgrade-strategy.md | 0
.../build-provider/configuration/lb-strategy.md | 0
.../configuration/parameter-validator.md | 0
.../configuration/ratelimite-strategy.md | 0
.../build-provider/define-contract.md | 0
.../build-provider/definition/heartbeats.md | 0
.../definition/isolate-relationship.md | 0
.../definition/service-definition.md | 0
.../build-provider/interface-constraints.md | 0
.../zh_CN => en_US}/build-provider/jaxrs.md | 0
.../listen-address-and-publish-address.md | 0
.../zh_CN => en_US}/build-provider/protocol.md | 0
.../build-provider/protocol/highway-rpc.md | 0
.../build-provider/protocol/rest-over-servlet.md | 0
.../build-provider/protocol/rest-over-vertx.md | 0
.../build-provider/protocol/thread-model.md | 0
.../build-provider/service-configuration.md | 0
.../zh_CN => en_US}/build-provider/springmvc.md | 0
.../build-provider/swagger-annotation.md | 0
.../build-provider/transparent-rpc.md | 0
.../zh_CN => en_US}/catalog/build-consumer.md | 0
.../zh_CN => en_US}/catalog/build-provider.md | 0
.../zh_CN => en_US}/catalog/data-conform.md | 0
.../zh_CN => en_US}/catalog/general-develop.md | 0
.../zh_CN => en_US}/catalog/open-service.md | 0
{docs-source/zh_CN => en_US}/catalog/securety.md | 0
{docs-source/zh_CN => en_US}/catalog/security.md | 0
.../zh_CN => en_US}/catalog/service-package-run.md | 0
{docs-source/zh_CN => en_US}/catalog/start.md | 0
{docs-source/zh_CN => en_US}/catalog/use-tool.md | 0
.../zh_CN => en_US}/edge/by-servicecomb-sdk.md | 0
{docs-source/zh_CN => en_US}/edge/edge-service.md | 0
{docs-source/zh_CN => en_US}/edge/nginx.md | 0
{docs-source/zh_CN => en_US}/edge/secret-field.md | 0
{docs-source/zh_CN => en_US}/edge/zuul.md | 0
{docs-source/zh_CN => en_US}/featured-topics.md | 0
.../zh_CN => en_US}/general-development/QPS.md | 0
.../general-development/customized-tracing.md | 0
.../general-development/dai-li-she-zhi.md | 0
...ing-zhi-xu-lie-hua-he-fan-xu-lie-hua-fang-fa.md | 0
.../general-development/dnsconfig.md | 0
.../general-development/file-download.md | 0
.../general-development/file-upload.md | 0
.../general-development/gated-launch.md | 0
.../general-development/http-filter.md | 0
.../kuang-jia-shang-bao-ban-ben-hao.md | 0
.../general-development/local-develop-test.md | 0
.../zh_CN => en_US}/general-development/metrics.md | 0
.../microservice-invocation-chain.md | 0
.../general-development/reactive.md | 0
.../report-framework-version.md | 0
.../zh_CN => en_US}/general-development/types.md | 0
.../general-development/visit-sc.md | 0
{docs-source/zh_CN => en_US}/introduction.md | 0
.../zh_CN => en_US}/packaging/standalone.md | 0
.../zh_CN => en_US}/packaging/web-container.md | 0
.../question-and-answer/interface-compatibility.md | 0
.../question-and-answer/question_answer.md | 0
.../service-center-error-diagnosis.md | 0
{docs-source/zh_CN => en_US}/security/http2.md | 0
.../security/shi-yong-rsa-ren-zheng.md | 0
{docs-source/zh_CN => en_US}/security/tls.md | 0
.../security/tls/shi-yong-rsa-ren-zheng.md | 0
.../zh_CN => en_US}/start/ServiceComb-logo-1.png | Bin
{docs-source/zh_CN => en_US}/start/architecture.md | 0
.../zh_CN => en_US}/start/architecture.png | Bin
{docs-source/zh_CN => en_US}/start/boot.png | Bin
.../zh_CN => en_US}/start/deployment-on-cloud.md | 0
.../zh_CN => en_US}/start/develop-test.png | Bin
.../start/development-environment.md | 0
{docs-source/zh_CN => en_US}/start/first-sample.md | 0
{docs-source/zh_CN => en_US}/start/terminology.md | 0
.../zh_CN => en_US}/start/thread-model.png | Bin
.../using-java-chassis-in-spring-boot.md | 0
.../components-for-spring-boot.md | 0
.../diff-between-java-web.md | 0
.../diff-spring-mvc.md | 0
.../java-application.md | 0
.../spring-mvcmo-shi-de-cha-yi.md | 0
.../web-application.md | 0
{docs-source/zh_CN => zh_CN}/.gitignore | 0
{docs-source/zh_CN => zh_CN}/README.md | 0
{docs-source/en_US => zh_CN}/SUMMARY.md | 0
{docs-source/zh_CN => zh_CN}/assets/Versions.png | Bin
{docs-source/zh_CN => zh_CN}/assets/deployment.png | Bin
{docs-source/zh_CN => zh_CN}/assets/env.PNG | Bin
.../assets/metrics/logicDiagram.png | Bin
{docs-source/zh_CN => zh_CN}/assets/reactive.png | Bin
.../zh_CN => zh_CN}/assets/reactive/nestedSync.png | Bin
.../zh_CN => zh_CN}/assets/reactive/normalSync.png | Bin
.../assets/reactive/pureReactive.png | Bin
.../assets/reactive/wrongSyncOptimization.png | Bin
{docs-source/zh_CN => zh_CN}/assets/sc-meta.png | Bin
.../assets/spring-cloud-integration-001.png | Bin
.../assets/spring-cloud-integration-002.png | Bin
.../assets/spring-cloud-integration-003.png | Bin
.../assets/spring-cloud-integration-004.png | Bin
.../assets/spring-cloud-integration-005.png | Bin
.../assets/spring-cloud-integration-006.png | Bin
.../assets/spring-cloud-integration-007.png | Bin
.../zh_CN => zh_CN}/assets/spring-cloud.png | Bin
{docs-source/zh_CN => zh_CN}/assets/threadPool.png | Bin
.../using-java-chassis-in-spring-boot-001.png | Bin
.../using-java-chassis-in-spring-boot-002.png | Bin
{docs-source/zh_CN => zh_CN}/assets/workFlow.png | Bin
{docs-source => zh_CN}/book.json | 0
.../build-consumer/circuit-breaker.md | 0
.../zh_CN => zh_CN}/build-consumer/code-first.md | 0
.../build-consumer/develop-consumer-using-rpc.md | 0
.../build-consumer/diao-yong-kong-zhi.md | 0
.../build-consumer/fault-injection.md | 0
.../zh_CN => zh_CN}/build-consumer/flow-control.md | 0
.../build-consumer/instance-isolation.md | 0
.../build-consumer/invoke-control.md | 0
.../build-consumer/using-resttemplate.md | 0
.../build-consumer/with-contract.md | 0
.../build-provider/access-log-configuration.md | 0
.../zh_CN => zh_CN}/build-provider/bootup.md | 0
.../zh_CN => zh_CN}/build-provider/code-first.md | 0
.../configuration/downgrade-strategy.md | 0
.../build-provider/configuration/lb-strategy.md | 0
.../configuration/parameter-validator.md | 0
.../configuration/ratelimite-strategy.md | 0
.../build-provider/define-contract.md | 0
.../build-provider/definition/heartbeats.md | 0
.../definition/isolate-relationship.md | 0
.../definition/service-definition.md | 0
.../build-provider/interface-constraints.md | 0
.../zh_CN => zh_CN}/build-provider/jaxrs.md | 0
.../listen-address-and-publish-address.md | 0
.../zh_CN => zh_CN}/build-provider/protocol.md | 0
.../build-provider/protocol/highway-rpc.md | 0
.../build-provider/protocol/rest-over-servlet.md | 0
.../build-provider/protocol/rest-over-vertx.md | 0
.../build-provider/protocol/thread-model.md | 0
.../build-provider/service-configuration.md | 0
.../zh_CN => zh_CN}/build-provider/springmvc.md | 0
.../build-provider/swagger-annotation.md | 0
.../build-provider/transparent-rpc.md | 0
.../zh_CN => zh_CN}/catalog/build-consumer.md | 0
.../zh_CN => zh_CN}/catalog/build-provider.md | 0
.../zh_CN => zh_CN}/catalog/data-conform.md | 0
.../zh_CN => zh_CN}/catalog/general-develop.md | 0
.../zh_CN => zh_CN}/catalog/open-service.md | 0
{docs-source/zh_CN => zh_CN}/catalog/securety.md | 0
{docs-source/zh_CN => zh_CN}/catalog/security.md | 0
.../zh_CN => zh_CN}/catalog/service-package-run.md | 0
{docs-source/zh_CN => zh_CN}/catalog/start.md | 0
{docs-source/zh_CN => zh_CN}/catalog/use-tool.md | 0
.../zh_CN => zh_CN}/edge/by-servicecomb-sdk.md | 0
{docs-source/zh_CN => zh_CN}/edge/edge-service.md | 0
{docs-source/zh_CN => zh_CN}/edge/nginx.md | 0
{docs-source/zh_CN => zh_CN}/edge/secret-field.md | 0
{docs-source/zh_CN => zh_CN}/edge/zuul.md | 0
{docs-source/zh_CN => zh_CN}/featured-topics.md | 0
.../zh_CN => zh_CN}/general-development/QPS.md | 0
.../general-development/customized-tracing.md | 0
.../general-development/dai-li-she-zhi.md | 0
...ing-zhi-xu-lie-hua-he-fan-xu-lie-hua-fang-fa.md | 0
.../general-development/dnsconfig.md | 0
.../general-development/file-download.md | 0
.../general-development/file-upload.md | 0
.../general-development/gated-launch.md | 0
.../general-development/http-filter.md | 0
.../kuang-jia-shang-bao-ban-ben-hao.md | 0
.../general-development/local-develop-test.md | 0
.../zh_CN => zh_CN}/general-development/metrics.md | 0
.../microservice-invocation-chain.md | 0
.../general-development/reactive.md | 0
.../report-framework-version.md | 0
.../zh_CN => zh_CN}/general-development/types.md | 0
.../general-development/visit-sc.md | 0
{docs-source/en_US => zh_CN}/introduction.md | 0
.../zh_CN => zh_CN}/packaging/standalone.md | 0
.../zh_CN => zh_CN}/packaging/web-container.md | 0
.../question-and-answer/interface-compatibility.md | 0
.../question-and-answer/question_answer.md | 0
.../service-center-error-diagnosis.md | 0
{docs-source/zh_CN => zh_CN}/security/http2.md | 0
.../security/shi-yong-rsa-ren-zheng.md | 0
{docs-source/zh_CN => zh_CN}/security/tls.md | 0
.../security/tls/shi-yong-rsa-ren-zheng.md | 0
.../zh_CN => zh_CN}/start/ServiceComb-logo-1.png | Bin
{docs-source/zh_CN => zh_CN}/start/architecture.md | 0
.../zh_CN => zh_CN}/start/architecture.png | Bin
{docs-source/zh_CN => zh_CN}/start/boot.png | Bin
.../zh_CN => zh_CN}/start/deployment-on-cloud.md | 0
.../zh_CN => zh_CN}/start/develop-test.png | Bin
.../start/development-environment.md | 0
{docs-source/zh_CN => zh_CN}/start/first-sample.md | 0
{docs-source/zh_CN => zh_CN}/start/terminology.md | 0
.../zh_CN => zh_CN}/start/thread-model.png | Bin
.../using-java-chassis-in-spring-boot.md | 0
.../components-for-spring-boot.md | 0
.../diff-between-java-web.md | 0
.../diff-spring-mvc.md | 0
.../java-application.md | 0
.../spring-mvcmo-shi-de-cha-yi.md | 0
.../web-application.md | 0
645 files changed, 180663 insertions(+)
diff --git a/docs-source/LANGS.md b/LANGS.md
similarity index 100%
rename from docs-source/LANGS.md
rename to LANGS.md
diff --git a/docs-source/zh_CN/book.json b/book.json
similarity index 100%
rename from docs-source/zh_CN/book.json
rename to book.json
diff --git a/docs/.github/PULL_REQUEST_TEMPLATE.md b/docs/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..0bcae50
--- /dev/null
+++ b/docs/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,10 @@
+Follow this checklist to help us incorporate your contribution quickly and easily:
+
+ - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
+ - [ ] Each commit in the pull request should have a meaningful subject line and body.
+ - [ ] Format the pull request title like `[SCB-XXX] Fixes bug in ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA issue.
+ - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
+ - [ ] Run `mvn clean install` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
+ - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
+
+---
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 0000000..67e5a7d
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,85 @@
+# Output Directory
+target/
+
+# C pre-compile
+*.gch
+*.pch
+
+# C compile
+*.a
+*.o
+*.ko
+*.la
+*.lo
+*.obj
+*.elf
+*.so
+*.so.*
+*.dylib
+*.exe
+*.lib
+*.dll
+*.out
+*.app
+*.hex
+
+# Debug files
+*.dSYM/
+
+# Java
+*.class
+
+# Java Package Files
+*.jar
+*.war
+*.ear
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+# Zip Files
+*.rar
+*.zip
+*.7z
+*.tar
+*.gz
+
+# Ant
+build/
+
+# Compiled Python
+__pycache__/
+*.py[cod]
+*py.class
+
+# Eclipse
+.settings/
+.classpath
+.project
+
+# IntelliJ, based on http://devnet.jetbrains.net/docs/DOC-1186
+.idea/
+*.iml
+*.ipr
+*.iws
+
+# logs and trace
+*.log
+*.trace
+*.dat
+
+# vi swap
+*.swp
+
+# Backup Files
+*.bak
+*.old
+
+# SVN metadata
+.svn/
+
+# Mac
+.DS_Store
+
+# gradle
+.gradle
diff --git a/docs/.travis.settings.xml b/docs/.travis.settings.xml
new file mode 100644
index 0000000..356dd99
--- /dev/null
+++ b/docs/.travis.settings.xml
@@ -0,0 +1,42 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+ <servers>
+ <server>
+ <id>apache.snapshots.https</id>
+ <username>${env.SONATYPE_USERNAME}</username>
+ <password>${env.SONATYPE_PASSWORD}</password>
+ </server>
+ <server>
+ <id>apache.releases.https</id>
+ <username>${env.SONATYPE_USERNAME}</username>
+ <password>${env.SONATYPE_PASSWORD}</password>
+ </server>
+ </servers>
+ <profiles>
+ <profile>
+ <id>passphrase</id> <!-- give it the name of your project -->
+ <properties>
+ <gpg.homedir>/home/travis/build/apache/incubator-servicecomb-java-chassis</gpg.homedir>
+ <gpg.keyname>2DE9D2F9</gpg.keyname>
+ <gpg.passphrase>${MYPASSP}</gpg.passphrase>
+ </properties>
+ </profile>
+ </profiles>
+</settings>
diff --git a/docs/.travis.yml b/docs/.travis.yml
new file mode 100644
index 0000000..bcad90f
--- /dev/null
+++ b/docs/.travis.yml
@@ -0,0 +1,15 @@
+sudo: required
+language: java
+services:
+- docker
+cache:
+ directories:
+ - "$HOME/.m2"
+install: true
+jobs:
+ include:
+ - stage: Compilation and Installation
+ script: scripts/travis.sh install
+ - stage: Deploy on
+ script: if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then bash scripts/travis.sh deploy;
+ fi
diff --git a/docs/DISCLAIMER b/docs/DISCLAIMER
new file mode 100644
index 0000000..fea9975
--- /dev/null
+++ b/docs/DISCLAIMER
@@ -0,0 +1 @@
+Apache ServiceComb(incubating)Java Chassis is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does i [...]
diff --git a/docs/LICENSE b/docs/LICENSE
new file mode 100644
index 0000000..c75dbb5
--- /dev/null
+++ b/docs/LICENSE
@@ -0,0 +1,230 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright {yyyy} {name of copyright owner}
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+=======================================================================
+Apache ServiceComb Java Chassis Subcomponents:
+
+The Apache ServiceComb Java Chassis project contains subcomponents with
+separate copyright notices and license terms. Your use of the source
+for these subcomponents is subject to the terms and conditions of the
+following licenses.
+
+
+================================================================
+For foundations/foundation-vertx/src/main/java/io/vertx/ext/web/impl/MimeTypesUtils.java
+transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/RestBodyHandler.java
+================================================================
+This product bundles files from vertx which is licensed under the Apache License v2.
+For details, see https://github.com/vert-x3/vertx-web
+
+
+================================================================
+For swagger/swagger-generator/generator-core/src/main/java/org/apache/servicecomb/swagger/extend/property/AbstractBaseIntegerProperty.java
+================================================================
+This product bundles files from swagger which is licensed under the Apache License v2.
+For details, see https://github.com/swagger-api/swagger-core
+
+================================================================
+For handlers/handler-bizkeeper/src/main/java/org/apache/servicecomb/bizkeeper/HystrixCommandPropertiesExt.java
+================================================================
+This product bundles files from Hystrix which is licensed under the Apache License v2.
+For details, see https://github.com/Netflix/Hystrix
diff --git a/docs/NOTICE b/docs/NOTICE
new file mode 100644
index 0000000..03549d5
--- /dev/null
+++ b/docs/NOTICE
@@ -0,0 +1,5 @@
+Apache ServiceComb Java Chassis
+Copyright 2017-2018 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 0000000..f29b1eb
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,74 @@
+# Java Chassis
+[](https://travis-ci.org/apache/incubator-servicecomb-java-chassis?branch=master) [](https://coveralls.io/github/apache/incubator-servicecomb-java-chassis?branch=master) [ Java Chassis is a Software Development Kit (SDK) for rapid development of microservices in Java, providing service registration, service discovery, dynamic routing, and service management features
+
+## Quick Start
+
+Provider service:
+```java
+import org.apache.servicecomb.*;
+@RpcSchema(schemaId = "helloworld")
+public class HelloWorldProvider implements HelloWorld {
+ public String sayHello(String name) {
+ return "Hello " + name;
+ }
+}
+```
+
+Consumer service:
+```java
+import org.apache.servicecomb.*;
+@Component
+public class HelloWorldConsumer {
+ @RpcReference(microserviceName = "pojo", schemaId = "helloworld")
+ private static HelloWorld helloWorld;
+
+ public static void main(String[] args) {
+ helloWorld.sayHello("Tank");
+ }
+}
+```
+
+## Documentation
+
+Project documentation is available on the [ServiceComb website][servicecomb-website].
+
+[servicecomb-website]: http://servicecomb.incubator.apache.org/
+
+## Building
+
+You don’t need to build from source to use Java Chassis (binaries in apache nexus ), but if you want to try out the latest and greatest, Java Chassis can be easily built with the maven. You also need JDK 1.8.
+
+ mvn clean install
+
+If you want to build the release kits from the source
+
+ mvn clean install -Prelease,distribution
+
+The first build may take a longer than expected as Maven downloads all the dependencies.
+
+## Automated Testing
+
+ To build the docker image and run the integration tests with docker, you can use maven docker profile
+
+ mvn clean install -Pdocker -Pit
+
+ If you are using docker machine, please use the following command
+
+ mvn clean install -Pdocker -Pit -Pdocker-machine
+
+## Contact
+
+Bugs: [issues](https://issues.apache.org/jira/browse/SCB)
+
+mailing list: [subscribe](mailto:dev-subscribe@servicecomb.incubator.apache.org) [dev](https://lists.apache.org/list.html?dev@servicecomb.apache.org)
+
+
+## Contributing
+
+See CONTRIBUTING for details on submitting patches and the contribution workflow.
+
+## Reporting Issues
+
+See reporting bugs for details about reporting any issues.
diff --git a/docs-source/zh_CN/.gitignore b/docs/en_US/.gitignore
similarity index 100%
copy from docs-source/zh_CN/.gitignore
copy to docs/en_US/.gitignore
diff --git a/docs-source/zh_CN/README.md b/docs/en_US/README.md
similarity index 100%
copy from docs-source/zh_CN/README.md
copy to docs/en_US/README.md
diff --git a/docs-source/zh_CN/assets/Versions.png b/docs/en_US/assets/Versions.png
similarity index 100%
copy from docs-source/zh_CN/assets/Versions.png
copy to docs/en_US/assets/Versions.png
diff --git a/docs-source/zh_CN/assets/deployment.png b/docs/en_US/assets/deployment.png
similarity index 100%
copy from docs-source/zh_CN/assets/deployment.png
copy to docs/en_US/assets/deployment.png
diff --git a/docs-source/zh_CN/assets/env.PNG b/docs/en_US/assets/env.PNG
similarity index 100%
copy from docs-source/zh_CN/assets/env.PNG
copy to docs/en_US/assets/env.PNG
diff --git a/docs-source/zh_CN/assets/metrics/logicDiagram.png b/docs/en_US/assets/metrics/logicDiagram.png
similarity index 100%
copy from docs-source/zh_CN/assets/metrics/logicDiagram.png
copy to docs/en_US/assets/metrics/logicDiagram.png
diff --git a/docs-source/zh_CN/assets/reactive.png b/docs/en_US/assets/reactive.png
similarity index 100%
copy from docs-source/zh_CN/assets/reactive.png
copy to docs/en_US/assets/reactive.png
diff --git a/docs-source/zh_CN/assets/reactive/nestedSync.png b/docs/en_US/assets/reactive/nestedSync.png
similarity index 100%
copy from docs-source/zh_CN/assets/reactive/nestedSync.png
copy to docs/en_US/assets/reactive/nestedSync.png
diff --git a/docs-source/zh_CN/assets/reactive/normalSync.png b/docs/en_US/assets/reactive/normalSync.png
similarity index 100%
copy from docs-source/zh_CN/assets/reactive/normalSync.png
copy to docs/en_US/assets/reactive/normalSync.png
diff --git a/docs-source/zh_CN/assets/reactive/pureReactive.png b/docs/en_US/assets/reactive/pureReactive.png
similarity index 100%
copy from docs-source/zh_CN/assets/reactive/pureReactive.png
copy to docs/en_US/assets/reactive/pureReactive.png
diff --git a/docs-source/zh_CN/assets/reactive/wrongSyncOptimization.png b/docs/en_US/assets/reactive/wrongSyncOptimization.png
similarity index 100%
copy from docs-source/zh_CN/assets/reactive/wrongSyncOptimization.png
copy to docs/en_US/assets/reactive/wrongSyncOptimization.png
diff --git a/docs-source/zh_CN/assets/sc-meta.png b/docs/en_US/assets/sc-meta.png
similarity index 100%
copy from docs-source/zh_CN/assets/sc-meta.png
copy to docs/en_US/assets/sc-meta.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-001.png b/docs/en_US/assets/spring-cloud-integration-001.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-001.png
copy to docs/en_US/assets/spring-cloud-integration-001.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-002.png b/docs/en_US/assets/spring-cloud-integration-002.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-002.png
copy to docs/en_US/assets/spring-cloud-integration-002.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-003.png b/docs/en_US/assets/spring-cloud-integration-003.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-003.png
copy to docs/en_US/assets/spring-cloud-integration-003.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-004.png b/docs/en_US/assets/spring-cloud-integration-004.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-004.png
copy to docs/en_US/assets/spring-cloud-integration-004.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-005.png b/docs/en_US/assets/spring-cloud-integration-005.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-005.png
copy to docs/en_US/assets/spring-cloud-integration-005.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-006.png b/docs/en_US/assets/spring-cloud-integration-006.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-006.png
copy to docs/en_US/assets/spring-cloud-integration-006.png
diff --git a/docs-source/zh_CN/assets/spring-cloud-integration-007.png b/docs/en_US/assets/spring-cloud-integration-007.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud-integration-007.png
copy to docs/en_US/assets/spring-cloud-integration-007.png
diff --git a/docs-source/zh_CN/assets/spring-cloud.png b/docs/en_US/assets/spring-cloud.png
similarity index 100%
copy from docs-source/zh_CN/assets/spring-cloud.png
copy to docs/en_US/assets/spring-cloud.png
diff --git a/docs-source/zh_CN/assets/threadPool.png b/docs/en_US/assets/threadPool.png
similarity index 100%
copy from docs-source/zh_CN/assets/threadPool.png
copy to docs/en_US/assets/threadPool.png
diff --git a/docs-source/zh_CN/assets/using-java-chassis-in-spring-boot-001.png b/docs/en_US/assets/using-java-chassis-in-spring-boot-001.png
similarity index 100%
copy from docs-source/zh_CN/assets/using-java-chassis-in-spring-boot-001.png
copy to docs/en_US/assets/using-java-chassis-in-spring-boot-001.png
diff --git a/docs-source/zh_CN/assets/using-java-chassis-in-spring-boot-002.png b/docs/en_US/assets/using-java-chassis-in-spring-boot-002.png
similarity index 100%
copy from docs-source/zh_CN/assets/using-java-chassis-in-spring-boot-002.png
copy to docs/en_US/assets/using-java-chassis-in-spring-boot-002.png
diff --git a/docs-source/zh_CN/assets/workFlow.png b/docs/en_US/assets/workFlow.png
similarity index 100%
copy from docs-source/zh_CN/assets/workFlow.png
copy to docs/en_US/assets/workFlow.png
diff --git a/docs/en_US/build-consumer/circuit-breaker.html b/docs/en_US/build-consumer/circuit-breaker.html
new file mode 100644
index 0000000..745fb96
--- /dev/null
+++ b/docs/en_US/build-consumer/circuit-breaker.html
@@ -0,0 +1,1202 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>熔断策略 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="flow-control.html" />
+
+
+ <link rel="prev" href="instance-isolation.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter active" data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >熔断策略</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+ <h2 id="场景描述">场景描述</h2>
+<p>熔断策略是对ServiceComb熔断功能的设置,用户通过配置熔断策略可以指定在何种条件下ServiceComb框架将终止发送请求。</p>
+<h2 id="配置说明">配置说明</h2>
+<p>熔断作为异常反应机制是降级策略的一部分,相关概念还有隔离和容错。三者的关系以及配置方式参见<a href="../build-provider/configuration/downgrade-strategy.html">降级策略</a>。</p>
+
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+
+ </div>
+
+
+
+ <a href="instance-isolation.html" class="navigation navigation-prev " aria-label="Previous page: 实例级故障隔离">
+ <i class="fa fa-angle-left"></i>
+ </a>
+
+
+ <a href="flow-control.html" class="navigation navigation-next " aria-label="Next page: 限流策略">
+ <i class="fa fa-angle-right"></i>
+ </a>
+
+
+
+ </div>
+
+ <script>
+ var gitbook = gitbook || [];
+ gitbook.push(function() {
+ gitbook.page.hasChanged({"page":{"title":"熔断策略","level":"1.4.4.2","depth":3,"next":{"title":"限流策略","level":"1.4.4.3","depth":3,"path":"build-consumer/flow-control.md","ref":"build-consumer/flow-control.md","articles":[]},"previous":{"title":"实例级故障隔离","level":"1.4.4.1","depth":3,"path":"build-consumer/instance-isolation.md","ref":"build-consumer/instance-isolation.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf. [...]
+ });
+ </script>
+</div>
+
+
+ <script src="../../gitbook/gitbook.js"></script>
+ <script src="../../gitbook/theme.js"></script>
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
+
+
+
+ </body>
+</html>
+
diff --git a/docs-source/zh_CN/build-consumer/circuit-breaker.md b/docs/en_US/build-consumer/circuit-breaker.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/circuit-breaker.md
copy to docs/en_US/build-consumer/circuit-breaker.md
diff --git a/docs-source/zh_CN/build-consumer/code-first.md b/docs/en_US/build-consumer/code-first.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/code-first.md
copy to docs/en_US/build-consumer/code-first.md
diff --git a/docs/en_US/build-consumer/develop-consumer-using-rpc.html b/docs/en_US/build-consumer/develop-consumer-using-rpc.html
new file mode 100644
index 0000000..31c4379
--- /dev/null
+++ b/docs/en_US/build-consumer/develop-consumer-using-rpc.html
@@ -0,0 +1,1222 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>使用RPC方式开发服务消费者 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="with-contract.html" />
+
+
+ <link rel="prev" href="using-resttemplate.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter active" data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >使用RPC方式开发服务消费者</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+ <h2 id="概念阐述">概念阐述</h2>
+<p>RPC开发方式允许用户通过在服务接口上标注注解来生成服务提供者代理,从而进行服务的调用。</p>
+<h2 id="示例代码">示例代码</h2>
+<p>只需要声明一个服务接口类型的成员,并且使用@RpcReference标注该成员,声明依赖的微服务及schemaId,即可进行服务调用,示例代码如下:</p>
+<pre><code class="lang-java"><span class="hljs-meta">@Component</span>
+<span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">CodeFirstConsumerMain</span> </span>{
+ <span class="hljs-meta">@RpcReference</span>(microserviceName = <span class="hljs-string">"codefirst"</span>, schemaId = <span class="hljs-string">"codeFirstHello"</span>)
+ <span class="hljs-keyword">private</span> <span class="hljs-keyword">static</span> Hello hello;
+
+ <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> Exception </span>{
+ init();
+ System.out.println(hello.sayHi(<span class="hljs-string">"Java Chassis"</span>));
+ Person person = <span class="hljs-keyword">new</span> Person();
+ person.setName(<span class="hljs-string">"ServiceComb/Java Chassis"</span>);
+ System.out.println(hello.sayHello(person));
+ }
+
+ <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">init</span><span class="hljs-params">()</span> <span class="hljs-keyword">throws</span> Exception </span>{
+ Log4jUtils.init();
+ BeanUtils.init();
+ }
+}
+</code></pre>
+<p>在以上代码中,服务消费者已经取得了服务提供者的服务接口<code>Hello</code>,并在代码中声明一个<code>Hello</code>类型的成员。通过在<code>hello</code>上使用<code>@RPCReference</code>注解& [...]
+
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+
+ </div>
+
+
+
+ <a href="using-resttemplate.html" class="navigation navigation-prev " aria-label="Previous page: 使用RestTemplate开发服务消费者">
+ <i class="fa fa-angle-left"></i>
+ </a>
+
+
+ <a href="with-contract.html" class="navigation navigation-next " aria-label="Next page: 使用服务契约">
+ <i class="fa fa-angle-right"></i>
+ </a>
+
+
+
+ </div>
+
+ <script>
+ var gitbook = gitbook || [];
+ gitbook.push(function() {
+ gitbook.page.hasChanged({"page":{"title":"使用RPC方式开发服务消费者","level":"1.4.2","depth":2,"next":{"title":"使用服务契约","level":"1.4.3","depth":2,"path":"build-consumer/with-contract.md","ref":"build-consumer/with-contract.md","articles":[]},"previous":{"title":"使用RestTemplate开发服务消费者","level":"1.4.1","depth":2,"path":"build-consumer/using-resttemplate.md","ref":"build-consumer/using-resttemplate.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.c [...]
+ });
+ </script>
+</div>
+
+
+ <script src="../../gitbook/gitbook.js"></script>
+ <script src="../../gitbook/theme.js"></script>
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
+
+
+
+ </body>
+</html>
+
diff --git a/docs-source/zh_CN/build-consumer/develop-consumer-using-rpc.md b/docs/en_US/build-consumer/develop-consumer-using-rpc.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/develop-consumer-using-rpc.md
copy to docs/en_US/build-consumer/develop-consumer-using-rpc.md
diff --git a/docs-source/zh_CN/build-consumer/diao-yong-kong-zhi.md b/docs/en_US/build-consumer/diao-yong-kong-zhi.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/diao-yong-kong-zhi.md
copy to docs/en_US/build-consumer/diao-yong-kong-zhi.md
diff --git a/docs/en_US/build-consumer/fault-injection.html b/docs/en_US/build-consumer/fault-injection.html
new file mode 100644
index 0000000..25b7ccf
--- /dev/null
+++ b/docs/en_US/build-consumer/fault-injection.html
@@ -0,0 +1,1350 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>故障注入 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="../catalog/general-develop.html" />
+
+
+ <link rel="prev" href="flow-control.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter active" data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >故障注入</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+ <h2 id="场景描述">场景描述</h2>
+<p>用户在consumer端使用故障注入,可以设置发往指定微服务的请求的时延和错误及其触发概率。</p>
+<h2 id="注意事项">注意事项</h2>
+<p>延迟注入请求的延迟时间统一为毫秒级别</p>
+<h2 id="配置说明">配置说明</h2>
+<p>故障注入配置在microservice.yaml文件中,相关配置项见下表。要开启服务消费者端的故障注入,还需要在处理链中配置消费端故障注入handler,配置示例如& [...]
+<pre><code class="lang-yaml"><span class="hljs-attr">servicecomb:</span>
+<span class="hljs-attr"> handler:</span>
+<span class="hljs-attr"> chain:</span>
+<span class="hljs-attr"> Consumer:</span>
+<span class="hljs-attr"> default:</span> loadbalance,fault-injection-consumer
+</code></pre>
+<p>故障注入配置项说明</p>
+<p>[scope]代表故障注入的生效范围,可配置值包括全局配置_global,或指定微服务的服务名[ServiceName]。</p>
+<p>[protocol]代表使用的通信协议,可配置值包括rest或highway。</p>
+<table>
+<thead>
+<tr>
+<th style="text-align:left">配置项</th>
+<th style="text-align:left">默认值</th>
+<th style="text-align:left">取值范围</th>
+<th style="text-align:left">是否必选</th>
+<th style="text-align:left">含义</th>
+<th style="text-align:left">注意</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[scope].policy.fault.protocols.[protocol].delay.fixedDelay</td>
+<td style="text-align:left">无</td>
+<td style="text-align:left">(0,9223372036854775807],长整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送延迟注入请求的延迟时间</td>
+<td style="text-align:left">目前时间单位是毫秒</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[scope].policy.fault.protocols.[protocol].delay.percent</td>
+<td style="text-align:left">100</td>
+<td style="text-align:left">(0,100],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送延迟注入请求的触发概率</td>
+<td style="text-align:left"></td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].policy.fault.protocols.[protocol].delay.fixedDelay</td>
+<td style="text-align:left">无</td>
+<td style="text-align:left">(0,9223372036854775807],长整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应schema的延迟注入请求的延迟时间</td>
+<td style="text-align:left">支持schema级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].policy.fault.protocols.[protocol].delay.percent</td>
+<td style="text-align:left">100</td>
+<td style="text-align:left">(0,100],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应schema的延迟注入请求的触发概率</td>
+<td style="text-align:left">支持schema级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].operations.[operation].policy.fault.protocols.[protocol].delay.fixedDelay</td>
+<td style="text-align:left">无</td>
+<td style="text-align:left">(0,9223372036854775807],长整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应operation的延迟注入请求的延迟时间</td>
+<td style="text-align:left">支持operation级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].operations.[operation].policy.fault.protocols.[protocol].delay.percent</td>
+<td style="text-align:left">100</td>
+<td style="text-align:left">(0,100],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应operation的延迟注入请求的触发概率</td>
+<td style="text-align:left">支持operation级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[scope].policy.fault.protocols.[protocol].abort.httpStatus</td>
+<td style="text-align:left">无</td>
+<td style="text-align:left">(100,999],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送错误注入请求的http错误码</td>
+<td style="text-align:left"></td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[scope].policy.fault.protocols.[protocol].abort.percent</td>
+<td style="text-align:left">100</td>
+<td style="text-align:left">(0,100],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送错误注入请求的触发概率</td>
+<td style="text-align:left"></td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].policy.fault.protocols.[protocol].abort.httpStatus</td>
+<td style="text-align:left">无</td>
+<td style="text-align:left">(100,999],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应schema的错误注入请求的http错误码</td>
+<td style="text-align:left">支持schema级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].policy.fault.protocols.[protocol].abort.percent</td>
+<td style="text-align:left">100</td>
+<td style="text-align:left">(0,100],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应schema的错误注入请求的触发概率</td>
+<td style="text-align:left">支持schema级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].operations.[operation].policy.fault.protocols.[protocol].abort.httpStatus</td>
+<td style="text-align:left">无</td>
+<td style="text-align:left">(100,999],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应operation的错误注入请求的http错误码</td>
+<td style="text-align:left">支持operation级别的配置</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.governance.Consumer.[ServiceName].schemas.[schema].operations.[operation].policy.fault.protocols.[protocol].abort.percent</td>
+<td style="text-align:left">100</td>
+<td style="text-align:left">(0,100],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">Consumer端发送到对应operation的错误注入请求的触发概率</td>
+<td style="text-align:left">支持operation级别的配置</td>
+</tr>
+</tbody>
+</table>
+<h2 id="示例代码">示例代码</h2>
+<pre><code>servicecomb:
+ governance:
+ Consumer:
+ _global:
+ policy:
+ fault:
+ protocols:
+ rest:
+ delay:
+ fixedDelay: 5000
+ percent: 10
+</code></pre><pre><code>servicecomb:
+ governance:
+ Consumer:
+ ServerFaultTest:
+ schemas:
+ schema:
+ operations:
+ operation:
+ policy:
+ fault:
+ protocols:
+ rest:
+ abort:
+ httpStatus: 421
+ percent: 100
+</code></pre>
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+
+ </div>
+
+
+
+ <a href="flow-control.html" class="navigation navigation-prev " aria-label="Previous page: 限流策略">
+ <i class="fa fa-angle-left"></i>
+ </a>
+
+
+ <a href="../catalog/general-develop.html" class="navigation navigation-next " aria-label="Next page: 通用开发">
+ <i class="fa fa-angle-right"></i>
+ </a>
+
+
+
+ </div>
+
+ <script>
+ var gitbook = gitbook || [];
+ gitbook.push(function() {
+ gitbook.page.hasChanged({"page":{"title":"故障注入","level":"1.4.4.4","depth":3,"next":{"title":"通用开发","level":"1.5","depth":1,"path":"catalog/general-develop.md","ref":"catalog/general-develop.md","articles":[{"title":"应用性能监控","level":"1.5.1","depth":2,"path":"general-development/metrics.md","ref":"general-development/metrics.md","articles":[]},{"title":"微服务调用链","level":"1.5.2","depth":2,"path":"general-development/microservice-invocation-chain.md","ref":"general-development/mic [...]
+ });
+ </script>
+</div>
+
+
+ <script src="../../gitbook/gitbook.js"></script>
+ <script src="../../gitbook/theme.js"></script>
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
+
+
+
+ </body>
+</html>
+
diff --git a/docs-source/zh_CN/build-consumer/fault-injection.md b/docs/en_US/build-consumer/fault-injection.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/fault-injection.md
copy to docs/en_US/build-consumer/fault-injection.md
diff --git a/docs/en_US/build-consumer/flow-control.html b/docs/en_US/build-consumer/flow-control.html
new file mode 100644
index 0000000..432614a
--- /dev/null
+++ b/docs/en_US/build-consumer/flow-control.html
@@ -0,0 +1,1241 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>限流策略 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="fault-injection.html" />
+
+
+ <link rel="prev" href="circuit-breaker.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter active" data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >限流策略</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+ <h2 id="场景描述">场景描述</h2>
+<p>用户在consumer端使用限流策略,可以限制发往指定微服务的请求的频率。</p>
+<h2 id="注意事项">注意事项</h2>
+<p>参考3.7.2-限流策略。</p>
+<h2 id="配置说明">配置说明</h2>
+<p>限流策略配置在microservice.yaml文件中,相关配置项见下表。要开启服务消费者端的限流策略,还需要在处理链中配置消费端限流handler,配置示例如下:</p>
+<pre><code class="lang-yaml"><span class="hljs-attr">servicecomb:</span>
+<span class="hljs-attr"> handler:</span>
+<span class="hljs-attr"> chain:</span>
+<span class="hljs-attr"> Consumer:</span>
+<span class="hljs-attr"> default:</span> qps-flowcontrol-consumer
+</code></pre>
+<p>QPS流控配置项说明</p>
+<table>
+<thead>
+<tr>
+<th style="text-align:left">配置项</th>
+<th style="text-align:left">默认值</th>
+<th style="text-align:left">取值范围</th>
+<th style="text-align:left">是否必选</th>
+<th style="text-align:left">含义</th>
+<th style="text-align:left">注意</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td style="text-align:left">servicecomb.flowcontrol.Consumer.qps.enabled</td>
+<td style="text-align:left">true</td>
+<td style="text-align:left">Boolean</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">是否启用Consumer流控</td>
+<td style="text-align:left">-</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.flowcontrol.Consumer.qps.limit.[ServiceName].[Schema].[operation]</td>
+<td style="text-align:left">2147483647 (max int)</td>
+<td style="text-align:left">(0,2147483647],整形</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">每秒钟允许的请求数</td>
+<td style="text-align:left">支持microservice、schema、operation三个级别的配置</td>
+</tr>
+</tbody>
+</table>
+
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+
+ </div>
+
+
+
+ <a href="circuit-breaker.html" class="navigation navigation-prev " aria-label="Previous page: 熔断策略">
+ <i class="fa fa-angle-left"></i>
+ </a>
+
+
+ <a href="fault-injection.html" class="navigation navigation-next " aria-label="Next page: 故障注入">
+ <i class="fa fa-angle-right"></i>
+ </a>
+
+
+
+ </div>
+
+ <script>
+ var gitbook = gitbook || [];
+ gitbook.push(function() {
+ gitbook.page.hasChanged({"page":{"title":"限流策略","level":"1.4.4.3","depth":3,"next":{"title":"故障注入","level":"1.4.4.4","depth":3,"path":"build-consumer/fault-injection.md","ref":"build-consumer/fault-injection.md","articles":[]},"previous":{"title":"熔断策略","level":"1.4.4.2","depth":3,"path":"build-consumer/circuit-breaker.md","ref":"build-consumer/circuit-breaker.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css [...]
+ });
+ </script>
+</div>
+
+
+ <script src="../../gitbook/gitbook.js"></script>
+ <script src="../../gitbook/theme.js"></script>
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
+
+
+
+ </body>
+</html>
+
diff --git a/docs-source/zh_CN/build-consumer/flow-control.md b/docs/en_US/build-consumer/flow-control.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/flow-control.md
copy to docs/en_US/build-consumer/flow-control.md
diff --git a/docs/en_US/build-consumer/instance-isolation.html b/docs/en_US/build-consumer/instance-isolation.html
new file mode 100644
index 0000000..5913b67
--- /dev/null
+++ b/docs/en_US/build-consumer/instance-isolation.html
@@ -0,0 +1,1267 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>实例级故障隔离 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="circuit-breaker.html" />
+
+
+ <link rel="prev" href="invoke-control.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter active" data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >实例级故障隔离</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+ <h2 id="场景描述">场景描述</h2>
+<p>实例级故障隔离功能允许在微服务的部分实例调用失败时,停止向故障实例发送请求,从而达到隔离故障实例的功能。</p>
+<h2 id="配置说明">配置说明</h2>
+<p>实例级故障隔离功能集成在负载均衡功能中,负载均衡策略的配置见<a href="../build-provider/configuration/lb-strategy.html">负载均衡策略</a>。负载均衡策略中,与实例级故障隔离&# [...]
+<table>
+<thead>
+<tr>
+<th style="text-align:left">配置项</th>
+<th style="text-align:left">默认值</th>
+<th style="text-align:left">取值范围</th>
+<th style="text-align:left">是否必选</th>
+<th style="text-align:left">含义</th>
+<th style="text-align:left">注意</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td style="text-align:left">servicecomb.loadbalance.isolation.enabled</td>
+<td style="text-align:left">false</td>
+<td style="text-align:left">Boolean</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">是否开启故障实例隔离功能</td>
+<td style="text-align:left">-</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.loadbalance.isolation.continuousFailureThreshold</td>
+<td style="text-align:left">-</td>
+<td style="text-align:left">Integer</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">当请求实例连续出错达到此阈值时触发实例隔离</td>
+<td style="text-align:left">若配置了此项则覆盖实例故障百分比的配置,否则按照实例故障百分比触发隔离。<br>由于按请求错误率触发实例隔离在请求次数较多 [...]
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.loadbalance.isolation.enableRequestThreshold</td>
+<td style="text-align:left">20</td>
+<td style="text-align:left">Integer</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">当实例的调用总次数达到该值时开始进入隔离逻辑门槛</td>
+<td style="text-align:left">-</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.loadbalance.isolation.errorThresholdPercentage</td>
+<td style="text-align:left">20</td>
+<td style="text-align:left">Integer,区间为(0,100]</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">实例故障隔离错误百分比</td>
+<td style="text-align:left">-</td>
+</tr>
+<tr>
+<td style="text-align:left">servicecomb.loadbalance.isolation.singleTestTime</td>
+<td style="text-align:left">10000</td>
+<td style="text-align:left">Integer</td>
+<td style="text-align:left">否</td>
+<td style="text-align:left">故障实例单点测试时间</td>
+<td style="text-align:left">-</td>
+</tr>
+</tbody>
+</table>
+<h2 id="示例代码">示例代码</h2>
+<pre><code class="lang-yaml"><span class="hljs-attr">servicecomb:</span>
+ <span class="hljs-comment"># other configuration omitted</span>
+<span class="hljs-attr"> loadbalance:</span>
+<span class="hljs-attr"> isolation:</span>
+<span class="hljs-attr"> enabled:</span> <span class="hljs-literal">true</span>
+<span class="hljs-attr"> singleTestTime:</span> <span class="hljs-number">5000</span>
+<span class="hljs-attr"> continuousFailureThreshold:</span> <span class="hljs-number">5</span> <span class="hljs-comment"># 调用某实例连续5次出错则隔离此实例</span>
+<span class="hljs-attr"> strategy:</span>
+<span class="hljs-attr"> name:</span> RoundRobin
+</code></pre>
+
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+
+ </div>
+
+
+
+ <a href="invoke-control.html" class="navigation navigation-prev " aria-label="Previous page: 调用控制">
+ <i class="fa fa-angle-left"></i>
+ </a>
+
+
+ <a href="circuit-breaker.html" class="navigation navigation-next " aria-label="Next page: 熔断策略">
+ <i class="fa fa-angle-right"></i>
+ </a>
+
+
+
+ </div>
+
+ <script>
+ var gitbook = gitbook || [];
+ gitbook.push(function() {
+ gitbook.page.hasChanged({"page":{"title":"实例级故障隔离","level":"1.4.4.1","depth":3,"next":{"title":"熔断策略","level":"1.4.4.2","depth":3,"path":"build-consumer/circuit-breaker.md","ref":"build-consumer/circuit-breaker.md","articles":[]},"previous":{"title":"调用控制","level":"1.4.4","depth":2,"path":"build-consumer/invoke-control.md","ref":"build-consumer/invoke-control.md","articles":[{"title":"实例级故障隔离","level":"1.4.4.1","depth":3,"path":"build-consumer/instance-isolation.md","ref":"bu [...]
+ });
+ </script>
+</div>
+
+
+ <script src="../../gitbook/gitbook.js"></script>
+ <script src="../../gitbook/theme.js"></script>
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
+
+
+
+ </body>
+</html>
+
diff --git a/docs-source/zh_CN/build-consumer/instance-isolation.md b/docs/en_US/build-consumer/instance-isolation.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/instance-isolation.md
copy to docs/en_US/build-consumer/instance-isolation.md
diff --git a/docs/en_US/build-consumer/invoke-control.html b/docs/en_US/build-consumer/invoke-control.html
new file mode 100644
index 0000000..fc5f545
--- /dev/null
+++ b/docs/en_US/build-consumer/invoke-control.html
@@ -0,0 +1,1198 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>调用控制 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="instance-isolation.html" />
+
+
+ <link rel="prev" href="with-contract.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter active" data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >调用控制</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+
+ </div>
+
+
+
+ <a href="with-contract.html" class="navigation navigation-prev " aria-label="Previous page: 使用服务契约">
+ <i class="fa fa-angle-left"></i>
+ </a>
+
+
+ <a href="instance-isolation.html" class="navigation navigation-next " aria-label="Next page: 实例级故障隔离">
+ <i class="fa fa-angle-right"></i>
+ </a>
+
+
+
+ </div>
+
+ <script>
+ var gitbook = gitbook || [];
+ gitbook.push(function() {
+ gitbook.page.hasChanged({"page":{"title":"调用控制","level":"1.4.4","depth":2,"next":{"title":"实例级故障隔离","level":"1.4.4.1","depth":3,"path":"build-consumer/instance-isolation.md","ref":"build-consumer/instance-isolation.md","articles":[]},"previous":{"title":"使用服务契约","level":"1.4.3","depth":2,"path":"build-consumer/with-contract.md","ref":"build-consumer/with-contract.md","articles":[]},"dir":"neutral"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/ [...]
+ });
+ </script>
+</div>
+
+
+ <script src="../../gitbook/gitbook.js"></script>
+ <script src="../../gitbook/theme.js"></script>
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
+
+
+
+ <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
+
+
+
+ </body>
+</html>
+
diff --git a/docs-source/zh_CN/build-consumer/invoke-control.md b/docs/en_US/build-consumer/invoke-control.md
similarity index 100%
copy from docs-source/zh_CN/build-consumer/invoke-control.md
copy to docs/en_US/build-consumer/invoke-control.md
diff --git a/docs/en_US/build-consumer/using-resttemplate.html b/docs/en_US/build-consumer/using-resttemplate.html
new file mode 100644
index 0000000..10086bf
--- /dev/null
+++ b/docs/en_US/build-consumer/using-resttemplate.html
@@ -0,0 +1,1233 @@
+
+<!DOCTYPE HTML>
+<html lang="en_US" >
+ <head>
+ <meta charset="UTF-8">
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <title>使用RestTemplate开发服务消费者 · GitBook</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="description" content="">
+ <meta name="generator" content="GitBook 3.2.3">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/style.css">
+
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
+
+
+
+ <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
+ <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
+
+
+ <link rel="next" href="develop-consumer-using-rpc.html" />
+
+
+ <link rel="prev" href="../catalog/build-consumer.html" />
+
+
+ </head>
+ <body>
+
+<div class="book">
+ <div class="book-summary">
+
+
+<div id="book-search-input" role="search">
+ <input type="text" placeholder="Type to search" />
+</div>
+
+
+ <nav role="navigation">
+
+
+
+<ul class="summary">
+
+
+
+
+
+
+
+
+
+ <li class="chapter " data-level="1.1" data-path="../">
+
+ <a href="../">
+
+
+ 概述
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2" data-path="../catalog/start.html">
+
+ <a href="../catalog/start.html">
+
+
+ 入门
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.2.1" data-path="../start/terminology.html">
+
+ <a href="../start/terminology.html">
+
+
+ 术语表
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.2" data-path="../start/architecture.html">
+
+ <a href="../start/architecture.html">
+
+
+ 微服务系统架构
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.3" data-path="../start/development-environment.html">
+
+ <a href="../start/development-environment.html">
+
+
+ 安装本地开发环境
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.2.4" data-path="../start/first-sample.html">
+
+ <a href="../start/first-sample.html">
+
+
+ 开发第一个微服务
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3" data-path="../catalog/build-provider.html">
+
+ <a href="../catalog/build-provider.html">
+
+
+ 开发服务提供者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.1" data-path="../build-provider/definition/service-definition.html">
+
+ <a href="../build-provider/definition/service-definition.html">
+
+
+ 服务定义
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.2" data-path="../build-provider/define-contract.html">
+
+ <a href="../build-provider/define-contract.html">
+
+
+ 定义服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.3" data-path="../build-provider/code-first.html">
+
+ <a href="../build-provider/code-first.html">
+
+
+ 使用隐式契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.4" data-path="../build-provider/swagger-annotation.html">
+
+ <a href="../build-provider/swagger-annotation.html">
+
+
+ 使用Swagger注解
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.5" data-path="../build-provider/springmvc.html">
+
+ <a href="../build-provider/springmvc.html">
+
+
+ 用SpringMVC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.6" data-path="../build-provider/jaxrs.html">
+
+ <a href="../build-provider/jaxrs.html">
+
+
+ 用JAX-RS开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.7" data-path="../build-provider/transparent-rpc.html">
+
+ <a href="../build-provider/transparent-rpc.html">
+
+
+ 用透明RPC开发微服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.8" data-path="../build-provider/listen-address-and-publish-address.html">
+
+ <a href="../build-provider/listen-address-and-publish-address.html">
+
+
+ 服务监听地址和发布地址
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.9" data-path="../build-provider/interface-constraints.html">
+
+ <a href="../build-provider/interface-constraints.html">
+
+
+ 支持的数据类型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10" data-path="../build-provider/service-configuration.html">
+
+ <a href="../build-provider/service-configuration.html">
+
+
+ 服务配置
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.10.1" data-path="../build-provider/configuration/lb-strategy.html">
+
+ <a href="../build-provider/configuration/lb-strategy.html">
+
+
+ 负载均衡策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.2" data-path="../build-provider/configuration/ratelimite-strategy.html">
+
+ <a href="../build-provider/configuration/ratelimite-strategy.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.3" data-path="../build-provider/configuration/downgrade-strategy.html">
+
+ <a href="../build-provider/configuration/downgrade-strategy.html">
+
+
+ 降级策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.10.4" data-path="../build-provider/configuration/parameter-validator.html">
+
+ <a href="../build-provider/configuration/parameter-validator.html">
+
+
+ 参数效验
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11" data-path="../build-provider/protocol.html">
+
+ <a href="../build-provider/protocol.html">
+
+
+ 通信协议
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.3.11.1" data-path="../build-provider/protocol/thread-model.html">
+
+ <a href="../build-provider/protocol/thread-model.html">
+
+
+ 线程模型
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.2" data-path="../build-provider/protocol/rest-over-servlet.html">
+
+ <a href="../build-provider/protocol/rest-over-servlet.html">
+
+
+ REST over Servlet
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.3" data-path="../build-provider/protocol/rest-over-vertx.html">
+
+ <a href="../build-provider/protocol/rest-over-vertx.html">
+
+
+ REST over Vertx
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.11.4" data-path="../build-provider/protocol/highway-rpc.html">
+
+ <a href="../build-provider/protocol/highway-rpc.html">
+
+
+ Highway RPC协议
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.3.12" data-path="../build-provider/bootup.html">
+
+ <a href="../build-provider/bootup.html">
+
+
+ 程序启动逻辑
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.13" data-path="../build-provider/definition/isolate-relationship.html">
+
+ <a href="../build-provider/definition/isolate-relationship.html">
+
+
+ 微服务实例之间的逻辑隔离关系
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.3.14" data-path="../build-provider/access-log-configuration.html">
+
+ <a href="../build-provider/access-log-configuration.html">
+
+
+ Access Log配置
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.4" data-path="../catalog/build-consumer.html">
+
+ <a href="../catalog/build-consumer.html">
+
+
+ 开发服务消费者
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter active" data-level="1.4.1" data-path="using-resttemplate.html">
+
+ <a href="using-resttemplate.html">
+
+
+ 使用RestTemplate开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.2" data-path="develop-consumer-using-rpc.html">
+
+ <a href="develop-consumer-using-rpc.html">
+
+
+ 使用RPC方式开发服务消费者
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.3" data-path="with-contract.html">
+
+ <a href="with-contract.html">
+
+
+ 使用服务契约
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4" data-path="invoke-control.html">
+
+ <a href="invoke-control.html">
+
+
+ 调用控制
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.4.4.1" data-path="instance-isolation.html">
+
+ <a href="instance-isolation.html">
+
+
+ 实例级故障隔离
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.2" data-path="circuit-breaker.html">
+
+ <a href="circuit-breaker.html">
+
+
+ 熔断策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.3" data-path="flow-control.html">
+
+ <a href="flow-control.html">
+
+
+ 限流策略
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.4.4.4" data-path="fault-injection.html">
+
+ <a href="fault-injection.html">
+
+
+ 故障注入
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.5" data-path="../catalog/general-develop.html">
+
+ <a href="../catalog/general-develop.html">
+
+
+ 通用开发
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.5.1" data-path="../general-development/metrics.html">
+
+ <a href="../general-development/metrics.html">
+
+
+ 应用性能监控
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.2" data-path="../general-development/microservice-invocation-chain.html">
+
+ <a href="../general-development/microservice-invocation-chain.html">
+
+
+ 微服务调用链
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.3" data-path="../general-development/customized-tracing.html">
+
+ <a href="../general-development/customized-tracing.html">
+
+
+ 自定义调用链打点
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.4" data-path="../general-development/local-develop-test.html">
+
+ <a href="../general-development/local-develop-test.html">
+
+
+ 本地开发和测试
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.5" data-path="../general-development/visit-sc.html">
+
+ <a href="../general-development/visit-sc.html">
+
+
+ 访问服务中心
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.6" data-path="../general-development/http-filter.html">
+
+ <a href="../general-development/http-filter.html">
+
+
+ Http Filter
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.7" data-path="../general-development/file-upload.html">
+
+ <a href="../general-development/file-upload.html">
+
+
+ 文件上传
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.8" data-path="../general-development/file-download.html">
+
+ <a href="../general-development/file-download.html">
+
+
+ 文件下载
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.9" data-path="../general-development/reactive.html">
+
+ <a href="../general-development/reactive.html">
+
+
+ Reactive
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.10" data-path="../general-development/dnsconfig.html">
+
+ <a href="../general-development/dnsconfig.html">
+
+
+ DNS自定义配置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.11" data-path="../general-development/dai-li-she-zhi.html">
+
+ <a href="../general-development/dai-li-she-zhi.html">
+
+
+ 代理设置
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.5.12" data-path="../general-development/report-framework-version.html">
+
+ <a href="../general-development/report-framework-version.html">
+
+
+ 框架上报版本号
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.6" data-path="../catalog/open-service.html">
+
+ <a href="../catalog/open-service.html">
+
+
+ 服务能力开放
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.6.1" data-path="../edge/nginx.html">
+
+ <a href="../edge/nginx.html">
+
+
+ 使用confd和Nginx做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.2" data-path="../edge/zuul.html">
+
+ <a href="../edge/zuul.html">
+
+
+ 使用zuul做边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.3" data-path="../edge/by-servicecomb-sdk.html">
+
+ <a href="../edge/by-servicecomb-sdk.html">
+
+
+ 使用ServiceComb SDK开发边缘服务
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.6.4" data-path="../edge/secret-field.html">
+
+ <a href="../edge/secret-field.html">
+
+
+ 定制序列化和反序列化方法
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.7" data-path="../catalog/service-package-run.html">
+
+ <a href="../catalog/service-package-run.html">
+
+
+ 服务打包和运行
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.7.1" data-path="../packaging/standalone.html">
+
+ <a href="../packaging/standalone.html">
+
+
+ 以standalone模式打包
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.7.2" data-path="../packaging/web-container.html">
+
+ <a href="../packaging/web-container.html">
+
+
+ 以WEB容器模式打包
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.8" data-path="../catalog/security.html">
+
+ <a href="../catalog/security.html">
+
+
+ 微服务安全
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.8.1" data-path="../security/tls.html">
+
+ <a href="../security/tls.html">
+
+
+ 使用TLS通信
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.8.2" data-path="../security/shi-yong-rsa-ren-zheng.html">
+
+ <a href="../security/shi-yong-rsa-ren-zheng.html">
+
+
+ 使用RSA认证
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.9" data-path="../using-java-chassis-in-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot.html">
+
+
+ 在Spring Boot中使用java chassis
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.9.1" data-path="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+ <a href="../using-java-chassis-in-spring-boot/components-for-spring-boot.html">
+
+
+ 提供的组件说明
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.2" data-path="../using-java-chassis-in-spring-boot/java-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/java-application.html">
+
+
+ JAVA应用方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.3" data-path="../using-java-chassis-in-spring-boot/web-application.html">
+
+ <a href="../using-java-chassis-in-spring-boot/web-application.html">
+
+
+ Web开发方式开发步骤
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.4" data-path="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-between-java-web.html">
+
+
+ JAVA应用方式和Web开发方式的区别
+
+ </a>
+
+
+
+ </li>
+
+ <li class="chapter " data-level="1.9.5" data-path="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+ <a href="../using-java-chassis-in-spring-boot/diff-spring-mvc.html">
+
+
+ Spring MVC模式的差异
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+ <li class="chapter " data-level="1.10" data-path="../question-and-answer/question_answer.html">
+
+ <a href="../question-and-answer/question_answer.html">
+
+
+ 常见问题
+
+ </a>
+
+
+
+ <ul class="articles">
+
+
+ <li class="chapter " data-level="1.10.1" data-path="../question-and-answer/interface-compatibility.html">
+
+ <a href="../question-and-answer/interface-compatibility.html">
+
+
+ 微服务接口兼容常见问题
+
+ </a>
+
+
+
+ </li>
+
+
+ </ul>
+
+ </li>
+
+
+
+
+ <li class="divider"></li>
+
+ <li>
+ <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
+ Published with GitBook
+ </a>
+ </li>
+</ul>
+
+
+ </nav>
+
+
+ </div>
+
+ <div class="book-body">
+
+ <div class="body-inner">
+
+
+
+<div class="book-header" role="navigation">
+
+
+ <!-- Title -->
+ <h1>
+ <i class="fa fa-circle-o-notch fa-spin"></i>
+ <a href=".." >使用RestTemplate开发服务消费者</a>
+ </h1>
+</div>
+
+
+
+
+ <div class="page-wrapper" tabindex="-1" role="main">
+ <div class="page-inner">
+
+<div id="book-search-results">
+ <div class="search-noresults">
+
+ <section class="normal markdown-section">
+
+ <h2 id="概念阐述">概念阐述</h2>
+<p>RestTemplate是Spring提供的RESTful访问接口,ServiceComb提供该接口的实现类用于服务的调用。</p>
+<h2 id="场景描述">场景描述</h2>
+<p>用户使用ServiceComb提供的RestTemplate实例,可以使用自定义的URL进行服务调用,而不用关心服务的具体地址。</p>
+<h2 id="示例代码">示例代码</h2>
+<p>RestTemplate实例通过调用<code>RestTemplateBuilder.create()</code>方法获取,再使用该实例通过自定义的URL进行服务调用,代码如下:</p>
+<pre><code class="lang-java"><span class="hljs-meta">@Component</span>
+<span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">SpringmvcConsumerMain</span> </span>{
+ <span class="hljs-keyword">private</span> <span class="hljs-keyword">static</span> RestTemplate restTemplate = RestTemplateBuilder.create();
+
+ <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> Exception </span>{
+ init();
+ Person person = <span class="hljs-keyword">new</span> Person();
+ person.setName(<span class="hljs-string">"ServiceComb/Java Chassis"</span>);
+ String sayHiResult = restTemplate
+ .postForObject(<span class="hljs-string">"cse://springmvc/springmvchello/sayhi?name=Java Chassis"</span>, <span class="hljs-keyword">null</span>, String.class);
+ String sayHelloResult = restTemplate
+ .postForObject(<span class="hljs-string">"cse://springmvc/springmvchello/sayhello"</span>, person, String.class);
+ System.out.println(<span class="hljs-string">"RestTemplate consumer sayhi services: "</span> + sayHiResult);
+ System.out.println(<span class="hljs-string">"RestTemplate consumer sayhello services: "</span> + sayHelloResult);
+ }
+
+ <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">init</span><span class="hljs-params">()</span> <span class="hljs-keyword">throws</span> Exception </span>{
+ Log4jUtils.init();
+ BeanUtils.init();
+ }
+}
+</code></pre>
+<blockquote>
+<p>说明:</p>
+<ul>
+<li>URL格式为:<code>cse://microserviceName/path?querystring</code>。以<a href="../用SpringMVC开发微服务">用SpringMVC开发微服务</a>中定义的服务提供者为例,其微服务名称是springmvc,basePath是<code>/springmvchello</code>,那么URL中v [...]
+<li>使用这种URL格式,ServiceComb框架会在内部进行服务发现、熔断容错等处理并最终将请求发送到服务提供者。</li>
+</ul>
+</blockquote>
+
+
+ </section>
+
+ </div>
+ <div class="search-results">
+ <div class="has-results">
+
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
+ <ul class="search-results-list"></ul>
+
+ </div>
+ <div class="no-results">
+
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
+
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
... 174244 lines suppressed ...
--
To stop receiving notification emails like this one, please contact
liubao@apache.org.