A dotnet tool
to import / export from RabbitMQ queues
- Define source and destinations and move messages between them
- Fast exports and imports (using batches and push-based subscriptions)
- Runnable and installable as a tool using
dotnet tool
- Supports one-shot and continuous transfers of messages
Package | Nuget |
---|---|
MBW.Tools.RabbitDump |
To install, run: dotnet tool install --global MBW.Tools.RabbitDump
. See the help using rabbitdump --help
.
To export:
rabbitdump --input amqp://myuser:mypass@server:port --output data.zip queue1 queue2
To import:
rabbitdump --input data.zip --output amqp://myuser:mypass@server:port
RabbitDump supports these sources
Name | Type (for overriding) | Example | Notes |
---|---|---|---|
Zip | zip |
--input myfile.zip |
Zips can only be a one-shot source |
AMQP | amqp |
amqp |
--input amqp://user:pass@localhost:port/vhost --input amqp://user:pass@localhost:port/ |
RabbitDump supports these destinations
Name | Type (for overriding) | Example | Notes |
---|---|---|---|
Zip | zip |
--output myfile.zip |
The zip must not exist before starting |
AMQP | amqp |
--output amqp://user:pass@localhost:port/vhost --output amqp://user:pass@localhost:port/ |
Messages are mandatory, the receiver must be able to route them |
- Replay messages with same delays as when they were first created
- RabbitMQ API support to list queues, support wildcards in queue names
- Add AWS SQS queues
- Option to append to zip outputs