This is an automated email from the ASF dual-hosted git repository.

jimin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 2d9e1b9a6f optimize: registry.conf supplemented raft configuration 
(#6578)
2d9e1b9a6f is described below

commit 2d9e1b9a6ffa1e30a4b4cd1de085003c7002fbe4
Author: funkye <jian...@apache.org>
AuthorDate: Fri May 24 17:18:22 2024 +0800

    optimize: registry.conf supplemented raft configuration (#6578)
---
 changes/en-us/2.x.md             | 1 +
 changes/zh-cn/2.x.md             | 1 +
 script/client/conf/registry.conf | 7 +++++--
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 0fc6002982..6e14f34cc8 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -142,6 +142,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#6549](https://github.com/apache/incubator-seata/pull/6549)] macos 
workflow support arm testing
 - [[#6558](https://github.com/apache/incubator-seata/pull/6558)] remove 
mysql-connector-java from pom.xml
 - [[#6570](https://github.com/apache/incubator-seata/pull/6570)] add notice 
file to binary
+- [[#6578](https://github.com/apache/incubator-seata/pull/6578)] registry.conf 
supplemented raft configuration
 - [[#6576](https://github.com/apache/incubator-seata/pull/6576)] remove oracle 
datatype parser
 
 ### security:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index d88c572ca6..f5d1467212 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -141,6 +141,7 @@
 - [[#6549](https://github.com/apache/incubator-seata/pull/6549)] 支持macos 
arm架构单测
 - [[#6558](https://github.com/apache/incubator-seata/pull/6558)] 移除 
mysql-connector-java 依赖
 - [[#6570](https://github.com/apache/incubator-seata/pull/6570)] 添加 notice 文件
+- [[#6578](https://github.com/apache/incubator-seata/pull/6578)] registry.conf 
补充raft配置
 - [[#6576](https://github.com/apache/incubator-seata/pull/6576)] 移除 oracle 
数据类型序列化扩展
 
 ### security:
diff --git a/script/client/conf/registry.conf b/script/client/conf/registry.conf
index 7bfb4c02b1..4a5329b488 100644
--- a/script/client/conf/registry.conf
+++ b/script/client/conf/registry.conf
@@ -87,8 +87,11 @@ config {
   # file、nacos 、apollo、zk、consul、etcd3、springCloudConfig、custom
   type = "file"
   raft {
-    metadata-max-age-ms = 30000
-    serverAddr = "127.0.0.1:8848"
+    metadataAaxAgeMs = 30000
+    serverAddr = "127.0.0.1:7091"
+    username= "seata"
+    password= "seata"
+    tokenValidityInMilliseconds= "1740000"
   }
   nacos {
     serverAddr = "127.0.0.1:8848"


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to