github.com/nats-io/nats-server/v2@v2.11.0-preview.2/server/configs/test.conf (about) 1 # Simple config file 2 3 server_name: testing_server 4 5 listen: 127.0.0.1:4242 6 7 http: 8222 8 9 http_base_path: /nats 10 11 authorization { 12 user: derek 13 password: porkchop 14 timeout: 1 15 } 16 17 # logging options 18 debug: false 19 trace: true 20 logtime: false 21 syslog: true 22 remote_syslog: "udp://foo.com:33" 23 24 # pid file 25 pid_file: "/tmp/nats-server/nats-server.pid" 26 27 # prof_port 28 prof_port: 6543 29 30 # max_connections 31 max_connections: 100 32 33 # max_subscriptions (per connection) 34 max_subscriptions: 1000 35 36 # max_pending 37 max_pending: 10000000 38 39 # maximum control line 40 max_control_line: 2048 41 42 # maximum payload 43 max_payload: 65536 44 45 # ping interval and no pong threshold 46 ping_interval: "60s" 47 ping_max: 3 48 49 # how long server can block on a socket write to a client 50 write_deadline: "3s" 51 52 lame_duck_duration: "4m" 53 54 # report repeated failed route/gateway/leafNode connection 55 # every 24hour (24*60*60) 56 connect_error_reports: 86400 57 58 # report failed reconnect events every 5 attempts 59 reconnect_error_reports: 5