Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
225 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ chapter = true | |
|
||
## 导览 | ||
|
||
提供注册中心、配置动态化、数据库熔断禁用、调用链路等治理能力。 | ||
编排治理模块提供配置中心/注册中心(以及规划中的元数据中心)、配置动态化、数据库熔断禁用、调用链路等治理能力。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...eatures/orchestration/orchestration.cn.md → ...tures/orchestration/registry-center.cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
docs/document/content/features/orchestration/supported-center-repo.cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
+++ | ||
pre = "<b>3.3.3. </b>" | ||
toc = true | ||
title = "支持的配置中心/注册中心" | ||
weight = 3 | ||
+++ | ||
|
||
## SPI | ||
|
||
[Service Provider Interface (SPI)](https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html)是一种为了被第三方实现或扩展的API。它可以用于实现框架扩展或组件替换。 | ||
|
||
ShardingSphere在数据库治理模块使用SPI方式载入数据到配置中心/注册中心,进行实例熔断和数据库禁用。 | ||
目前,ShardingSphere内部支持Zookeeper和etcd这种常用的配置中心/注册中心。 | ||
此外,您可以使用其他第三方配置中心/注册中心,并通过SPI的方式注入到ShardingSphere,从而使用该配置中心/注册中心,实现数据库治理功能。 | ||
|
||
## Zookeeper | ||
|
||
ShardingSphere官方使用[Apache Curator](http://curator.apache.org/)作为Zookeeper的实现方案(支持配置中心和注册中心)。 | ||
请使用Zookeeper 3.4.6及其以上版本,详情请参见[官方网站](https://zookeeper.apache.org/)。 | ||
|
||
## Etcd | ||
|
||
ShardingSphere官方使用[io.etcd/jetcd](https://github.com/etcd-io/jetcd)作为Etcd的实现方案(支持配置中心和注册中心)。 | ||
请使用Etcd v3以上版本,详情请参见[官方网站](https://etcd.io/)。 | ||
|
||
## Apollo | ||
|
||
ShardingSphere官方使用[Apollo Client](https://github.com/ctripcorp/apollo)作为Apollo的实现方案(支持配置中心)。 | ||
请使用Apollo Client 1.5.0及其以上版本,详情请参见[官方网站](https://github.com/ctripcorp/apollo)。 | ||
|
||
## Nacos | ||
|
||
ShardingSphere官方使用[Nacos Client](https://nacos.io/zh-cn/docs/sdk.html)作为Nacos的实现方案(支持配置中心)。 | ||
请使用Nacos Client 1.0.0及其以上版本,详情请参见[官方网站](https://nacos.io/zh-cn/docs/sdk.html)。 | ||
|
||
## 其他 | ||
|
||
使用SPI方式自行实现相关逻辑编码。 |
33 changes: 33 additions & 0 deletions
33
docs/document/content/features/orchestration/supported-center-repo.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
+++ | ||
pre = "<b>3.3.3. </b>" | ||
toc = true | ||
title = "Available Config Center/Registry Center" | ||
weight = 3 | ||
+++ | ||
|
||
## SPI | ||
|
||
[Service Provider Interface (SPI)](https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html) is a kind of API that aims to be implemented or extended by the third party. | ||
It can be used to realize framework extension or component replacement. | ||
|
||
ShardingSphere uses SPI to load data to the config center/registry center and disable instances and databases. Currently, ShardingSphere supports frequently used registry centers, Zookeeper and Etcd. In addition, by injecting them to ShardingSphere with SPI, users can use other third-party config/registry centers to enable databases orchestration. | ||
|
||
## Zookeeper | ||
|
||
ShardingSphere adopts [Apache Curator](http://curator.apache.org/) to enable Zookeeper(support config center®istry center). Please use Zookeeper 3.4.6 and above, see the [official website](https://zookeeper.apache.org/) for details. | ||
|
||
## Etcd | ||
|
||
ShardingSphere adopts [io.etcd/jetcd](https://github.com/etcd-io/jetcd) to enable Etcd(support config center®istry center). Please use Etcd v3 and above, see the [official website](https://etcd.io/) for details. | ||
|
||
## Apollo | ||
|
||
ShardingSphere adopts [Apollo Client](https://github.com/ctripcorp/apollo) to enable Apollo(support config center). Please use Apollo Client 1.5.0 and above, see the [official website](https://github.com/ctripcorp/apollo) for details. | ||
|
||
## Nacos | ||
|
||
ShardingSphere adopts [Nacos Client](https://nacos.io/en-us/docs/sdk.html) to enable Nacos(support config center). Please use Nacos Client 1.0.0 and above, see the [official website](https://nacos.io/en-us/docs/sdk.html) for details. | ||
|
||
## Others | ||
|
||
Use SPI to realize relevant logic coding. |
28 changes: 0 additions & 28 deletions
28
docs/document/content/features/orchestration/supported-registry-repo.cn.md
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
docs/document/content/features/orchestration/supported-registry-repo.en.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.