add 整合 seata 1.4.2 对接 nacos 注册中心 配置中心

This commit is contained in:
疯狂的狮子li
2022-01-18 10:48:53 +08:00
parent d491e8d2fb
commit 0c2efd36cf
21 changed files with 245 additions and 112 deletions

View File

@@ -0,0 +1,28 @@
registry {
# file 、nacos 、eureka、redis、zk、consul、etcd3、sofa
type = "nacos"
nacos {
application = "seata-server"
serverAddr = "172.30.0.40:8848"
group = "DEFAULT_GROUP"
namespace = "dev"
cluster = "default"
username = ""
password = ""
}
}
config {
# file、nacos 、apollo、zk、consul、etcd3
type = "nacos"
nacos {
serverAddr = "172.30.0.40:8848"
group = "DEFAULT_GROUP"
namespace = "dev"
username = ""
password = ""
dataId = "seata-server.properties"
}
}