MrKen20 opened a new pull request, #11615: URL: https://github.com/apache/rocketmq/pull/11615
### Which Issue(s) This PR Fixes Found while reviewing `ClientConfig`. ### Brief Description `cloneClientConfig` and `resetClientConfig` omit `maxPageSizeInGetMetadata`. The clone falls back to 2000, and reset leaves the previous value on the destination. Copy the field in both methods so Topic and subscription-group metadata requests retain the configured page size. ### How Did You Test This Change? - Set the source page size to 100. Before the fix, the clone returned 2000 and reset left a destination set to 300. Both regression tests return 100 after the fix. - Ran `mvn -B -pl client -am -Dtest=ClientConfigTest,MQClientAPIImplTest,MQClientManagerTest -Dsurefire.failIfNoSpecifiedTests=false -Djacoco.skip=true test` on JDK 21. All 147 tests passed. Checkstyle and SpotBugs passed. -- 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]
