iggy icon indicating copy to clipboard operation
iggy copied to clipboard

Retention policy based on topic size

Open spetz opened this issue 1 year ago • 1 comments

Currently, the automatic cleanup of expired segments is based only on the time, e.g. delete segments older than 7 days etc.

It could be also beneficial to extend the existing policy with size based approach, for example, the segment is expired thus marked for deletion if the total size of the topic reaches the specific threshold.

It should be possible to enable both policies at the same time (time and size based).

spetz avatar Nov 08 '23 14:11 spetz

I will do it.

hubcio avatar Nov 08 '23 15:11 hubcio