RMQLogger
RMQLogger is a logger for RabbitMQ messages.
How it works
It creates a temporary queue and binds this queue to your exchange with the provided binding_key.
It then waits for messages and saves them in the file specified.
Once stopped, the created queue is automatically deleted by the RabbitMQ.
Installing
$ go install github.com/jsabino/rmqlogger@latest
Basic Usage
$ rmqlogger --exchange=your_exchange
Advanced Usage
$ rmqlogger --exchange=my_exchange && \
binding=my_binding_key && \
file=my_file.log && \
cs=amqp://guest:guest@localhost:5672/my_vhost
License
MIT License, please see LICENSE for details.