majialoong opened a new pull request, #11625: URL: https://github.com/apache/rocketmq/pull/11625
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes <!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. --> - Fixes #11622 ### Brief Description Remoting send requests are forwarded directly by `SendMessageActivity` without recording transaction data, so producer commits and rollbacks are dropped in `TransactionActivity`. Forward producer-initiated `END_TRANSACTION` requests directly to the broker, while keeping `messagingProcessor.endTransaction` for transaction check replies. ### How Did You Test This Change? - Added unit tests in `TransactionActivityTest` for producer forwarding, missing broker name, and transaction check replies. - Verified end-to-end on a cluster proxy and broker deployment for commit, rollback, and transaction check flows. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
