-
Notifications
You must be signed in to change notification settings - Fork 781
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: purge scheduled messages #698
Comments
Thank you for suggesting this feature. However, since we're not considering it in the short-term, we've added it to our backlog. To help us give this the right priority, it would be helpful to see others vote and support this feature, as well as explain their scenarios. Moreover, we are currently working on the two features mentioned in the request, which might be able to help accomplish this ask already. Once these are implemented, we will discuss internally if this needs to be further addressed. |
Yeah, I realize it won't be available in the short term (1-3 years).
It won't. One feature is purging the whole queue - not applicable. Another feature is to peek messages by status - also not applicable because it forces to receive and delete all scheduled messages. Arguably, the 2nd feature is a workaround (instead of peeking all messages, just peek and complete scheduled ones), but if we talk about significant quantities of messages, that's still going to be painful.
That's fair. Thanks. |
We have added this feature in our backlog, however we currently don't have an ETA on when development might start on this. For now, to help us give this the right priority, it would be helpful to see others vote and support this feature, as well as explain their scenarios. |
A couple of scenarios I encountered.
|
A real scenario in production that took place yesterday as a result of an Azure outage in East US. Azure Container Apps had a horrible day. ACA app has scheduled messages and the scheduled time got messed up (a bad clock skew in the containers I suspect). Messages got scheduled for too long in the future for a system where it's critical to have messages being not too far away from the desired time. In this case we're talking about a discrepancy of multiple hours. The support staff panicking because there's no way with ASB to cancel those scheduled messages (this issue) and can't receive and delete messages by their sequence number (#453). What would be the recommendation for production in this case to get rid of the scheduled messages w/o risking losing correct messages in the queue, @EldertGrootenboer ? |
Description
There are currently two feature requests
that, over time, have exposed the need for a third feature, combining the two - the ability to purge scheduled messages.
A real-world scenario is an entity that contains many scheduled messages that get invalidated and need to be purged. As often happens, the same entity might contain active messages that must be retained. A purge by receive-and-delete is not applicable. In the absence of the ability to peek at messages by their status, the workaround is to peek all messages and delete scheduled ones. This can take hours, based on the number of scheduled messages. A solution would be to add a feature to purge scheduled.
The text was updated successfully, but these errors were encountered: