leizhiyuan opened a new issue, #1590:
URL: https://github.com/apache/rocketmq-dashboard/issues/1590

   ## Motivation
   
   The Tencent Cloud provider (`provider/tencent`, Trocket v20230308 OpenAPI) 
gained Topic
   management in #1535, but consumer group operations 
(`TencentInstanceProvider`) still threw
   `UnsupportedOperationException`. Users cannot list, create, delete or 
inspect consumer groups on
   a Tencent Cloud RocketMQ 5.x instance from the Group management page.
   
   ## What this adds
   
   Implements the instance-scoped consumer group operations for the Tencent 
provider by mapping to
   the Trocket OpenAPI:
   
   - **List groups** - `DescribeConsumerGroupList` with pagination and name 
filter; per-group created
     timestamp and real consume model enriched via `DescribeConsumerGroup` (off 
the cheap count path).
   - **Create group** - `CreateConsumerGroup` (retry times, orderly delivery, 
enabled).
   - **Delete group** - `DeleteConsumerGroup`.
   - **Progress** - `DescribeTopicListByGroup` per-topic consumer lag rows.
   - **Subscriptions** - `DescribeTopicListByGroup` subscription entries 
(topic, expression, filter).
   - **Reset offset** - `ResetConsumerGroupOffset` by timestamp (topic 
required).
   - **Group count** - cheap list path so instance listings stay fast.
   
   Also fixes a blank detail modal: `instances` / `subscribedTopics` were left 
`null`, which made the
   frontend throw `Cannot read properties of null (reading 'length')` when 
opening a group detail.
   
   ## SDK bump
   
   `tencentcloud-sdk-java-trocket` is bumped from `3.1.1292` to `3.1.1498`. The 
older model lacked
   `DescribeConsumerGroupResponse#getConsumeModel()`, so the real 
`ConsumeModel` (CLUSTERING /
   BROADCASTING) could not be mapped to `ConsumeType`. The newer SDK also 
exposes `RetryPolicy` and
   `LiteTopic`.
   
   ## Scope
   
   Scoped to the `rocketmq-studio` branch where the Tencent provider lives. 
Only consumer group
   management; message query and trace operations for Tencent remain 
unsupported.
   


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