This is an automated email from the ASF dual-hosted git repository. jimin pushed a commit to branch docusaurus in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git
The following commit(s) were added to refs/heads/docusaurus by this push: new efd8ed1c087 update nacos configuration center document (#978) efd8ed1c087 is described below commit efd8ed1c0870e125495e0c055449062abb164fe6 Author: xucq07 <99275967+xuc...@users.noreply.github.com> AuthorDate: Tue Jun 3 18:36:30 2025 +0800 update nacos configuration center document (#978) --- .../current/user/configuration/nacos.md | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configuration/nacos.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configuration/nacos.md index ffddf148117..ea4e5f7768c 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configuration/nacos.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configuration/nacos.md @@ -51,20 +51,20 @@ seata: ### Server 端配置中心 -在 [registry.conf](https://github.com/apache/incubator-seata/blob/develop/script/server/config/registry.conf) 中加入对应配置中心,其余[配置参考](https://github.com/apache/incubator-seata/tree/develop/script/server) +在 `conf/application.yaml`加入以下配置, 其余配置参考 [configuration options](https://github.com/apache/incubator-seata/blob/2.x/server/src/main/resources/application.example.yml): -``` -config { - type = "nacos" - - nacos { - serverAddr = "127.0.0.1:8848" - group = "SEATA_GROUP" - namespace = "" - username = "nacos" - password = "nacos" - } -} +```yaml +seata: + config: + type: nacos + nacos: + server-addr: 127.0.0.1:8848 + namespace: + group: SEATA_GROUP + context-path: + username: nacos + password: nacos + data-id: seataServer.properties ``` --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org