Skip to content

Dapr PubSub API: Trim Redis stream when TTL is set #3664

@alicejgibbons

Description

@alicejgibbons

Describe the feature

Dapr should trim the pubsubs in redis streams honoring TTL.

When using redis streams, redis data is not purged once TTL expires. It's needed to write a custom cleaner, but this cleaner does not have visibility to the requested TTL for the message (and the cleaner would break once implementation details from dapr change).

Release Note

RELEASE NOTE: ADD Redis streams TTL deletes messages.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions