This is an automated email from the ASF dual-hosted git repository.
jianbin 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 3e93fa04f6 optimize: add comments to the namingserver address
configuration (#7909)
3e93fa04f6 is described below
commit 3e93fa04f6692af4d9ff6df972ee950ed52d4e32
Author: 徐博 洪 <[email protected]>
AuthorDate: Tue Dec 30 17:42:29 2025 +0800
optimize: add comments to the namingserver address configuration (#7909)
---
changes/en-us/2.x.md | 1 +
changes/zh-cn/2.x.md | 2 +-
namingserver/src/main/resources/application.yml | 13 +++++++++----
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 2732870487..122d0ee009 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -107,6 +107,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#7885](https://github.com/apache/incubator-seata/pull/7885)] replace fury
with fory
- [[#7884](https://github.com/apache/incubator-seata/pull/7884)] upgrade
tomcat-embed-core version to 11.0.10
- [[#7894](https://github.com/apache/incubator-seata/pull/7894)] optimize
method and class names in the saga module
+- [[#7909](https://github.com/apache/incubator-seata/pull/7909)] add comments
to the namingserver address configuration in console application file
### security:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 1bad712a98..0f3ca8e17c 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -106,7 +106,7 @@
- [[#7885](https://github.com/apache/incubator-seata/pull/7885)] 替换 fury 至 fory
- [[#7884](https://github.com/apache/incubator-seata/pull/7884)] 将
tomcat-embed-core 版本升级到 11.0.10
- [[#7894](https://github.com/apache/incubator-seata/pull/7894)]
优化saga模块中的方法名和类名
-
+- [[#7909](https://github.com/apache/incubator-seata/pull/7909)]
在控制台配置文件中为namingserver地址配置添加注释
### security:
diff --git a/namingserver/src/main/resources/application.yml
b/namingserver/src/main/resources/application.yml
index b76b4638e5..e8ba1939c3 100644
--- a/namingserver/src/main/resources/application.yml
+++ b/namingserver/src/main/resources/application.yml
@@ -41,10 +41,15 @@ heartbeat:
threshold: 90000
period: 60000
console:
- namingserver:
- protocol: http
- addr:
- - 127.0.0.1:8081
+ # console username and password configuration
+ user:
+ username:
+ password:
+ # When the console is deployed independently, configure the namingserver
address
+# namingserver:
+# protocol: http
+# addr:
+# - 127.0.0.1:8081
seata:
security:
secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]