liataynat opened a new pull request, #11614: URL: https://github.com/apache/rocketmq/pull/11614
### Which Issue(s) This PR Fixes - Fixes #11613 ### Brief Description When `exportMetadata` targets a single Broker and neither `-t` nor `-g` is specified, export both user topic and subscription group tables to `metadata.json`. Use the same top-level fields as cluster export. ### How Did You Test This Change? - Reproduced the empty output directory with the actual `mqadmin` command against a local RocketMQ 5.5.1 NameServer and Broker. - Verified that the same command wrote `metadata.json` after the change. Its topic and subscription group tables matched the corresponding separate exports. - Rechecked the `-t`, `-g`, and cluster export paths. - Ran the new `ExportMetadataCommandTest` with JUnit 4.13.2. It failed on the unpatched command and passed with the patch. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
