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

feat(cli): add PrintTopicStats command #802

Merged
merged 1 commit into from
Dec 6, 2023
Merged

feat(cli): add PrintTopicStats command #802

merged 1 commit into from
Dec 6, 2023

Conversation

ShadowySpirits
Copy link
Contributor

@ShadowySpirits ShadowySpirits commented Dec 6, 2023

Output example:

Topic Id: 1
Topic Name: test
┌──────────┬──────────┬──────────┬──────────────────┬──────────┬──────────┬──────────────┬────────────────┐
│  TOPIC   │ QUEUE ID │STREAM ID │   STREAM ROLE    │MIN OFFSET│MAX OFFSET│CONSUME OFFSET│DELIVERING COUNT│
├──────────┼──────────┼──────────┼──────────────────┼──────────┼──────────┼──────────────┼────────────────┤
│   test   │    0     │    1     │       DATA       │    0     │    4     │      4       │       -        │
├──────────┼──────────┼──────────┼──────────────────┼──────────┼──────────┼──────────────┼────────────────┤
│   test   │    0     │    2     │    OPERATION     │    0     │    55    │      0       │       -        │
├──────────┼──────────┼──────────┼──────────────────┼──────────┼──────────┼──────────────┼────────────────┤
│   test   │    0     │    3     │     SNAPSHOT     │    0     │    0     │      0       │       -        │
├──────────┼──────────┼──────────┼──────────────────┼──────────┼──────────┼──────────────┼────────────────┤
│   test   │    0     │    4     │RETRY for GID_test│    0     │    3     │      3       │       -        │
└──────────┴──────────┴──────────┴──────────────────┴──────────┴──────────┴──────────────┴────────────────┘

Signed-off-by: SSpirits <admin@lv5.moe>
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Merging #802 (379e66a) into main (8231145) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #802      +/-   ##
============================================
- Coverage     56.24%   56.18%   -0.07%     
- Complexity     1228     1230       +2     
============================================
  Files           132      132              
  Lines          8312     8325      +13     
  Branches        764      765       +1     
============================================
+ Hits           4675     4677       +2     
- Misses         3231     3244      +13     
+ Partials        406      404       -2     
Components Coverage Δ
RocketMQ Broker ∅ <ø> (∅)
RocketMQ Common 5.80% <ø> (ø)
RocketMQ Controller 55.13% <ø> (ø)
RocketMQ Proxy 39.53% <0.00%> (-0.18%) ⬇️
RocketMQ Store 74.29% <ø> (ø)
RocketMQ Stream ∅ <ø> (∅)
RocketMQ Metadata 35.44% <ø> (ø)
Files Coverage Δ
...mq/rocketmq/proxy/grpc/client/GrpcProxyClient.java 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

@ShadowySpirits ShadowySpirits merged commit 5f0d956 into main Dec 6, 2023
13 of 15 checks passed
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