Skip to content

Fail setting TTL from property during save operation #236

@rasrov

Description

@rasrov

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions