Hi,
Unfortunately, we are still using Zookeeper 3.3.6 (patched) in Talend ESB, the new parameters autopurge.snapRetainCount and autopurge.purgeInterval only introduced from Zookeeper 3.4.0. I'm not sure but maybe you have to write scripts to do it currently.
HTH