nats-site icon indicating copy to clipboard operation
nats-site copied to clipboard

gnatsd config should specify defaults

Open shilov opened this issue 7 years ago • 2 comments

Documentation for the gnatsd config should specify default values for properties that are required.

Alternatively, the example config can be updated to reflect the defaults for required properties.

This is a common practice in ops. It's not instinctive to visit the gnatsd godoc to figure out what the defaults are.

shilov avatar Apr 05 '17 03:04 shilov

@shilov would it be sufficient to list the defaults in the gnatsd usage statement (i.e. the output of gnatsd -h)? Some of the defaults are already defined there, but not all.

mcqueary avatar Apr 05 '17 23:04 mcqueary

@mcqueary that would definitely be helpful

shilov avatar Apr 07 '17 09:04 shilov