Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

redis pub sub and ttl

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.

like image 222
Amit Avatar asked Oct 14 '25 13:10

Amit


1 Answers

Published message never store in redis. Redis PUB/SUB

like image 69
Ganesh Kumar Avatar answered Oct 18 '25 08:10

Ganesh Kumar