Hi!
I'm trying to add an EXPIRETIME through the POJOs annotated with redis Data anotation, but I'm not seeing a way. I have seen that the @RedisHash annotation exists, but only timeToLive() can be specified.
What I want to achieve is that through a cron in my java microservice, every time the redis records are consumed, they are deleted.
I'm consuming data from index by aggregation. Cause of that, I can't use GETDEL command to solve this issue.