Skip to content
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

Committed the transaction message, but it has been continuously triggering a callback #597

Open
anxinyh opened this issue Nov 23, 2023 · 2 comments

Comments

@anxinyh
Copy link

anxinyh commented Nov 23, 2023

@OverRide
public RocketMQLocalTransactionState executeLocalTransaction(Message message, Object o) {
log.info("--正在处理订单号:{} 的下单业务", message);
log.info("--args的数据是:{}", JSONObject.toJSONString(o));
return RocketMQLocalTransactionState.COMMIT;
}

发送事务消息时,执行executeLocalTransaction,我返回了commit,这条消息能被消费,但却又一直在被触发checkLocalTransaction方法

我的mq版本是5.1.4,依赖2.2.1~2.2.3
是当前版本的依赖不支持5.1x的rocketmq吗?

@RongtongJin RongtongJin changed the title commit了事务消息,但是确一直在触发回查 Committed the transaction message, but it has been continuously triggering a callback Dec 25, 2023
@RongtongJin
Copy link
Contributor

支持的,用原生客户端有这个问题吗?

@anxinyh
Copy link
Author

anxinyh commented Dec 27, 2023

支持的,用原生客户端有这个问题吗?

没尝试过原生客户端,mq是用docker部署的,可能是当时部署的有点问题,后来重新部署就没这个问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants