-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use distributed transaction ? #58
Comments
设为关闭。 如果还有其他问题,请 reopen |
@yuleyule66 谢谢回复,是不是如果消费方业务上面失败,需要给生产方发送一个业务补偿消息,通知生产方进行回滚等操作? |
@zanpen2000 是的,发送消息的时候,可以指定一个callbackname,这个就是补偿用的方法。 |
Duplicate to #60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我测试的代码如下,想测试事务一致性,订阅者手动抛出了一个异常,期望在这种情况下本地业务回进行事务回滚,但最终结果是本地业务(PersonInsert插入成功并未回滚)也许是我的理解或使用方式不对?请指点一下,谢谢!
The text was updated successfully, but these errors were encountered: