lizhimins opened a new pull request, #2544: URL: https://github.com/apache/rocketmq-dashboard/pull/2544
## Summary Introduce `MqClientPool` to cache pull-consumer and producer instances by (endpoint, credential) pair, replacing the previous pattern of creating and shutting down clients on every request. ## Changes - **New**: `MqClientPool` — lazy-create + cache pull consumers / producers keyed by (endpoint, credential identity); release on instance endpoint/credential change; `@PreDestroy` shutdown - **Refactored**: `RuntimeAdminClientResolver` — add `executePullConsumer` / `executeProducer` entry points backed by the pool - **Migrated**: `RocketMQAdminClientImpl`, `RocketMQMessageProvider`, `RocketMQDLQProvider` — use pooled clients instead of per-request new+start+shutdown - **Removed**: `ShortLivedClientName` utility (no longer needed) - **Tests**: updated all provider tests to reflect pooled client lifecycle -- 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]
