WillemJiang commented on a change in pull request #77:  add saga  quick start
URL: https://github.com/apache/servicecomb-docs/pull/77#discussion_r246754075
 
 

 ##########
 File path: saga-reference/zh_CN/quickstart.md
 ##########
 @@ -20,38 +19,43 @@ SagaEndedEvent 标志着saga事务请求的结束,不需要保存任何内容
 
 ## Demo中的Pack场景
 Pack中包含两个组件,即 alpha 和 omega。
-图中的三个服务,booking、car、hotel均为omega进程,且通过alpha协调。booking调用car与hotel,且omega像一个agent内嵌其中,负责:
  
-1)对网络请求进行拦截并向alpha上报事务事件  
-2)异常情况下根据alpha下发的指令执行相应的补偿操作。而alpha充当协调者的角色,主要负责1)对事务的事件进行持久化存储  
-2)协调子事务的状态,使其得以最终与全局事务的状态保持一致  
+图中的三个服务,booking、car、hotel均为omega进程,且通过alpha协调。booking调用car与hotel,且omega像一个agent内嵌其中负责:
  
+1)对方法调用以切面方式(AOP)拦截并向alpha上报事务事件。  
 
 Review comment:
   拦截什么?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to