From 00604defaa3522cd1cdd8ce83a893e4031974f78 Mon Sep 17 00:00:00 2001 From: ainsley Date: Thu, 19 Sep 2019 11:58:05 -0500 Subject: [PATCH] add updates based on new server releases --- nats_server/configuration.md | 21 ++++++++++++--------- nats_server/flags.md | 1 + nats_server/tls.md | 2 +- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/nats_server/configuration.md b/nats_server/configuration.md index c443df3..3c14112 100644 --- a/nats_server/configuration.md +++ b/nats_server/configuration.md @@ -101,26 +101,29 @@ authorization: { | Property | Description | | :------ | :---- | -| [`authorization`](auth_intro.md) | configuration map for client authentication/authorization | -| [`cluster`](cluster_config.md) | configuration map for clustering configuration | -| `debug` | if `true` enable debug log messages | +| [`authorization`](auth_intro.md) | Configuration map for client authentication/authorization | +| [`cluster`](cluster_config.md) | Configuration map for clustering configuration | +| `connectionerrorreportattempts` | Number of attempts at which a repeated failed route, gateway or leaf node connection is reported. Default is 1 hour | +| `debug` | If `true` enable debug log messages | | [`gateway`](/gateways/gateway.md) | Gateway configuration map | -| `host` | host for client connections | +| `host` | Host for client connections | | [`http_port`](monitoring.md) | http port for server monitoring | | [`https_port`](monitoring.md) | https port for server monitoring | | [`leafnode`](/leafnodes/leafnode_conf.md) | Leafnode configuration map | -| `listen` | host/port for client connections | +| `listen` | Host/port for client connections | | `max_connections` | Maximum number of active client connections | | `max_control_line` | Maximum length of a protocol line (including subject length) | | `max_payload` | Maximum number of bytes in a message payload | | `max_pending` | Maximum number of bytes buffered for a connection | | `max_subscriptions` | Maximum numbers of subscriptions for a client connection | -| [`operator`](/nats_tools/nsc/nsc.md#nats-server-configuration) | path to an operator JWT | +| `maxtracedmsglen` | Set a limit to the trace of the payload of a message | +| `nosublistcache` | Disable sublist cache globally for accounts. +| [`operator`](/nats_tools/nsc/nsc.md#nats-server-configuration) | Path to an operator JWT | | [`ping_interval`](/developer/connecting/pingpong.md) | Interval in seconds in which the server checks if a connection is active | -| `port` | port for client connections | +| `port` | Port for client connections | | [`resolver`](/nats_tools/nsc/nsc.md#nats-server-configuration) | Resolver type `MEMORY` or `URL` for account JWTs | -| [`tls`](tls.md#tls-configuration) | configuration map for tls for client and http monitoring | -| `trace` | if `true` enable protocol trace log messages | +| [`tls`](tls.md#tls-configuration) | Configuration map for tls for client and http monitoring | +| `trace` | If `true` enable protocol trace log messages | | `write_deadline` | Maximum number of seconds the server will block when writing a to a client (slow consumer) | diff --git a/nats_server/flags.md b/nats_server/flags.md index 2f095e0..553c460 100644 --- a/nats_server/flags.md +++ b/nats_server/flags.md @@ -55,6 +55,7 @@ The following flags are available on the server to configure logging: | `-D`, `--debug` | Enable debugging output | | `-V`, `--trace` | Enable protocol trace log messages | | `-DV` | Enable both debug and protocol trace messages | +| `--max_traced_msg_len` | Maximum printable length for traced messages. 0 for unlimited| You can read more about [logging configuration here](logging.md). diff --git a/nats_server/tls.md b/nats_server/tls.md index 333528d..a81a04f 100644 --- a/nats_server/tls.md +++ b/nats_server/tls.md @@ -11,7 +11,7 @@ Server configuration revolves around a `tls` map, which has the following proper | `curve_preferences` | List of TLS cipher curves to use in order. | | `insecure` | Skip certificate verification. | | `key_file` | TLS certificate key file. | -| `timeout` | TLS handshake timeout in fractional seconds. | +| `timeout` | TLS handshake timeout in fractional seconds. Default set to 2 seconds. | | `verify_and_map` | If `true`, require and verify client certificates and map certificate values for authentication purposes. | | `verify` | If `true`, require and verify client certificates. |