GitHub user asjfoajs added a comment to the discussion: 事务消息提交后依然会出现回查
System.out.printf("%s send success %s%n", new Date(System.currentTimeMillis()),
sendResult.getMsgId()); 只是发送成功,// noinspection deprecation
producer.getDefaultMQProducerImpl().endTransaction(
msg, sendResult, LocalTransactionState.COMMIT_MESSAGE,
null); 才是提交成功 不应该是在这个后面打个日志看一下是否在checkLocalTransaction之前执行吗?
GitHub link:
https://github.com/apache/rocketmq/discussions/7002#discussioncomment-8896634
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]