You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Allenhuangrui (via GitHub)" <gi...@apache.org> on 2025/06/16 08:50:54 UTC
[I] [Enhancement] Relax topic length constraint when creating retry and dlq topics [rocketmq]
Allenhuangrui opened a new issue, #9479:
URL: https://github.com/apache/rocketmq/issues/9479
### Before Creating the Enhancement Request
- [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
### Summary
Currently, the max topic length is set to be 127 bytes and this length constraint is for all topics as shown in the screenshots below:


We want to enhance the capabilities of RocketMQ by allowing the users to create topics and groups of longer length, from 60 bytes previously to 120 bytes. To achieve this, we need to relax the topic length constraint mentioned above for dlq and retry topics because dlq and retry topics' names are created by concatenating the string "%DLQ%" or "%RETRY%" with the corresponding group name and/or topic name in subscription. The resulting length of the concatenated string maybe longer than 127 if topic/group is too long.
### Motivation
Enhance the capabilities of RocketMQ by relaxing the topic/group length constraint.
### Describe the Solution You'd Like
Add two more conditions in the if statement of validateTopic method to additionally check whether the validating topic is dlq or retry topic and if it is then skip the topic length validation.

### Describe Alternatives You've Considered
N/A
### Additional Context
_No response_
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Relax topic length constraint when creating retry and dlq topics [rocketmq]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #9479: [Enhancement] Relax topic length constraint when creating retry and dlq topics
URL: https://github.com/apache/rocketmq/issues/9479
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org