Skip to content

[ISSUE #702] Fail explicitly when diagnostics provider is missing - #703

Open
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-consumer-diagnostics-unsupported
Open

[ISSUE #702] Fail explicitly when diagnostics provider is missing#703
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-consumer-diagnostics-unsupported

Conversation

@Aias00

@Aias00 Aias00 commented Jul 31, 2026

Copy link
Copy Markdown

Summary

  • stop returning successful empty consumer stack traces from ConsumerDiagnosticsProviderStub
  • return a structured 501 BusinessException when no real diagnostics provider is configured
  • add test coverage for the explicit unsupported-provider behavior

Fixes #702

Tests

  • JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -Dtest=ConsumerDiagnosticsProviderStubTest test

Copilot AI review requested due to automatic review settings July 31, 2026 12:05

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.

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.

2 participants