Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #9111] Support export broker RocksDB Config to json file #9114

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

qianye1001
Copy link
Contributor

Which Issue(s) This PR Fixes

Fixes #9111

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0.60976% with 163 lines in your changes missing coverage. Please review.

Project coverage is 47.91%. Comparing base (0548593) to head (76c017b).
Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
...s/command/metadata/RocksDBConfigToJsonCommand.java 0.00% 96 Missing ⚠️
...ocketmq/broker/processor/AdminBrokerProcessor.java 2.70% 36 Missing ⚠️
...tocol/header/RocksDBConfigToJsonRequestHeader.java 0.00% 10 Missing ⚠️
...g/apache/rocketmq/client/impl/MQClientAPIImpl.java 0.00% 8 Missing ⚠️
...broker/config/v1/RocksDBConsumerOffsetManager.java 0.00% 3 Missing ⚠️
...ker/config/v1/RocksDBSubscriptionGroupManager.java 0.00% 3 Missing ⚠️
...mq/broker/config/v1/RocksDBTopicConfigManager.java 0.00% 3 Missing ⚠️
...apache/rocketmq/tools/admin/DefaultMQAdminExt.java 0.00% 2 Missing ⚠️
...he/rocketmq/tools/admin/DefaultMQAdminExtImpl.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9114      +/-   ##
=============================================
- Coverage      47.94%   47.91%   -0.04%     
- Complexity     12037    12047      +10     
=============================================
  Files           1320     1321       +1     
  Lines          92827    92970     +143     
  Branches       11897    11912      +15     
=============================================
+ Hits           44507    44546      +39     
- Misses         42809    42915     +106     
+ Partials        5511     5509       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Option clusterOption = new Option("c", "cluster", true,
"Cluster name. If nameserverAddr and clusterName are provided, will ignore [-p, -t, -e] args");
options.addOption(clusterOption);

Copy link
Contributor

Choose a reason for hiding this comment

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

Are there situations where it is necessary to use the -b parameter to specify an individual broker?

@RongtongJin
Copy link
Contributor

I think we can remove the ExportMetadataInRocksDBCommand, as this command duplicates the functionality of RocksDBConfigToJsonCommand command.

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.

[Enhancement] Support export json consumer offset to file when using RocksDB consumer offset manage
3 participants