Created
August 27, 2019 15:01
-
-
Save shri3k/3beb9f3842ba8e9b9c40ff27df35ce6c to your computer and use it in GitHub Desktop.
delete all queues in rabbitmq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rabbitmqctl list_queues | tail -n +4 | awk 'BEGIN {FS="\t"} /amp/ { print $1 }' | xargs -L 1 rabbitmqctl delete_queue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment