LinkedDataEventStreams icon indicating copy to clipboard operation
LinkedDataEventStreams copied to clipboard

Latest state + time retention

Open sandervd opened this issue 2 years ago • 2 comments

The idea of this retention policy is that it combines the benefits of snapshots with retention. This way, if replication of state is the concern of the client, a log that is as small as possible can be offered. This saves resources for both publisher and subscriber.

The idea of the algorithm is explained here: https://docs.confluent.io/kafka/design/log_compaction.html

sandervd avatar Apr 21 '23 09:04 sandervd

What Sander wants to do is say something like: I want to keep 1 hour of data, for which I also will only keep the latest version. Today it’s only possible to say you will keep all latest versions until the end of time, and you will keep all data for the last 1 hour.

We need a new design for retention policies to allow for the first use case.

pietercolpaert avatar Apr 28 '25 07:04 pietercolpaert