yyqdbngt opened a new pull request, #3087:
URL: https://github.com/apache/rocketmq-dashboard/pull/3087

   ### Summary
   Trim the consumer group and client id in the consumer stack diagnostics 
lookup:
   
   - `getConsumerStack` normalizes `groupName` / `clientId` (final locals via 
`normalizeOptional`) before the proxy probe and the broker 
`getConsumerRunningInfo` call.
   
   ### Why
   A group or client id carrying surrounding whitespace (paste artifacts) 
previously reached `getConsumerRunningInfo` verbatim and reported "client not 
online"-style failures even though the client was connected.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=RocketMQConsumerDiagnosticsProviderTest 
test` passes: 12/12 (11 existing + 1 new verifying the broker call receives the 
trimmed group/client).
   


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