This is a tcc transaction sample using spring boot, dubbo.
- import all modules by importing module "root"
- create db and import sql scripts in folder "docs"
- run zookeeper locally.
- run app capital by running "AppCapital.java" in module "service_capital"
- run app redpacket by running "AppRedPacket.java" in module "service_redpacket"
- run app orders by running "AppOrders.java" in module "orders"
- visit "http://localhost:8088/order"
- if can not find maven dependency about tcc-transaction, get it form "https://github.com/changmingxie/tcc-transaction"