mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Merge pull request #60 from nats-io/release_updates_to_docs
add updates based on new server releases
This commit is contained in:
commit
c2bd4e230e
@ -101,26 +101,30 @@ authorization: {
|
|||||||
|
|
||||||
| Property | Description |
|
| Property | Description |
|
||||||
| :------ | :---- |
|
| :------ | :---- |
|
||||||
| [`authorization`](auth_intro.md) | configuration map for client authentication/authorization |
|
| [`authorization`](auth_intro.md) | Configuration map for client authentication/authorization |
|
||||||
| [`cluster`](cluster_config.md) | configuration map for clustering configuration |
|
| [`cluster`](cluster_config.md) | Configuration map for clustering configuration |
|
||||||
| `debug` | if `true` enable debug log messages |
|
| `connect_error_reports` | Number of attempts at which a repeated failed route, gateway or leaf node connection is reported. Default is 3600, approx every hour.
|
||||||
|
| `debug` | If `true` enable debug log messages |
|
||||||
| [`gateway`](/gateways/gateway.md) | Gateway configuration map |
|
| [`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 |
|
| [`http_port`](monitoring.md) | http port for server monitoring |
|
||||||
| [`https_port`](monitoring.md) | https port for server monitoring |
|
| [`https_port`](monitoring.md) | https port for server monitoring |
|
||||||
| [`leafnode`](/leafnodes/leafnode_conf.md) | Leafnode configuration map |
|
| [`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_connections` | Maximum number of active client connections |
|
||||||
| `max_control_line` | Maximum length of a protocol line (including subject length) |
|
| `max_control_line` | Maximum length of a protocol line (including subject length) |
|
||||||
| `max_payload` | Maximum number of bytes in a message payload |
|
| `max_payload` | Maximum number of bytes in a message payload |
|
||||||
| `max_pending` | Maximum number of bytes buffered for a connection |
|
| `max_pending` | Maximum number of bytes buffered for a connection |
|
||||||
| `max_subscriptions` | Maximum numbers of subscriptions for a client 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 |
|
| `max_traced_msg_len` | Set a limit to the trace of the payload of a message |
|
||||||
|
| `disable_sublist_cache` | 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 |
|
| [`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 |
|
||||||
|
| `reconnect_error_reports` | Number of failed attempt to reconnect a route, gateway or leaf node connection. Default is to report every attempt.
|
||||||
| [`resolver`](/nats_tools/nsc/nsc.md#nats-server-configuration) | Resolver type `MEMORY` or `URL` for account JWTs |
|
| [`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 |
|
| [`tls`](tls.md#tls-configuration) | Configuration map for tls for client and http monitoring |
|
||||||
| `trace` | if `true` enable protocol trace log messages |
|
| `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) |
|
| `write_deadline` | Maximum number of seconds the server will block when writing a to a client (slow consumer) |
|
||||||
|
|
||||||
|
|
||||||
|
@ -55,6 +55,7 @@ The following flags are available on the server to configure logging:
|
|||||||
| `-D`, `--debug` | Enable debugging output |
|
| `-D`, `--debug` | Enable debugging output |
|
||||||
| `-V`, `--trace` | Enable protocol trace log messages |
|
| `-V`, `--trace` | Enable protocol trace log messages |
|
||||||
| `-DV` | Enable both debug and protocol trace 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).
|
You can read more about [logging configuration here](logging.md).
|
||||||
|
|
||||||
|
@ -102,6 +102,7 @@ N/A
|
|||||||
"total_connections": 0,
|
"total_connections": 0,
|
||||||
"routes": 0,
|
"routes": 0,
|
||||||
"remotes": 0,
|
"remotes": 0,
|
||||||
|
"leafnodes": 0,
|
||||||
"in_msgs": 0,
|
"in_msgs": 0,
|
||||||
"out_msgs": 0,
|
"out_msgs": 0,
|
||||||
"in_bytes": 0,
|
"in_bytes": 0,
|
||||||
|
@ -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. |
|
| `curve_preferences` | List of TLS cipher curves to use in order. |
|
||||||
| `insecure` | Skip certificate verification. |
|
| `insecure` | Skip certificate verification. |
|
||||||
| `key_file` | TLS certificate key file. |
|
| `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_and_map` | If `true`, require and verify client certificates and map certificate values for authentication purposes. |
|
||||||
| `verify` | If `true`, require and verify client certificates. |
|
| `verify` | If `true`, require and verify client certificates. |
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user