RockteMQ-AI commented on issue #11055:
URL: https://github.com/apache/rocketmq/issues/11055#issuecomment-5655074687

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   The issue is valid. `GET_LITE_GROUP_INFO` does not validate the `topK` 
parameter, allowing negative or excessively large values. A negative `topK` 
could cause unexpected behavior in downstream sorting/limiting logic, while an 
unbounded `topK` could lead to excessive memory allocation or slow responses 
when a group has many subscriptions.
   
   The fix should clamp `topK` to a reasonable range (e.g., 1 to a configured 
maximum, defaulting to something like 100). This is consistent with how other 
query endpoints validate similar parameters.
   
   An automated fix proposal may be generated. Reply `/approve` to proceed with 
PR generation.
   
   ---
   *Automated evaluation by github-manager*
   


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