Configuration

Configuration lives in /etc/solace/config.toml. Changes are picked up on reload; only listener changes require a restart.

[server]
listen = "127.0.0.1:7431"
workers = 4

[storage]
path = "/var/lib/solace"
retention = "30d"

[telemetry]
metrics = true

Options

KeyDefaultNotes
server.workers4One per physical core is usually enough.
storage.retention30dSegments older than this are compacted away.
telemetry.metricstrueExposes Prometheus metrics on the admin port.
Keep the listener on loopback and terminate TLS in front of it.