zookeeper3.4.5自動清理日誌

 zookeeper3.4.5自動清理日誌 從3.4.0開始,zookeeper提供了自動清理snapshot和事務日誌的功能, 通過配置 autopurge.snapRetainCount 和 autopurge.purgeInterval 這兩個參數能夠實現定時清理了。 這兩個參數都是在zoo.cfg中配置的,將其前面的註釋去掉,根據需要修改日誌保留個數: autopurge.purgeInt
相關文章
相關標籤/搜索