You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/11/01 03:10:24 UTC

[GitHub] [rocketmq] dongeforever commented on issue #3447: 请问是否支持手动提交事务消息?

dongeforever commented on issue #3447:
URL: https://github.com/apache/rocketmq/issues/3447#issuecomment-955889659


   当前设计的问题是把『事务执行逻辑』和『事务回查逻辑』耦合在一个Listener里面了,导致正常逻辑的事务代码写法看起来有点别扭。
   
   可以考虑把 executeLocalTransaction 从Listener里面去掉,但需要保留checkLocalTransaction。
   
   另外一方面,后续引入Batch之后,可以考虑支持一批消息的事务,用唯一TransactionId来进行标识。
   
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org