Skip to content

[Studio] Add consumer stack diagnostics API - #521

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-consumer-stack-api
Jul 24, 2026
Merged

[Studio] Add consumer stack diagnostics API#521
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-consumer-stack-api

Conversation

@Aias00

@Aias00 Aias00 commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • add a structured Consumer stack trace response model
  • introduce a Consumer diagnostics provider/service boundary for future Remoting or Proxy Admin implementations
  • expose GET /api/groups/{name}/instances/{clientId}/stack
  • add service and controller tests for the new read-only diagnostics contract

Motivation

This advances the Studio CLIENT-01 diagnostics surface without touching the Consumer page while #518 is open. The endpoint gives the frontend and future Proxy Admin integration a stable contract for querying a consumer instance stack trace.

Related issue: #205

Verification

  • JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -B -ntp -Dtest=ConsumerDiagnosticsServiceTest,ConsumerGroupControllerTest test
  • JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -B -ntp test

Copilot AI review requested due to automatic review settings July 24, 2026 05:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@lizhimins
lizhimins merged commit 5155a18 into apache:rocketmq-studio Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants