Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: purge a queue (delete all messages) #5

Open
svenvarkel opened this issue Aug 26, 2016 · 4 comments
Open

Feature request: purge a queue (delete all messages) #5

svenvarkel opened this issue Aug 26, 2016 · 4 comments
Assignees

Comments

@svenvarkel
Copy link

Hi!

First thanks for excellent tool!

I have a feature request for the CLI - a possibility to purge all messages from a single queue from command line.

@mpneuried mpneuried self-assigned this Aug 29, 2016
@misterbridge
Copy link

Is there any easy way today to clear a queue ?
I cannot find any (how to delete a queue ? how to list all IDs ?)

Thanks

@mpneuried
Copy link
Owner

The only way to do this safe and performant would be to delete and recreate the queue.
Currently a delete of a queue is not implemented within rsmq-cli.

@misterbridge: If a delete and recreate would fit your your needs i could implement this?
A purge then would look like:

$ rsmq delete -q my_queue
$ rsmq create -q my_queue

@misterbridge
Copy link

Yes that would be really great !

@GuillaumeDerivery
Copy link

Hey ! What's up guys?
The project seems stuck. I recently deployed rsmq for personal needs and thought it'd be great to update the CLI accordingly. I am in need of a deleting queue feature so I just did it.
The fork is right here:
https://github.com/GuillaumeDerivery/rsmq-cli

@mpneuried Poke me if you're willing to maintain this repo again I will create a PR here ;)
Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants