uber-archive / cherami-server

Distributed, scalable, durable, and highly available message queue system. This project is deprecated and not maintained.
https://eng.uber.com/cherami/
MIT License
1.42k stars 102 forks source link

cmq -- Cherami Metadata Query-er #314

Closed kirg closed 7 years ago

kirg commented 7 years ago

tool to query metadata (Cassandra) directly:

cmq d <dest-uuid>: show destination
cmq cg <cg-uuid>: show consumer-group
cmq x <ext-uuid>: show extent
cmq s [d|cg|x|cgx|ix|sx] <uuid> : to 'show' destination | consumer-group | extent | cg-extent, etc
cmq l [d|cg|x|cgx|ix|sx] [-p|-d|-cg|-x] : to list destination | consumer-group | extent | cg-extent | input-extent | store-extent
cmq gc [-d|-cg|-x|-cgx|-ix|-sx|-all] : garbage collect specified tables
cmq watch <dest-uuid> <cg-uuid> : show backlog refreshing regularly
    etc.
cmq -help: for global options:
    -o [short | json | cql | undo | none] : output format (for show/list commands)
    etc.
CLAassistant commented 7 years ago

CLA assistant check
All committers have signed the CLA.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.5%) to 67.866% when pulling f6cb6ef253d8a3d24bf6348873a3a03d70c0aebe on cmq into fc00e427570292340fd0b924b017517e7d3cbf51 on master.