tju-yxq opened a new pull request, #1416: URL: https://github.com/apache/rocketmq-dashboard/pull/1416
## What is the purpose of the change Fixes #1415 `resendOne()` was only copying `body`, `tags`, and `keys` from the original dead-letter message. All user properties (trace IDs, correlation IDs, custom headers) were dropped during resend, breaking downstream tracing and business logic. ## Brief changelog - **`RocketMQDLQProvider.java`**: After setting tags and keys, copy all user properties from the original dead-letter message, skipping RocketMQ system-reserved keys (`MessageConst.STRING_HASH_SET`) to avoid conflicts with broker-internal properties. - The two Studio provenance properties (`studio_dlq_origin_message_id`, `studio_dlq_origin_topic`) are still set after the copy, so they override any same-named properties from the original. ## Verifying this change 1. Produce a message with user properties: `traceId=abc-123`, `tenantId=tenant-A`. 2. Let the message enter the DLQ. 3. Trigger a DLQ resend. 4. Consume the resent message - `traceId` and `tenantId` should be present. - [x] Make sure there is a Github issue filed for the change. - [x] Format the pull request title like `[ISSUE #1415] ...`. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit-test to verify your logic correction. - [x] Run `mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle` to make sure basic checks pass. - [ ] If this contribution is large, please file an Apache Individual Contributor License Agreement. -- 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]
