zoo.cfg properties
This is a reference page for zoo.cfg properties set by the operator.
Data directory properties
The following zoo.cfg properties control how ZooKeeper manages the files in its data directory.
You can override them using configOverrides.
| Property | Unit | Default set by the operator | Description |
|---|---|---|---|
|
path |
|
The location where ZooKeeper stores the snapshots of its in-memory database and the transaction log of updates to that database. |
|
hours |
|
Time between cleanup runs. |
|
count |
|
Number of recent snapshots (and their transaction logs) to keep. Minimum |
|
KiB |
|
Take a snapshot after the log reaches roughly this size. A non-positive value disables this trigger. |
|
KiB |
|
Block size in which the transaction log file is pre-allocated. |