-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Before Creating the Enhancement Request
- I have confirmed that this should be classified as an enhancement rather than a bug/feature.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
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
Activity
[ISSUE #9479] Relax topic length constraint when creating retry and d…
[ISSUE apache#9479] Relax topic length constraint when creating retry…