title: redis pub sub and ttl
body: <p>Is there a way so that I expire a "published" message in redis?</p>
  
  <p>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.</p>