youngkermit8-coder opened a new pull request, #1584:
URL: https://github.com/apache/rocketmq-dashboard/pull/1584

   ## Summary
   
   - paginate Tencent Cloud `DescribeTopic` subscription results instead of 
returning only the first 100 consumer groups
   - advance offsets by the fixed page size and stop once the reported 
`SubscriptionCount` is collected
   - retain short/empty-page termination and the provider's existing 
maximum-page safety bound
   
   ## Root cause
   
   Tencent Cloud defines `DescribeTopic`'s `Offset` and `Limit` as pagination 
parameters for consumer groups subscribed to the Topic. The provider previously 
sent only `Offset=0, Limit=100`, so Topics with more than 100 subscriptions 
were silently truncated in Studio.
   
   Official API reference: https://cloud.tencent.com/document/product/1493/97945
   
   Fixes #1583.
   
   ## Verification
   
   ```text
   mvn -Dtest=TencentInstanceProviderTest clean package
   Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
   Checkstyle violations: 0
   BUILD SUCCESS
   ```
   
   The regression test returns 101 subscriptions across two API pages, verifies 
offsets `0` and `100`, checks both pages are included, and proves that no 
unnecessary third request is issued.


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