yyqdbngt opened a new pull request, #3088: URL: https://github.com/apache/rocketmq-dashboard/pull/3088
### Summary Normalize cluster/type/search filters on the DB-backed metadata list queries: - `listTopics`, `listTopicsPage`, `listConsumerGroups` and `listConsumerGroupsPage` now trim `clusterId` (and `type` where present) and trim the `search` term before building `LambdaQueryWrapper` predicates, via package-private `normalizeOptional` / `normalizeSearch` helpers. ### Why Padded or whitespace-pasted search terms and cluster ids previously produced zero rows from the metadata store even when matching topics/groups existed, and the live topic/group search on the instance pages depends on these list methods. ### Testing - `mvn -f server/pom.xml -Dtest=RocketMQMetadataProviderTest test` passes: 36/36 (35 existing + 1 new covering both helpers). -- 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]
