-
Notifications
You must be signed in to change notification settings - Fork 76
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: can a Queue has state like 'pause' or 'running' #366
Comments
Something like this should be possible. One way could be through the use of roles and priveldges. For example, have separate roles created for the consumers and producers. Then control read and write access by changing those priveldges. Something like There's probably something that could be built into the pgmq project directly too, but I'll need to think about it a bit more. |
But why? I understand the need to pause queues if you have a push model, but for a pull model, it doesn't seem necessary. |
For example: the consumer downstream has something wrong or uncontrolled behavior, need just stop consuming but not all whole application. |
I'm not aware of any pull-based MQ solution that has this feature. |
Sometimes, the queue needs state control, especially for consumers/subscribers.
Typically, such states (running, pause) do not affect the producer. However, there could also be special states like "stopped" to manage production and pushing.
Is it possible for us to add this state control?
The text was updated successfully, but these errors were encountered: