如何使用Fescar保证Dubbo微服务间的一致性

  案例 用户采购商品业务,整个业务包含3个微服务:html 库存服务: 扣减给定商品的库存数量。 订单服务: 根据采购请求生成订单。 帐户服务: 用户帐户金额扣减。 业务结构图 StorageService public interface StorageService { /** * deduct storage count */ void deduct(
相关文章
相关标签/搜索