Skip to content

Commit

Permalink
Feat[Storagetool]: List queue appid numrecords (#534)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Petukhov <dpetukhov@bloomberg.net>
  • Loading branch information
bbpetukhov authored Jan 17, 2025
1 parent 8c8af57 commit 005a33d
Show file tree
Hide file tree
Showing 8 changed files with 349 additions and 69 deletions.
3 changes: 3 additions & 0 deletions src/applications/bmqstoragetool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Usage: bmqstoragetool [-r|record-type <record type>]*
[--details]
[--dump-payload]
[--dump-limit <dump limit>]
[--min-records-per-queue <threshold>]
[--summary]
[-h|help]
Where:
Expand Down Expand Up @@ -83,6 +84,8 @@ Where:
specify if you need message payload
--dump-limit <dump limit>
limit of payload output (default: 1024)
--min-records-per-queue
min number of records per queue for detailed info to be displayed
--summary
summary of all matching messages (number of outstanding messages and
other statistics)
Expand Down
5 changes: 5 additions & 0 deletions src/applications/bmqstoragetool/bmqstoragetool.m.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ static bool parseArgs(CommandLineArguments& arguments,
"summary of all matching records",
balcl::TypeInfo(&arguments.d_summary),
balcl::OccurrenceInfo::e_OPTIONAL},
{"min-records-per-queue",
"min records per queue",
"min number of records per queue for detailed info to be displayed",
balcl::TypeInfo(&arguments.d_minRecordsPerQueue),
balcl::OccurrenceInfo(0)},
{"h|help",
"help",
"print usage)",
Expand Down
Loading

0 comments on commit 005a33d

Please sign in to comment.