# Zookeeper Configuration

**URL:** <https://forum.confluent.io/t/zookeeper-configuration/5781>\
**Category:** Ops\
**Created:** [15 August 2022 07:21 UTC](https://forum.confluent.io/t/zookeeper-configuration/5781 "2022-08-15T07:21:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasmine.roldan](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@hasmine.roldan](https://forum.confluent.io/u/hasmine.roldan)\
**Post date:** [15 August 2022 07:21 UTC](https://forum.confluent.io/t/zookeeper-configuration/5781/1 "2022-08-15T07:21:03Z")

</div>

Hi,

Good day!

Does anyone is familiar with autopurge.snapRetainCount and autopurge.purgeInterval? I’m wondering if I should add it in my 3 node cluster configuration.

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [15 August 2022 08:28 UTC](https://forum.confluent.io/t/zookeeper-configuration/5781/2 "2022-08-15T08:28:04Z")

</div>

hi @hasmine.roldan

I would recommend to add it to your configuration.  
default parameter for `autopurge.snapRetainCount`should be 3 which keeps the 3 current zookeeper snapshots.

`autopurge.purgeInterval` enables autopurging if set to an value equal or higher than 1.

best,  
michael

---

<div class="post-metadata">

**Author:** ![hasmine.roldan](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@hasmine.roldan](https://forum.confluent.io/u/hasmine.roldan)\
**Post date:** [17 August 2022 03:32 UTC](https://forum.confluent.io/t/zookeeper-configuration/5781/3 "2022-08-17T03:32:42Z")

</div>

Hi @mmuehlbeyer

Thank you!
