Skip to content

Commit fcca9ac

Browse files
authored
Merge pull request #2216 from nats-io/nats_2_9_3
[nats] Release v2.9.3
2 parents b79c4c2 + 92a4928 commit fcca9ac

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

nats/content.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ The routing protocol has been dramatically improved and adds support for account
3535

3636
$ docker run -d --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 %%IMAGE%%
3737
[INF] Starting nats-server
38-
[INF] Version: 2.9.0
39-
[INF] Git: [517d9b3]
38+
[INF] Version: 2.9.3
39+
[INF] Git: [25e82d7d]
4040
[INF] Cluster: my_cluster
41-
[INF] Name: NDKNWZCFBABRJK6ABEFZNHU2OJNXNITRYRUM7CVWXWPDFTTJPX4EMI7T
42-
[INF] ID: NDKNWZCFBABRJK6ABEFZNHU2OJNXNITRYRUM7CVWXWPDFTTJPX4EMI7T
41+
[INF] Name: NB3YN6SPZF6MWTLPGYLRE2AD5VVWSW443RO43YR5GC62I463QPYGOL5C
42+
[INF] ID: NB3YN6SPZF6MWTLPGYLRE2AD5VVWSW443RO43YR5GC62I463QPYGOL5C
4343
[INF] Using configuration file: /etc/nats/nats-server.conf
4444
[INF] Starting http monitor on 0.0.0.0:8222
4545
[INF] Listening for client connections on 0.0.0.0:4222
@@ -57,12 +57,12 @@ $ docker run -d --name=nats-2 --link nats-main -p 4222:4222 -p 6222:6222 -p 8222
5757
# If you want to verify the routes are connected, try this instead:
5858
$ docker run -d --name=nats-2 --link nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 %%IMAGE%% -c /etc/nats/nats-server.conf --routes=nats-route://ruser:T0pS3cr3t@nats-main:6222 -DV
5959
[INF] Starting nats-server
60-
[INF] Version: 2.9.0
61-
[INF] Git: [517d9b3]
62-
[DBG] Go build: go1.19.1
60+
[INF] Version: 2.9.3
61+
[INF] Git: [25e82d7d]
62+
[DBG] Go build: go1.19.2
6363
[INF] Cluster: my_cluster
64-
[INF] Name: NBHA5GIXU7AHLOIQGHJ4VV7QIOPOHYN65FIJSFEI2CCM3VIKGJ66VJYS
65-
[INF] ID: NBHA5GIXU7AHLOIQGHJ4VV7QIOPOHYN65FIJSFEI2CCM3VIKGJ66VJYS
64+
[INF] Name: NDFNAUTD4RKS2O7CMKMDMTV3DW5NIKFCQDDMXW2A5YXLUZWWX7RYFCKB
65+
[INF] ID: NDFNAUTD4RKS2O7CMKMDMTV3DW5NIKFCQDDMXW2A5YXLUZWWX7RYFCKB
6666
[INF] Using configuration file: /etc/nats/nats-server.conf
6767
[DBG] Created system account: "$SYS"
6868
[INF] Starting http monitor on 0.0.0.0:8222
@@ -76,7 +76,7 @@ $ docker run -d --name=nats-2 --link nats-main -p 4222:4222 -p 6222:6222 -p 8222
7676
[DBG] Trying to connect to route on nats-main:6222 (172.17.0.3:6222)
7777
[DBG] 172.17.0.3:6222 - rid:4 - Route connect msg sent
7878
[INF] 172.17.0.3:6222 - rid:4 - Route connection created
79-
[DBG] 172.17.0.3:6222 - rid:4 - Registering remote route "NCTDSUCJPZVSZH2WHOUMJIMDV6FVJOBLCLMN2K73T2IPAKG6B7HXFAS4"
79+
[DBG] 172.17.0.3:6222 - rid:4 - Registering remote route "NDQAU6HVD44TI2X5R2QRYJEIQR3MMHCFTW2BTSXBILBOZHJ4Z7AR7GGR"
8080
[DBG] 172.17.0.3:6222 - rid:4 - Sent local subscriptions to route
8181
```
8282

@@ -118,17 +118,19 @@ cluster {
118118

119119
```bash
120120
Server Options:
121-
-a, --addr <host> Bind to host address (default: 0.0.0.0)
121+
-a, --addr, --net <host> Bind to host address (default: 0.0.0.0)
122122
-p, --port <port> Use port for clients (default: 4222)
123-
-n, --name <server_name> Server name (default: auto)
123+
-n, --name
124+
--server_name <server_name> Server name (default: auto)
124125
-P, --pid <file> File to store PID
125126
-m, --http_port <port> Use port for http monitoring
126127
-ms,--https_port <port> Use port for https monitoring
127128
-c, --config <file> Configuration file
128129
-t Test configuration and exit
129130
-sl,--signal <signal>[=<pid>] Send signal to nats-server process (stop, quit, reopen, reload)
130-
<pid> can be either a PID (e.g. 1) or the path to a PID file (e.g. /var/run/nats-server.pid)
131+
pid> can be either a PID (e.g. 1) or the path to a PID file (e.g. /var/run/nats-server.pid)
131132
--client_advertise <string> Client URL to advertise to other servers
133+
--ports_file_dir <dir> Creates a ports file in the specified directory (<executable_name>_<pid>.ports).
132134

133135
Logging Options:
134136
-l, --log <file> File to redirect log output
@@ -140,10 +142,12 @@ Logging Options:
140142
-VV Verbose trace (traces system account as well)
141143
-DV Debug and trace
142144
-DVV Debug and verbose trace (traces system account as well)
145+
--log_size_limit <limit> Logfile size limit (default: auto)
146+
--max_traced_msg_len <len> Maximum printable length for traced messages (default: unlimited)
143147

144148
JetStream Options:
145-
-js, --jetstream Enable JetStream functionality.
146-
-sd, --store_dir <dir> Set the storage directory.
149+
-js, --jetstream Enable JetStream functionality
150+
-sd, --store_dir <dir> Set the storage directory
147151

148152
Authorization Options:
149153
--user <user> User required for connections
@@ -164,6 +168,10 @@ Cluster Options:
164168
--no_advertise <bool> Do not advertise known cluster information to clients
165169
--cluster_advertise <string> Cluster URL to advertise to other servers
166170
--connect_retries <number> For implicit routes, number of connect retries
171+
--cluster_listen <url> Cluster url from which members can solicit routes
172+
173+
Profiling Options:
174+
--profile <port> Profiling HTTP port
167175

168176
Common Options:
169177
-h, --help Show this message

0 commit comments

Comments
 (0)