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

Provide option to skip queue declaration step for read-only clients #65

Conversation

achilleasa
Copy link
Owner

This PR introduces a boolean declare flag to the Channel.queue method. The flag is true by default but applications with read-only access to the queue can set it to false to skip the queue declaration step (which requires write-access) and get back a Queue instance that they can consume off.

Fixes #58

@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 93.115% when pulling 48ec082 on allow-clients-with-ro-access-to-skip-resource-declarations into cb18a05 on master.

@achilleasa achilleasa merged commit 076ab58 into master Oct 1, 2021
@achilleasa achilleasa deleted the allow-clients-with-ro-access-to-skip-resource-declarations branch October 1, 2021 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option not to declare queue before use
2 participants