rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[ISSUE #8591] Preliminary support for key commands of LMQ

Open RongtongJin opened this issue 1 year ago • 1 comments
trafficstars

Which Issue(s) This PR Fixes

Fixes #8591

Brief Description

Preliminary support for key commands of LMQ

  • topicStatus
  • consumerProgress
  • resetOffsetByTime
  • queryMsgByUniqueKey
  • queryMsgByKey
  • queryMsgById

How Did You Test This Change?

Test the relevant commands image image image

RongtongJin avatar Aug 28 '24 02:08 RongtongJin

Codecov Report

Attention: Patch coverage is 28.00000% with 108 lines in your changes missing coverage. Please review.

Project coverage is 47.20%. Comparing base (9e6bbf7) to head (4d5b294). Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
...he/rocketmq/tools/admin/DefaultMQAdminExtImpl.java 34.61% 30 Missing and 4 partials :warning:
...tmq/tools/command/topic/TopicStatusSubCommand.java 20.00% 12 Missing :warning:
...apache/rocketmq/tools/admin/DefaultMQAdminExt.java 8.33% 11 Missing :warning:
...tools/command/message/QueryMsgByKeySubCommand.java 0.00% 11 Missing :warning:
...a/org/apache/rocketmq/client/impl/MQAdminImpl.java 37.50% 6 Missing and 4 partials :warning:
.../tools/command/message/QueryMsgByIdSubCommand.java 0.00% 10 Missing :warning:
...s/command/consumer/ConsumerProgressSubCommand.java 0.00% 5 Missing :warning:
...ols/command/offset/SkipAccumulationSubCommand.java 0.00% 5 Missing :warning:
...command/message/QueryMsgByUniqueKeySubCommand.java 63.63% 2 Missing and 2 partials :warning:
...tools/command/offset/ResetOffsetByTimeCommand.java 57.14% 2 Missing and 1 partial :warning:
... and 1 more
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8590      +/-   ##
=============================================
- Coverage      47.23%   47.20%   -0.04%     
- Complexity     11445    11459      +14     
=============================================
  Files           1275     1277       +2     
  Lines          89246    89421     +175     
  Branches       11471    11500      +29     
=============================================
+ Hits           42159    42208      +49     
- Misses         41886    42002     +116     
- Partials        5201     5211      +10     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Aug 28 '24 08:08 codecov-commenter