You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yx9o (via GitHub)" <gi...@apache.org> on 2026/08/08 05:40:46 UTC
[PR] [Studio] feat: add consumer client stack diagnostics [rocketmq-dashboard]
yx9o opened a new pull request, #1267:
URL: https://github.com/apache/rocketmq-dashboard/pull/1267
## What is the purpose of the change
Add a working consumer client stack diagnostics flow so operators can inspect the live thread stack of an online Consumer Group client from the Studio UI. Before this change, the stack endpoint existed but only used the fallback stub provider, so runtime diagnosis returned 501 and the UI had no entry point.
## Brief changelog
- Add an Apache RocketMQ-backed consumer diagnostics provider that calls `getConsumerRunningInfo` with jstack enabled and converts the raw stack dump into structured thread stack rows.
- Pass `instanceId` through the consumer stack endpoint so diagnostics use the selected instance instead of the global default admin client.
- Add a Consumer Group detail action to load and display online client thread stacks.
- Cover the backend provider, controller/service delegation, frontend API encoding, mock service behavior, and UI interaction with tests.
## Verifying this change
- `mvn -q -Dtest=ConsumerDiagnosticsServiceTest,ConsumerDiagnosticsProviderStubTest,ConsumerGroupControllerTest,RocketMQConsumerDiagnosticsProviderTest test`
- `npm test -- --run --api.host 127.0.0.1 src/api/metadata.test.ts src/services/consumerService.test.ts src/pages/instance/__tests__/ConsumerPage.test.tsx`
- `mvn -q clean package -DskipTests`
- `npm run build`
- `mvn -q test`
- `npm test -- --run --api.host 127.0.0.1`
- `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: add consumer client stack diagnostics [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #1267:
URL: https://github.com/apache/rocketmq-dashboard/pull/1267
--
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