RockteMQ-AI commented on issue #10836: URL: https://github.com/apache/rocketmq/issues/10836#issuecomment-5225049813
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** The reported issue has been verified against the current codebase (`develop` branch). **Root Cause:** `KeyBuilder.parseNormalTopic(topic, cid)` checks if topic starts with `RETRY_GROUP_TOPIC_PREFIX` but doesn't verify the retry topic belongs to the supplied `cid`. If it belongs to a different consumer group, the substring calculation uses the wrong length, returning a corrupted topic or potentially throwing on short topics. **Impact:** Incorrect topic resolution when parsing retry topics across different consumer groups, leading to message routing errors. **Severity:** medium **Affected code:** `common/src/main/java/org/apache/rocketmq/common/KeyBuilder.java` An automated fix proposal will be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by RockteMQ-AI* -- 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]
