export message to multiple files
Closed this issue · 1 comments
mojtabye commented
adding an ability to export a queue with millions of messages to multiple files with specific message count gonna help!
amqp-tool --host localhost -u user -p pass -q queue --count 500 --read 20000000 --export data.json
FGRibreau commented
No need, just respect Unix principles, see https://unix.stackexchange.com/a/26176 :)
amqp-tool --host localhost -u user -p pass -q queue --count 500 --read 20000000 --export | split -l 1000 -