Configuration #
INFINI Pizza supports serval methods to overwrite the default configuration.
CLI parameters #
> pizza --help
USAGE:
pizza [OPTIONS]
OPTIONS:
-c, --config <config> The location of config file (default "pizza.yml")
-h, --help Print help information
-l, --log <log> The log level, options: trace,debug,info,warn,error
-V, --version Print version information
Configuration file #
You can fully customize INFINI Pizza by utilizing the pizza.yaml
configuration
file:
log:
# Set the log level
level: Info
network:
# Overwrite the listening address
address: 127.0.0.1:9100
storage:
# Enable compression of data storage
compression: ZSTD
wal_consumer:
# Set the consumption interval of WAL records
interval: 1