Skip to content

Should messages be manually deleted after consumption? #135

Answered by weyoss
hamez0r asked this question in Q&A
Discussion options

You must be logged in to vote

I believe that the documentation was not clear enough about message storage.

All published messages regardless of their statuses (scheduled, pending, acknowledged, dead-lettered, etc.) are stored in their respective queues until explicitly deleted.

RedisSMQ provide dedicated classes to manage acknowledged and dead-lettered messages. To make use of these classes dedicated storage for these types of messages needs to be enabled.

Please refer to https://github.com/weyoss/redis-smq/blob/master/packages/redis-smq/docs/message-storage.md for more details.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hamez0r
Comment options

Answer selected by weyoss
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants