zoo.cfg

This contains some of the following properties, by which we can configure for ZooKeeper:

Property
Description

tickTime

The tickTime decides actually how long eachTick has to be. This part of ZooKeeper determines which servers are up and running at any point in time by sending ticks.

initLimit

The amount of time in ticks for a forwarder to connect to the leader. It's the number of ticks that can be allowed for the initial synchronization phase to take place.

syncLimit

The amount of time that can be allowed for followers to keep in sync with ZooKeeper. If the followers cross this limit and yet don't sync up, they will be dropped.

dataDir

This is the directory in which cluster data information would be stored in ZooKeeper. It should initially be empty.

clientPort

This is the port at which Solr will access ZooKeeper; when this file is in place, you can start a ZooKeeper instance.

maxClientCnxns

The maximum number of client connections you want to handle.

autopurge.snapRetainCount

The number of snapshots to retain in the data directory.

Autopurge.purgeInterval

The purge task interval in hours. After this much time, it will start the retain task.

It is not recommended to use embedded ZooKeeper in production.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.159.139