You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "coder999o (via GitHub)" <gi...@apache.org> on 2026/08/30 01:10:43 UTC
[PR] [Studio] feat: preview consumer offset reset impact [rocketmq-dashboard]
coder999o opened a new pull request, #2816:
URL: https://github.com/apache/rocketmq-dashboard/pull/2816
## What is the purpose of the change
Add a reset-offset preview step before applying Consumer Group offset resets in RocketMQ Studio.
The preview shows the target queue offsets, current/projected lag, offset deltas, and replay/skip risks before the destructive reset action is enabled. Apache instances get queue-level target offset calculation, while cloud providers keep a limited current-lag preview so the existing reset capability is not blocked when the vendor API does not expose target offset lookup.
## Brief changelog
- Add a Consumer Group reset-offset preview API.
- Compute Apache queue-level reset impact with min/max offsets, target offsets, projected lag, and risk warnings.
- Add limited preview support for cloud providers based on current group progress.
- Require users to preview reset impact before confirming the reset in the Consumer Group page.
- Cover the controller, metadata service, Apache admin client, cloud provider fallback, frontend API/service, and Consumer page workflow with focused tests.
## Verifying this change
- `mvn -Dtest=ConsumerGroupControllerTest,MetadataServiceTest,RocketMQAdminClientImplTest,AliyunInstanceProviderTest,TencentInstanceProviderTest test`
- `npm run test -- consumerGroups.test.ts consumerService.test.ts ConsumerPage.test.tsx`
- `npm run build`
- `npm run lint`
- `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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Studio] feat: preview consumer offset reset impact [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #2816:
URL: https://github.com/apache/rocketmq-dashboard/pull/2816
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org