https://github.com/zweifisch/qdump
dump amqp queue
https://github.com/zweifisch/qdump
Last synced: about 2 months ago
JSON representation
dump amqp queue
- Host: GitHub
- URL: https://github.com/zweifisch/qdump
- Owner: zweifisch
- Created: 2014-10-29T13:35:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-17T22:55:18.000Z (almost 10 years ago)
- Last Synced: 2025-01-27T22:55:09.000Z (4 months ago)
- Language: Go
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qdump
dump amqp queue
declear a queue and bind to exchange
```sh
qdump --exchange exhange --topic topic localhost
```specify queue name and queue ttl
```sh
qdump --queue test-queue \
--exchange exhange \
--topic topic \
--ttl 3600
```dump and filtering with [jq](http://stedolan.github.io/jq/)
```sh
qdump --queue some-queue | jq 'select(.fieldname=="value")'
```get a single field
```sh
qdump --queue some-queue | jq .fieldname
```publish a message
```sh
cat payload.json | qdump --exchange exchange --topic topic localhost
```