https://github.com/makasim/amqpbench
A tool for generating some rate-limited traffic to RabbitMQ queue.
https://github.com/makasim/amqpbench
amqp bench golang golang-package rabbitmq
Last synced: about 1 year ago
JSON representation
A tool for generating some rate-limited traffic to RabbitMQ queue.
- Host: GitHub
- URL: https://github.com/makasim/amqpbench
- Owner: makasim
- Created: 2019-11-20T13:49:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T15:59:57.000Z (over 6 years ago)
- Last Synced: 2025-02-16T19:48:22.183Z (over 1 year ago)
- Topics: amqp, bench, golang, golang-package, rabbitmq
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AMQP Bench
A tool for generating some rate-limited traffic to RabbitMQ queue.
## Use
Install:
```
go get github.com/makasim/amqpbench
```
Run:
```bash
$ amqpbench -rate=10 \
-payload="msgBody" \
-queue=queue-to-send \
-reply-queue=reply-queue \
-amqp="amqp://guest:guest@localhost:5672//"
-rate=50 \
-port=3000
```
Change Rate
```
curl -X GET http://localhost:3000/rate/100
```
## Licence
MIT