123123213weqw opened a new pull request, #1980: URL: https://github.com/apache/rocketmq-dashboard/pull/1980
## What is the purpose of the change `TencentInstanceProvider.queryMessages` pages through `DescribeMessageList` with a single `UUID.randomUUID()` task id: the id was generated once before the loop and reused verbatim on every page, even though the API returns the task id to use for the next page in the response (`DescribeMessageListResponse.getTaskRequestId`). The code comment states the response hands the id back for the next page, but the implementation never read it — so when the API returns its own task id, the second page started a brand-new query and results could repeat, truncate, or come back empty. ## Brief changelog - Capture `response.getTaskRequestId()` after each page and reuse it on the next request, falling back to the initial random id when the API omits it. - Add a test asserting the second page carries the task id returned by the first page. ## Verifying this change - `mvn -q -Dtest=TencentInstanceProviderTest test` - `mvn -q test` (1055/1055) - `git diff --check` -- 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]
