-
-
Save satishdotpatel/df751b5281726dca77065f78eab9584a to your computer and use it in GitHub Desktop.
RabbitMQ Purge queue
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
### Show message count in queue | |
rabbitmqctl list_queues -p /nova | grep notification | |
rabbitmqctl list_queues -p /neutron | grep notification | |
# https://bugs.launchpad.net/mos/+bug/1576863 | |
rabbitmqctl list_queues messages consumers name -p /neutron | grep -e q-server-resource-versions_fanout -e q-reports-plugin | |
### Purge/delete messages from queue | |
rabbitmqctl purge_queue notifications.error -p /nova | |
rabbitmqctl purge_queue notifications.info -p /nova | |
rabbitmqctl purge_queue versioned_notifications.error -p /nova | |
rabbitmqctl purge_queue versioned_notifications.info -p /nova | |
rabbitmqctl purge_queue notifications.info -p /neutron |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment