rsmq
rsmq copied to clipboard
Message retention time option
An option on createQueue and setQueueAttributes methods to set the time a message on a queue will be available to be received.
You mean a "TTL" (time-to-live) option?
So after like 7 days a message will be deleted?
Exactly 👍
I would love this feature as we're looking to move to rsmq from SQS due to costs. Is it feasible at all? or is it not possible due to architecture?
Hey @antoniojtorres it sounds like it is possible. I would habe to look into it a bit more and will get back to you. Then i have to find the time to work on it ;)
@smrchy I would be happy to sponsor this feature on behalf of my company if it isn't too complex. I did some digging around and certain data types on redis don't seem to support the standard TTL features. For example bull queue has no ability to support it.
I am currently working to refactor the RSMQ base away from Coffeescript to Typescript. Once that is done i will add this feature.
@smrchy Is this possible today or any known workarround for a TTL for messages in a queue?