This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new c2f0ae1187 Add notifications for the change of Zookeeper version
support (#564)
c2f0ae1187 is described below
commit c2f0ae11870c4f4601e8ad3965d2f45b9bb21bfb
Author: Han Gao <[email protected]>
AuthorDate: Wed May 11 10:38:51 2022 +0800
Add notifications for the change of Zookeeper version support (#564)
---
docs/user-guide/register-center-access.md | 2 ++
docs/user-guide/register-center-instance.md | 4 +++-
docs/user-guide/use-data-sync.md | 3 ++-
.../current/user-guide/register-center-access.md | 2 ++
.../current/user-guide/register-center-instance.md | 4 +++-
.../current/user-guide/use-data-sync.md | 3 ++-
6 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/docs/user-guide/register-center-access.md
b/docs/user-guide/register-center-access.md
index 75a4322bcf..d99d54921a 100644
--- a/docs/user-guide/register-center-access.md
+++ b/docs/user-guide/register-center-access.md
@@ -64,6 +64,8 @@ shenyu:
### Zookeeper Registry Config
+> Please pay attention! From ShenYu 2.5.0, ShenYu will no longer support
Zookeeper 3.4.x or below version. If you're already using Zookeeper, You need
to use Zookeeper with a higher version and initialize the data.
+
#### shenyu-admin config
First add the related dependencies to the `pom` file (already added by
default) :
diff --git a/docs/user-guide/register-center-instance.md
b/docs/user-guide/register-center-instance.md
index 590abda8c2..00aedadfb7 100644
--- a/docs/user-guide/register-center-instance.md
+++ b/docs/user-guide/register-center-instance.md
@@ -22,6 +22,8 @@ First, introduce the following dependencies in the gateway's
`pom.xml` file.
### Use zookeeper
+> Please pay attention! From ShenYu 2.5.0, ShenYu will no longer support
Zookeeper 3.4.x or below version. If you're already using Zookeeper, You need
to use Zookeeper with a higher version and initialize the data.
+
Add the following configuration to the gateway's `yml` file:
```yaml
@@ -33,7 +35,7 @@ instance:
sessionTimeout: 3000 #Optional, default 3000
connectionTimeout: 3000 #Optional, default 3000
```
-
+
### Use etcd
Add the following configuration to the gateway's `yml` file:
diff --git a/docs/user-guide/use-data-sync.md b/docs/user-guide/use-data-sync.md
index 792b9ac40a..724e299f62 100644
--- a/docs/user-guide/use-data-sync.md
+++ b/docs/user-guide/use-data-sync.md
@@ -56,9 +56,10 @@ shenyu:
After the connection is established, the data will be fully obtained once, and
the subsequent data will be updated and added increments, with good
performance. It also supports disconnection (default: `30` seconds). This mode
is recommended for data synchronization and is the default data synchronization
strategy of ShenYu.
-
### Zookeeper Synchronization Config
+> Please pay attention! From ShenYu 2.5.0, ShenYu will no longer support
Zookeeper 3.4.x or below version. If you're already using Zookeeper, You need
to use Zookeeper with a higher version and initialize the data.
+
* `Apache ShenYu` gateway config
Add these dependencies in `pom.xml`:
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-access.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-access.md
index edce0ed1e5..05362f3fc8 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-access.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-access.md
@@ -63,6 +63,8 @@ shenyu:
### Zookeeper方式注册配置
+> 请注意,从 ShenYu 2.5.0 起将不再支持 Zookeeper 3.4.x 或更低版本。如果您已经使用了 Zookeeper 3.4.x
或更低的版本,您需要使用更高的 Zookeeper 版本并重新初始化数据。
+
#### shenyu-admin配置
* 首先在 `pom` 文件中加入相关的依赖(默认已经引入):
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-instance.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-instance.md
index 8c7d31b63c..5a13cf4b8e 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-instance.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/register-center-instance.md
@@ -21,6 +21,8 @@ description: 注册中心配置
### 使用zookeeper
+> 请注意,从 ShenYu 2.5.0 起将不再支持 Zookeeper 3.4.x 或更低版本。如果您已经使用了 Zookeeper 3.4.x
或更低的版本,您需要使用更高的 Zookeeper 版本并重新初始化数据。
+
在网关的 `yml` 文件中添加如下配置:
```yaml
@@ -32,7 +34,7 @@ instance:
sessionTimeout: 3000 #可选,默认3000
connectionTimeout: 3000 #可选,默认3000
```
-
+
### 使用etcd
在网关的 `yml` 文件中添加如下配置:
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/use-data-sync.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/use-data-sync.md
index 6a933ccb03..42aabcfc55 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/use-data-sync.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/use-data-sync.md
@@ -54,9 +54,10 @@ shenyu:
当建立连接以后会全量获取一次数据,以后的数据都是增量的更新与新增,性能好。而且也支持断线重连
(默认`30`秒)。推荐使用此方式进行数据同步,也是`Apache ShenYu`默认的数据同步策略。
-
### Zookeeper同步配置
+> 请注意,从 ShenYu 2.5.0 起将不再支持 Zookeeper 3.4.x 或更低版本。如果您已经使用了 Zookeeper 3.4.x
或更低的版本,您需要使用更高的 Zookeeper 版本并重新初始化数据。
+
* `Apache ShenYu`网关配置
首先在 `pom.xml` 文件中引入以下依赖: