Skip to content

[Studio] fix: query producer connections with producer group - #999

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-080501
Aug 5, 2026
Merged

[Studio] fix: query producer connections with producer group#999
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-080501

Conversation

@yx9o

@yx9o yx9o commented Aug 5, 2026

Copy link
Copy Markdown

What is the purpose of the change

Fix producer connection queries so Studio passes the required producer group and topic to the RocketMQ admin API, avoiding silent empty results on RocketMQ 5.3.3.

Brief changelog

  • Require both topic and producer group for producer connection queries.
  • Pass producerGroup and topic to examineProducerConnectionInfo.
  • Discover producer clients from Broker producer tables for the general client list.
  • Return HTTP 400 for missing parameters and HTTP 502 for RocketMQ query failures.
  • Add backend and frontend regression tests for the updated behavior.

Verifying this change

  • cd server && mvn -Dtest=ProducerConnectionServiceTest,ProducerControllerTest,RocketMQClientProviderTest,ClientProviderStubTest test
  • cd server && mvn test
  • cd server && mvn -DskipTests package
  • cd web && npm test -- src/api/producer.test.ts src/pages/studio/__tests__/Producer.test.tsx --maxWorkers=1 --no-file-parallelism
  • cd web && npm test -- --maxWorkers=1 --no-file-parallelism
  • cd web && npm run build
  • git diff --check

@lizhimins
lizhimins merged commit 9976522 into apache:rocketmq-studio Aug 5, 2026
3 checks passed
@yx9o
yx9o deleted the dev-080501 branch August 8, 2026 04:43
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