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

   ### Summary
   
   `ProducerConnectionSummaryVO.from` aggregates producer connections into 
counts, language/version distributions and readiness warnings. The suite 
covered empty lists, null entries, mixed versions and incomplete metadata, but 
not the null list itself, literal `"null"` values or distribution tie ordering.
   
   ### Changes
   
   - A `null` connection list yields zero counts and the 
`UNAVAILABLE`/`NO_CONNECTIONS` state
   - A client id of the literal string `"null"` counts toward totals but not 
unique metadata, and warns as incomplete
   - Distribution entries are trimmed before grouping and sorted by count 
descending, then name ascending (ties order alphabetically)
   
   ### Testing
   
   `mvn test -Dtest=ProducerConnectionSummaryVOTest` passes: 7 tests, 0 
failures (up from 4).


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