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 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