Skip to content

Support compaction &| deletion. #10

@thedodd

Description

@thedodd

Looks like there is already an issue open for compression. Awesome. In this case, I'm looking for a way to remove old entries. Perhaps from a given offset and back. I see the truncation method, that is definitely useful for certain cases, especially when dealing with Raft and such.

In the case of compaction/deletion, the use case is where a log is only intended to be kept around for some specific amount of time, or where log entries are to be deleted after some specific amount of time. EG, keep messages around for 1 week, after that, remove them.

I'm happy to implement this, as I am strongly considering using this for a project of mine, just wanted to pop a ticket for some general discussion. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions