Skip to content

Feature Request: Time to Live for Redis Stream Entries #5951

@victorstewart

Description

@victorstewart

Feature Request -> any entry older than X seconds is evicted from the Redis Stream!

I have a bunch of race conditions that can result in duplicate or inverted-in-sequence events that need to be delivered to my app. Currently the cleanest way to solve this is to account for these errors in my app's update processing code.

But! The cleanest way would be to use a Redis Stream, where everything older than 1 hour was deleted, allowing me to double check the correctness of events before pushing them down, without having to manually manage/evict old junk from the stream!

Just a thought :)

Metadata

Metadata

Assignees

No one assigned

    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