Hi,

I have a beginner's question. I'd like to confirm that I'm interpreting the
docs correctly.

My goal is a setup where, by default, logs are compacted after 7 days and
the compacted records are retained indefinitely. Does the following
combination of settings achieve this?

log.retention.hours=168
log.cleaner.enable=true
log.cleanup.policy=compact

An alternative interpretation of the docs, which I can't quite rule out
from my reading so far, would be that this causes logs to be compacted when
the cleaner does a periodic run and then the compacted logs are deleted
when the retention period expires (after 7 days). I think that's not right,
though either way, it would be useful if more of the high-level
documentation articles included concrete configuration setting examples.

Thanks for your help,
David

Reply via email to