You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/06/18 04:10:13 UTC

[GitHub] [servicecomb-pack] zhfeng commented on issue #484: 请问是否支持在一个方法中手动开启和结束SAGA事务吗?

zhfeng commented on issue #484: 请问是否支持在一个方法中手动开启和结束SAGA事务吗?
URL: https://github.com/apache/servicecomb-pack/issues/484#issuecomment-502938084
 
 
   可以参考一下[SagaStartAnnotationProcessor](https://github.com/apache/servicecomb-pack/blob/master/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/SagaStartAnnotationProcessor.java#L36)里面的方法。通过grpc sender向alpha发送SagaStartedEvent和SagaEndedEvent

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


With regards,
Apache Git Services