seata的客户端和服务端
来源:15-6 Seata 代理数据源及其配置

慕慕的学习
2021-09-27
老师,您好,我想请教一个问题,我们seata服务端使用配置文件registry.conf,将自己注入nacos, 但是 我在客户端的registry.conf中直接引用的是file.conf文件,客户端和服务端唯一有关联的就是DB,想请教一下,他们两者之间还有什么关联性,我并没有看到您配置客户端连接服务端的地址,我在其他博客上看到了一下配置,所以想请教一下,谢谢!
spring:
cloud:
refresh:
refreshable: none
alibaba:
seata:
enabled: true
enable-auto-data-source-proxy: true
tx-service-group: my_test_tx_group
registry:
type: nacos
nacos:
application: seata-server
server-addr: http://172.16.4.27:30090
username: nacos
password: nacos
config:
type: nacos
nacos:
server-addr: http://172.16.4.27:30090
group: local_dev_seata
username: nacos
password: nacos
namespace: bda53f33-65b6-401b-8f95-d2338f079d4d
service:
vgroup-mapping:
my_test_tx_group: default
disable_global_transaction: false
client:
rm:
report-success-enable: false
1回答
-
张勤一
2021-09-29
同学你好:
Seata 你部署的叫做服务端,我们的功能微服务就叫做客户端。
10
相似问题