Why you need it?
Is your feature request related to a problem? Please describe in details
#2500
分支事务感知全局事务结果
How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
业务场景:如成功后发送消息
Other related information
Add any other context or screenshots about the feature request here.
如果TransactionHook能支持分支事务就更好了
4条答案
按热度按时间huwehgph1#
Only the second phase of the branch transaction can perceive the resolution result of the global transaction. So the feasible solution is to add hooks in the second phase of the branch transaction.
at0kjp5o2#
咱们有相关的示例可以提供下么,thanks
rvpgvaaj3#
有相同的需求,在分支事务中想等全局事务提交后再发MQ
wgxvkvu94#
有相同的需求,在分支事务中想等全局事务提交后再发MQ
大佬最后咋解决的啊 @laurentwu