97 lines
2.0 KiB
Plaintext
97 lines
2.0 KiB
Plaintext
registry {
|
|
# file 、nacos 、eureka、redis、zk、consul、etcd3、sofa
|
|
type = "nacos"
|
|
|
|
nacos {
|
|
application = "seata-server"
|
|
serverAddr = "127.0.0.1:8848"
|
|
group = "SEATA_GROUP"
|
|
namespace = "c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc"
|
|
cluster = "default"
|
|
username = "nacos"
|
|
password = "nacos"
|
|
}
|
|
eureka {
|
|
serviceUrl = "http://localhost:8761/eureka"
|
|
application = "default"
|
|
weight = "1"
|
|
}
|
|
redis {
|
|
serverAddr = "localhost:6379"
|
|
db = 0
|
|
password = ""
|
|
cluster = "default"
|
|
timeout = 0
|
|
}
|
|
zk {
|
|
cluster = "default"
|
|
serverAddr = "127.0.0.1:2181"
|
|
sessionTimeout = 6000
|
|
connectTimeout = 2000
|
|
username = ""
|
|
password = ""
|
|
}
|
|
consul {
|
|
cluster = "default"
|
|
serverAddr = "127.0.0.1:8500"
|
|
aclToken = ""
|
|
}
|
|
etcd3 {
|
|
cluster = "default"
|
|
serverAddr = "http://localhost:2379"
|
|
}
|
|
sofa {
|
|
serverAddr = "127.0.0.1:9603"
|
|
application = "default"
|
|
region = "DEFAULT_ZONE"
|
|
datacenter = "DefaultDataCenter"
|
|
cluster = "default"
|
|
group = "SEATA_GROUP"
|
|
addressWaitTime = "3000"
|
|
}
|
|
file {
|
|
name = "file.conf"
|
|
}
|
|
}
|
|
|
|
config {
|
|
# file、nacos 、apollo、zk、consul、etcd3
|
|
type = "nacos"
|
|
|
|
nacos {
|
|
serverAddr = "127.0.0.1:8848"
|
|
namespace = "c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc"
|
|
group = "SEATA_GROUP"
|
|
username = "nacos"
|
|
password = "nacos"
|
|
dataId = "seataServer.properties"
|
|
}
|
|
consul {
|
|
serverAddr = "127.0.0.1:8500"
|
|
aclToken = ""
|
|
}
|
|
apollo {
|
|
appId = "seata-server"
|
|
## apolloConfigService will cover apolloMeta
|
|
apolloMeta = "http://192.168.1.204:8801"
|
|
apolloConfigService = "http://192.168.1.204:8080"
|
|
namespace = "application"
|
|
apolloAccesskeySecret = ""
|
|
cluster = "seata"
|
|
}
|
|
zk {
|
|
serverAddr = "127.0.0.1:2181"
|
|
sessionTimeout = 6000
|
|
connectTimeout = 2000
|
|
username = ""
|
|
password = ""
|
|
nodePath = "/seata/seata.properties"
|
|
}
|
|
etcd3 {
|
|
serverAddr = "http://localhost:2379"
|
|
}
|
|
file {
|
|
name = "file.conf"
|
|
}
|
|
}
|