1
0
Эх сурвалжийг харах

[nats-streaming] Release v0.11.0

Details can be found [here](https://github.com/nats-io/nats-streaming-server/releases/tag/v0.11.0)

Signed-off-by: Ivan Kozlovic <[email protected]>
Ivan Kozlovic 7 жил өмнө
parent
commit
23b72802a3

+ 58 - 56
nats-streaming/content.md

@@ -62,26 +62,26 @@ $ docker run -d -p 4222:4222 -p 8222:8222 %%IMAGE%%
 Output that you would get if you had started with `-ti` instead of `d` (for daemon):
 Output that you would get if you had started with `-ti` instead of `d` (for daemon):
 
 
 ```bash
 ```bash
-[1] 2018/06/19 22:12:32.348054 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.10.0
-[1] 2018/06/19 22:12:32.348103 [INF] STREAM: ServerID: 8o7EkmnxzYOx5UGzfVqJhd
-[1] 2018/06/19 22:12:32.348106 [INF] STREAM: Go version: go1.10.3
-[1] 2018/06/19 22:12:32.348605 [INF] Starting nats-server version 1.1.0
-[1] 2018/06/19 22:12:32.348627 [INF] Git commit [not set]
-[1] 2018/06/19 22:12:32.348747 [INF] Starting http monitor on 0.0.0.0:8222
-[1] 2018/06/19 22:12:32.348833 [INF] Listening for client connections on 0.0.0.0:4222
-[1] 2018/06/19 22:12:32.348850 [INF] Server is ready
-[1] 2018/06/19 22:12:32.377921 [INF] STREAM: Recovering the state...
-[1] 2018/06/19 22:12:32.377973 [INF] STREAM: No recovered state
-[1] 2018/06/19 22:12:32.633579 [INF] STREAM: Message store is MEMORY
-[1] 2018/06/19 22:12:32.633662 [INF] STREAM: ---------- Store Limits ----------
-[1] 2018/06/19 22:12:32.633668 [INF] STREAM: Channels:                  100 *
-[1] 2018/06/19 22:12:32.633672 [INF] STREAM: --------- Channels Limits --------
-[1] 2018/06/19 22:12:32.633676 [INF] STREAM:   Subscriptions:          1000 *
-[1] 2018/06/19 22:12:32.633679 [INF] STREAM:   Messages     :       1000000 *
-[1] 2018/06/19 22:12:32.633682 [INF] STREAM:   Bytes        :     976.56 MB *
-[1] 2018/06/19 22:12:32.633686 [INF] STREAM:   Age          :     unlimited *
-[1] 2018/06/19 22:12:32.633690 [INF] STREAM:   Inactivity   :     unlimited *
-[1] 2018/06/19 22:12:32.633734 [INF] STREAM: ----------------------------------
+[1] 2018/09/04 20:53:14.599922 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.11.0
+[1] 2018/09/04 20:53:14.599966 [INF] STREAM: ServerID: 9CkJfj17Splb7IJCQd6YHF
+[1] 2018/09/04 20:53:14.599969 [INF] STREAM: Go version: go1.11
+[1] 2018/09/04 20:53:14.600488 [INF] Starting nats-server version 1.3.0
+[1] 2018/09/04 20:53:14.600525 [INF] Git commit [not set]
+[1] 2018/09/04 20:53:14.600600 [INF] Starting http monitor on 0.0.0.0:8222
+[1] 2018/09/04 20:53:14.600658 [INF] Listening for client connections on 0.0.0.0:4222
+[1] 2018/09/04 20:53:14.600668 [INF] Server is ready
+[1] 2018/09/04 20:53:14.627318 [INF] STREAM: Recovering the state...
+[1] 2018/09/04 20:53:14.627338 [INF] STREAM: No recovered state
+[1] 2018/09/04 20:53:14.877917 [INF] STREAM: Message store is MEMORY
+[1] 2018/09/04 20:53:14.877967 [INF] STREAM: ---------- Store Limits ----------
+[1] 2018/09/04 20:53:14.877973 [INF] STREAM: Channels:                  100 *
+[1] 2018/09/04 20:53:14.877978 [INF] STREAM: --------- Channels Limits --------
+[1] 2018/09/04 20:53:14.877982 [INF] STREAM:   Subscriptions:          1000 *
+[1] 2018/09/04 20:53:14.877986 [INF] STREAM:   Messages     :       1000000 *
+[1] 2018/09/04 20:53:14.877990 [INF] STREAM:   Bytes        :     976.56 MB *
+[1] 2018/09/04 20:53:14.877993 [INF] STREAM:   Age          :     unlimited *
+[1] 2018/09/04 20:53:14.877997 [INF] STREAM:   Inactivity   :     unlimited *
+[1] 2018/09/04 20:53:14.878015 [INF] STREAM: ----------------------------------
 ```
 ```
 
 
 To use a file based store instead, you would run:
 To use a file based store instead, you would run:
@@ -89,26 +89,26 @@ To use a file based store instead, you would run:
 ```bash
 ```bash
 $ docker run -d -p 4222:4222 -p 8222:8222 %%IMAGE%% -store file -dir datastore
 $ docker run -d -p 4222:4222 -p 8222:8222 %%IMAGE%% -store file -dir datastore
 
 
-[1] 2018/06/19 22:12:58.818360 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.10.0
-[1] 2018/06/19 22:12:58.818406 [INF] STREAM: ServerID: IQM9IppiZvFvpNNUkg5VrK
-[1] 2018/06/19 22:12:58.818409 [INF] STREAM: Go version: go1.10.3
-[1] 2018/06/19 22:12:58.818948 [INF] Starting nats-server version 1.1.0
-[1] 2018/06/19 22:12:58.819013 [INF] Git commit [not set]
-[1] 2018/06/19 22:12:58.819106 [INF] Listening for client connections on 0.0.0.0:4222
-[1] 2018/06/19 22:12:58.819110 [INF] Server is ready
-[1] 2018/06/19 22:12:58.848340 [INF] STREAM: Recovering the state...
-[1] 2018/06/19 22:12:58.848654 [INF] STREAM: No recovered state
-[1] 2018/06/19 22:12:59.101441 [INF] STREAM: Message store is FILE
-[1] 2018/06/19 22:12:59.101514 [INF] STREAM: Store location: datastore
-[1] 2018/06/19 22:12:59.101584 [INF] STREAM: ---------- Store Limits ----------
-[1] 2018/06/19 22:12:59.101622 [INF] STREAM: Channels:                  100 *
-[1] 2018/06/19 22:12:59.101652 [INF] STREAM: --------- Channels Limits --------
-[1] 2018/06/19 22:12:59.101656 [INF] STREAM:   Subscriptions:          1000 *
-[1] 2018/06/19 22:12:59.101660 [INF] STREAM:   Messages     :       1000000 *
-[1] 2018/06/19 22:12:59.101663 [INF] STREAM:   Bytes        :     976.56 MB *
-[1] 2018/06/19 22:12:59.101692 [INF] STREAM:   Age          :     unlimited *
-[1] 2018/06/19 22:12:59.101696 [INF] STREAM:   Inactivity   :     unlimited *
-[1] 2018/06/19 22:12:59.101700 [INF] STREAM: ----------------------------------
+[1] 2018/09/04 20:54:00.076196 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.11.0
+[1] 2018/09/04 20:54:00.076242 [INF] STREAM: ServerID: EHYwdUKwLyGfWOUOnUdfFm
+[1] 2018/09/04 20:54:00.076247 [INF] STREAM: Go version: go1.11
+[1] 2018/09/04 20:54:00.076804 [INF] Starting nats-server version 1.3.0
+[1] 2018/09/04 20:54:00.076824 [INF] Git commit [not set]
+[1] 2018/09/04 20:54:00.076904 [INF] Listening for client connections on 0.0.0.0:4222
+[1] 2018/09/04 20:54:00.076927 [INF] Server is ready
+[1] 2018/09/04 20:54:00.104013 [INF] STREAM: Recovering the state...
+[1] 2018/09/04 20:54:00.104173 [INF] STREAM: No recovered state
+[1] 2018/09/04 20:54:00.356446 [INF] STREAM: Message store is FILE
+[1] 2018/09/04 20:54:00.356496 [INF] STREAM: Store location: datastore
+[1] 2018/09/04 20:54:00.356559 [INF] STREAM: ---------- Store Limits ----------
+[1] 2018/09/04 20:54:00.356565 [INF] STREAM: Channels:                  100 *
+[1] 2018/09/04 20:54:00.356569 [INF] STREAM: --------- Channels Limits --------
+[1] 2018/09/04 20:54:00.356601 [INF] STREAM:   Subscriptions:          1000 *
+[1] 2018/09/04 20:54:00.356630 [INF] STREAM:   Messages     :       1000000 *
+[1] 2018/09/04 20:54:00.356634 [INF] STREAM:   Bytes        :     976.56 MB *
+[1] 2018/09/04 20:54:00.356638 [INF] STREAM:   Age          :     unlimited *
+[1] 2018/09/04 20:54:00.356641 [INF] STREAM:   Inactivity   :     unlimited *
+[1] 2018/09/04 20:54:00.356645 [INF] STREAM: ----------------------------------
 ```
 ```
 
 
 You can also connect to a remote NATS Server running in a docker image. First, run NATS Server:
 You can also connect to a remote NATS Server running in a docker image. First, run NATS Server:
@@ -122,22 +122,22 @@ Now, start the Streaming server and link it to the above docker image:
 ```bash
 ```bash
 $ docker run -d --link nats-main %%IMAGE%% -store file -dir datastore -ns nats://nats-main:4222
 $ docker run -d --link nats-main %%IMAGE%% -store file -dir datastore -ns nats://nats-main:4222
 
 
-[1] 2018/06/19 22:22:14.938402 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.10.0
-[1] 2018/06/19 22:22:14.938446 [INF] STREAM: ServerID: 1j5FnzXS4zxYbZBtIiM0tZ
-[1] 2018/06/19 22:22:14.938448 [INF] STREAM: Go version: go1.10.3
-[1] 2018/06/19 22:22:14.944299 [INF] STREAM: Recovering the state...
-[1] 2018/06/19 22:22:14.944468 [INF] STREAM: No recovered state
-[1] 2018/06/19 22:22:15.198086 [INF] STREAM: Message store is FILE
-[1] 2018/06/19 22:22:15.198140 [INF] STREAM: Store location: datastore
-[1] 2018/06/19 22:22:15.198220 [INF] STREAM: ---------- Store Limits ----------
-[1] 2018/06/19 22:22:15.198250 [INF] STREAM: Channels:                  100 *
-[1] 2018/06/19 22:22:15.198254 [INF] STREAM: --------- Channels Limits --------
-[1] 2018/06/19 22:22:15.198258 [INF] STREAM:   Subscriptions:          1000 *
-[1] 2018/06/19 22:22:15.198261 [INF] STREAM:   Messages     :       1000000 *
-[1] 2018/06/19 22:22:15.198265 [INF] STREAM:   Bytes        :     976.56 MB *
-[1] 2018/06/19 22:22:15.198268 [INF] STREAM:   Age          :     unlimited *
-[1] 2018/06/19 22:22:15.198294 [INF] STREAM:   Inactivity   :     unlimited *
-[1] 2018/06/19 22:22:15.198297 [INF] STREAM: ----------------------------------
+[1] 2018/09/04 20:54:16.718725 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.11.0
+[1] 2018/09/04 20:54:16.718768 [INF] STREAM: ServerID: z9du1OH1tM7wLB69Nku3d0
+[1] 2018/09/04 20:54:16.718770 [INF] STREAM: Go version: go1.11
+[1] 2018/09/04 20:54:16.746440 [INF] STREAM: Recovering the state...
+[1] 2018/09/04 20:54:16.746566 [INF] STREAM: No recovered state
+[1] 2018/09/04 20:54:16.999988 [INF] STREAM: Message store is FILE
+[1] 2018/09/04 20:54:17.000008 [INF] STREAM: Store location: datastore
+[1] 2018/09/04 20:54:17.000039 [INF] STREAM: ---------- Store Limits ----------
+[1] 2018/09/04 20:54:17.000044 [INF] STREAM: Channels:                  100 *
+[1] 2018/09/04 20:54:17.000047 [INF] STREAM: --------- Channels Limits --------
+[1] 2018/09/04 20:54:17.000051 [INF] STREAM:   Subscriptions:          1000 *
+[1] 2018/09/04 20:54:17.000055 [INF] STREAM:   Messages     :       1000000 *
+[1] 2018/09/04 20:54:17.000058 [INF] STREAM:   Bytes        :     976.56 MB *
+[1] 2018/09/04 20:54:17.000062 [INF] STREAM:   Age          :     unlimited *
+[1] 2018/09/04 20:54:17.000066 [INF] STREAM:   Inactivity   :     unlimited *
+[1] 2018/09/04 20:54:17.000069 [INF] STREAM: ----------------------------------
 ```
 ```
 
 
 Notice that the output shows that the NATS Server was not started, as opposed to the first output.
 Notice that the output shows that the NATS Server was not started, as opposed to the first output.
@@ -161,6 +161,7 @@ Streaming Server Options:
     -hbt, --hb_timeout <duration>     How long server waits for a heartbeat response
     -hbt, --hb_timeout <duration>     How long server waits for a heartbeat response
     -hbf, --hb_fail_count <int>       Number of failed heartbeats before server closes the client connection
     -hbf, --hb_fail_count <int>       Number of failed heartbeats before server closes the client connection
           --ft_group <string>         Name of the FT Group. A group can be 2 or more servers with a single active server and all sharing the same datastore.
           --ft_group <string>         Name of the FT Group. A group can be 2 or more servers with a single active server and all sharing the same datastore.
+    -sl,  --signal <signal>[=<pid>]   Send signal to nats-streaming-server process (stop, quit, reopen)
 
 
 Streaming Server Clustering Options:
 Streaming Server Clustering Options:
     --clustered <bool>                   Run the server in a clustered configuration (default: false)
     --clustered <bool>                   Run the server in a clustered configuration (default: false)
@@ -208,6 +209,7 @@ Streaming Server Logging Options:
     -SD, --stan_debug=<bool>         Enable STAN debugging output
     -SD, --stan_debug=<bool>         Enable STAN debugging output
     -SV, --stan_trace=<bool>         Trace the raw STAN protocol
     -SV, --stan_trace=<bool>         Trace the raw STAN protocol
     -SDV                             Debug and trace STAN
     -SDV                             Debug and trace STAN
+         --syslog_name               On Windows, when running several servers as a service, use this name for the event source
     (See additional NATS logging options below)
     (See additional NATS logging options below)
 
 
 Embedded NATS Server Options:
 Embedded NATS Server Options: