I found two methods for purging zookeeper data

1) Using PurgeTxnLog

2) Setting zoo.cfg with:

# Enable regular purging of old data and transaction logs every 24 hours
autopurge.purgeInterval=24
autopurge.snapRetainCount=5

Do both do the same thing? Which one should I use?

Reply via email to