Ricardo Bernardino
05/25/2021, 9:30 AMautopurge.snapRetainCount
and autopurge.purgeInterval
). The logs are transaction logs, not application level logs, and they relate to the snapshots such that Zookeeper can recover from a failure by using the latest snapshot and the transaction logs.
The purgeInterval
is 0 by default so it does not purge anything. and snapRetainCount
is 3 - but again this is disabled.
Depending on the docker image and helm chart you are using you already have an env var to change the `purgeInterval`:
• ZOO_AUTOPURGE_PURGEINTERVAL
for the official docker image
• ZK_PURGE_INTERVAL
for the zookeeper incubator helm chart
Hope this helps!Xiang Fu
Kishore G
Laxman Ch
05/25/2021, 4:26 PMLaxman Ch
05/25/2021, 4:28 PM