coolbeevip commented on a change in pull request #497: SCB-1321 clean up the
code of alpha fsm
URL: https://github.com/apache/servicecomb-pack/pull/497#discussion_r302879353
##########
File path:
alpha/alpha-fsm/src/main/java/org/apache/servicecomb/pack/alpha/fsm/sink/SagaActorEventSender.java
##########
@@ -57,6 +57,7 @@ public void send(BaseEvent event) {
} else {
ActorSelection actorSelection = system
.actorSelection("/user/" + event.getGlobalTxId());
+ //TODO We should leverage the async API that actor provides to send
out the message
Review comment:
After receiving the event, Alpha first puts it into the channel.
SagaActorEventSender gets the event from the channel and sends it. These two
steps are asynchronous.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services