- 下载seata-server
- 启动seata-server
./bin/seata-server.sh -p 8091
- 启动order-service, pay-service服务
- curl -X POST -d '{"money":10, "userId":1}' http://localhost:8080/pay 任何一个服务出现异常后,所有的服务都会回滚
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
./bin/seata-server.sh -p 8091