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

Add support for deleting queues after flushing them #1

Open
wants to merge 1 commit into
base: es/ensure-only-canonical-queue-names-are-added-to-rmq
Choose a base branch
from

Conversation

es
Copy link

@es es commented Apr 14, 2023

In an environment where we're trying to reset a queue by flushing it (e.g. tests), it can be desirable to also have the ability for the queue to be deleted. For example, if you'd like to create a new queue with different parameters, but the same name.

In an environment where we're trying to reset a queue by flushing it (e.g. tests), it can be desirable to also have the ability
for the queue to be deleted. For example, if you'd like to create a new queue with different parameters, but the same name.
@twooster
Copy link

This change makes me a bit sad, as it's not behavior I'd expect to exist on a "flush" fn call (I'd rather have purging as part of the test infrastructure), but for what it is, it looks good. I would add a "deleting" log line, however.

/approve

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