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:
   
   
![Image](https://github.com/user-attachments/assets/5f86eeaa-e978-4991-a6b5-90ed45520149)
   
   
![Image](https://github.com/user-attachments/assets/74fe7eb3-d9a9-41cd-a31b-f603a973b73f)
   
   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. 
   
   
![Image](https://github.com/user-attachments/assets/c10a3b27-9b82-4413-9a5f-93329e35e618)
   
   ### 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-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to