dobbo 集成seata框架
warning:
这篇文章距离上次修改已过231天,其中的内容可能已经有所变动。
seata server:
#AT 模式
#seata 管理面板 http://192.168.xx:7091
seata:
enabled: true
application-id: oa-server
tx-service-group: oa-server-group
enable-auto-data-source-proxy: true
client:
support:
spring:
datasource-autoproxy: true
registry:
type: zk
zk:
server-addr: 192.168.xx:2181
connect-timeout: 50000
session-timeout: 60000
username: ""
password: ""
service:
grouplist:
default: 192.168.xx:8091
vgroup-mapping:
oa-server-group: default
client:
#AT 模式
#seata 管理面板 http://192.168.xx:7091
seata:
enabled: true
application-id: oa-client-9999
tx-service-group: oa-client-9999-group
enable-auto-data-source-proxy: true
client:
support:
spring:
datasource-autoproxy: true
registry:
type: zk
zk:
server-addr: 192.168.xx:2181
connect-timeout: 50000
session-timeout: 60000
username: ""
password: ""
service:
grouplist:
default: 192.168.xx:8091
vgroup-mapping:
oa-client-9999-group: default
seata代码要写在
servver端
注解用
@GlobalTransactional
特色功能: