RockteMQ-AI commented on issue #2470: URL: https://github.com/apache/rocketmq-dashboard/issues/2470#issuecomment-5372280008
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The issue is verified against the current codebase. In `DlqMessageController.java`, both `exportDlqMessage` and `batchExportDlqMessage` pass the raw `consumerGroup` value directly into `MixAll.DLQ_GROUP_TOPIC_PREFIX + consumerGroup` without trimming. Similarly, `DlqMessageServiceImpl.batchResendDlqMessage` forwards the original group value without normalization. When a padded group name (e.g. `" group-a "`) reaches the export path, it queries a non-existent topic. When it reaches the resend path with an explicit target, whitespace-padded targets can produce invalid topic names. **Root Cause:** Missing `.trim()` at the service boundary before constructing DLQ topic names. **Impact:** DLQ export and resend operations silently fail or target wrong topics when input contains surrounding whitespace. **Severity:** medium An automated fix proposal may be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by "github-manager-bot"* -- 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]
