mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
40 lines
521 B
Plaintext
40 lines
521 B
Plaintext
|
|
# Simple config file
|
|
|
|
port: 4242
|
|
net: localhost
|
|
|
|
http_port: 8222
|
|
|
|
authorization {
|
|
user: derek
|
|
password: bella
|
|
timeout: 1
|
|
}
|
|
|
|
# logging options
|
|
debug: false
|
|
trace: true
|
|
logtime: false
|
|
log_file: "/tmp/gnatsd.log"
|
|
syslog: true
|
|
remote_syslog: "udp://foo.com:33"
|
|
|
|
# pid file
|
|
pid_file: "/tmp/gnatsd.pid"
|
|
|
|
# prof_port
|
|
prof_port: 6543
|
|
|
|
# max_connections
|
|
max_connections: 100
|
|
|
|
# maximum control line
|
|
max_control_line: 2048
|
|
|
|
# maximum payload
|
|
max_payload: 65536
|
|
|
|
# slow consumer threshold
|
|
max_pending_size: 10000000
|