rmqlogger

command module
v0.0.0-...-ef5826e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 6 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL