Aias00 opened a new issue, #872:
URL: https://github.com/apache/rocketmq-dashboard/issues/872

   ### Problem
   
   `TopicController#createTopic` currently accepts `TopicVO` without request 
validation. Blank topic names or invalid queue counts can pass the controller 
boundary and reach the metadata service.
   
   The same controller already validates delete requests through 
`DeleteTopicDTO`, so create should apply the same boundary-validation pattern. 
This is important for the Studio Topic management baseline.
   
   ### Expected behavior
   
   - Validate Topic create requests before calling 
`MetadataService#createTopic`.
   - Reject blank topic names.
   - Reject negative read/write queue counts.
   - Keep `TopicVO` usable as a list/detail response model without making 
response-only fields mandatory.
   - Add MockMvc regression coverage for invalid create payloads.
   
   ### Scope
   
   RocketMQ Studio / Track 1 / Topic management baseline.


-- 
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]

Reply via email to