Is there a way so that I expire a “published” message in redis?
I need this because, as per my understanding, any published message will be put in a queue till there is a subscriber. In such a case if there is no subscriber, I am storing the data even after it may have become useless.
Published message never store in redis. Redis PUB/SUB