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

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** `GrpcClientSettingsManager.mergeMetric()` (lines 120-122) 
splits `metricCollectorAddress` by ":" and calls `Integer.parseInt(split[1])` 
without any validation. If the address is malformed (missing colon, non-numeric 
port, empty string), it throws `ArrayIndexOutOfBoundsException` or 
`NumberFormatException`, crashing the telemetry/settings response for all 
clients.
   
   **Impact:** Proxy gRPC telemetry — when `metricCollectorMode=ON` and the 
configured address is malformed, every `telemetry()` call fails.
   
   **Severity:** medium
   
   An automated fix proposal will be generated. Reply `/approve` to proceed 
with PR generation.
   
   ---
   *Automated evaluation by RockteMQ-AI*


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