1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Updates for NATS Streaming v0.17.0 release

- Added some configuration params in TLS section
- Updated serverz monitoring endpoint with new fields
- Not related to this release, but bring up-to-date list of command
  line parameters (result from "nats-streaming-server -h")

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
Ivan Kozlovic
2020-02-11 16:20:40 -07:00
parent c84fee1398
commit b7cb670299
3 changed files with 29 additions and 18 deletions

View File

@@ -84,6 +84,8 @@ Note that the Streaming Server uses a connection to a NATS Server, and so the NA
| client\_cert | Client key for the streaming server | File path | `client_cert: "/path/to/client/cert_file"` |
| client\_key | Client certificate for the streaming server | File path | `client_key: "/path/to/client/key_file"` |
| client\_ca | Client certificate CA for the streaming server | File path | `client_ca: "/path/to/client/ca_file"` |
| server\_name | Expected hostname returned in the NATS Server certificate | String | `server_name: "theserverhostname"` |
| insecure | Skips the NATS server's certificate chain and host name verification. Should not be used in production | `true` or `false` (default `false`) | `insecure: true` |
## Store Limits Configuration

View File

@@ -32,7 +32,7 @@ Streaming Server Options:
-sl, --signal <signal>[=<pid>] Send signal to nats-streaming-server process (stop, quit, reopen)
--encrypt <bool> Specify if server should use encryption at rest
--encryption_cipher <string> Cipher to use for encryption. Currently support AES and CHAHA (ChaChaPoly). Defaults to AES
--encryption_key <sting> Encryption Key. It is recommended to specify it through the NATS_STREAMING_ENCRYPTION_KEY environment variable instead
--encryption_key <string> Encryption Key. It is recommended to specify it through the NATS_STREAMING_ENCRYPTION_KEY environment variable instead
Streaming Server Clustering Options:
--clustered <bool> Run the server in a clustered configuration (default: false)
@@ -72,7 +72,8 @@ Streaming Server SQL Store Options:
--sql_max_open_conns <int> Maximum number of opened connections to the database
Streaming Server TLS Options:
-secure <bool> Use a TLS connection to the NATS server without verification; weaker than specifying certificates.
-secure <bool> Use a TLS connection to the NATS server without
verification; weaker than specifying certificates.
-tls_client_key <string> Client key for the streaming server
-tls_client_cert <string> Client certificate for the streaming server
-tls_client_cacert <string> Client certificate CA for the streaming server
@@ -120,6 +121,6 @@ NATS Clustering Options:
Common Options:
-h, --help Show this message
-v, --version Show version
--help_tls TLS help
--help_tls TLS help.
```