Closed Prachil-MI closed 2 weeks ago
@Prachil-MI , if you call a message to be deleted, its deleted it should not be consumed by the application in anyway. Are you observing a different behaviour?
@sonus21 Correct. That is the expected behaviour. The application does not use the message in any way. But the message is held in Redis for 30 minutes. The metadata and the message has a field deleted: true
.
Since the message stays in Redis for 30 minutes, the Redis memory is not usable during that period of time.
@Prachil-MI do you've a usecase where you delete large number of messages in short duration? I expected this feature to be used once in a while or on rare occasions.
@sonus21
do you've a usecase where you delete large number of messages in short duration?
Correct. That is the exact use case that I have.
I expected this feature to be used once in a while or on rare occasions.
Based on the current implementation, are there any alternatives?
currently there's no way, but if you want to reduce the Redis memory usage, you can set these properties
Ok. I will try. Thank you very much for your help! Closing the ticket.
What's not working?
Used following method to delete a message from queue.
The message is marked as deleted. But it is not removed immediately. I am assuming that this is the intended behaviour.
Questions:
What're application dependencies ?
How to Reproduce (optional)?
Additional Details (optional)
Make sure to use priority while enqueueing the message.