-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
江河 edited this page Jul 1, 2026
·
1 revision
Install the CLI:
npm install -g mqgov-cli
mqgov version
mqgov doctor -o jsonCreate and select a broker context:
mqgov ctx set dev --backend kafka --brokers 127.0.0.1:9092
mqgov ctx use dev
mqgov ctx testRead and preview safely:
mqgov topic list -o json
mqgov topic describe orders -o json
mqgov message peek orders --count 5 -o json
mqgov message tail orders --max-messages 10 -o json
mqgov group reset-offset billing orders --to latest --dry-run -o jsonApply a governed high-risk operation:
mqgov group reset-offset billing orders --to latest --yes --ticket OPS-123 --allow-offset-reset
mqgov audit query --since 1h -o jsonUse --protected for production contexts. Protected contexts raise dangerous operations by one tier.