tju-yxq opened a new issue, #1646:
URL: https://github.com/apache/rocketmq-dashboard/issues/1646
## Bug Report
### Before Creating the Bug Report
- [x] I found a bug, not just asking a question.
- [x] I have searched the GitHub Issues and believe this is not a duplicate.
- [x] I have confirmed that this bug belongs to the current repository.
### Describe the Bug
`AliyunInstanceProvider.getTopicConsumers()` calls `ListTopicSubscriptions`
without setting `pageNumber` or `pageSize`. The Aliyun OpenAPI returns a
default page of results, but the code does not paginate through all pages. If a
topic has more subscriptions than the default page size, only the first page is
returned.
```java
ListTopicSubscriptionsRequest request =
ListTopicSubscriptionsRequest.builder()
.instanceId(ctx.cloudInstanceId())
.topicName(topicName)
.build();
// No pageNumber or pageSize set — only default page returned
```
Similarly, `getGroupSubscriptions()` has the same issue.
### Impact
Topics or consumer groups with many subscriptions show incomplete lists in
the Studio UI.
### Fix
Add pagination loops matching the pattern used by `listTopics()` and
`listConsumerGroups()`.
### Affected file
`server/src/main/java/org/apache/rocketmq/studio/provider/alibaba/AliyunInstanceProvider.java`
--
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]