Merge pull request #1481 from nats-io/nats_streaming_0_14_2

[nats-streaming] Release v0.14.2
This commit is contained in:
yosifkit 2019-05-22 15:50:15 -07:00 committed by GitHub
commit 75d84125ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 59 additions and 59 deletions

View File

@ -62,27 +62,27 @@ $ 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):
```bash
[1] 2019/04/26 22:46:58.075104 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.1
[1] 2019/04/26 22:46:58.075146 [INF] STREAM: ServerID: pNHTpWWPu7DdO8rWU7sj28
[1] 2019/04/26 22:46:58.075149 [INF] STREAM: Go version: go1.11.9
[1] 2019/04/26 22:46:58.075151 [INF] STREAM: Git commit: [25d6ada]
[1] 2019/04/26 22:46:58.075619 [INF] Starting nats-server version 1.4.1
[1] 2019/04/26 22:46:58.075643 [INF] Git commit [3e64f0b]
[1] 2019/04/26 22:46:58.075740 [INF] Starting http monitor on 0.0.0.0:8222
[1] 2019/04/26 22:46:58.075756 [INF] Listening for client connections on 0.0.0.0:4222
[1] 2019/04/26 22:46:58.075760 [INF] Server is ready
[1] 2019/04/26 22:46:58.103335 [INF] STREAM: Recovering the state...
[1] 2019/04/26 22:46:58.103359 [INF] STREAM: No recovered state
[1] 2019/04/26 22:46:58.355691 [INF] STREAM: Message store is MEMORY
[1] 2019/04/26 22:46:58.355765 [INF] STREAM: ---------- Store Limits ----------
[1] 2019/04/26 22:46:58.355771 [INF] STREAM: Channels: 100 *
[1] 2019/04/26 22:46:58.355774 [INF] STREAM: --------- Channels Limits --------
[1] 2019/04/26 22:46:58.355777 [INF] STREAM: Subscriptions: 1000 *
[1] 2019/04/26 22:46:58.355779 [INF] STREAM: Messages : 1000000 *
[1] 2019/04/26 22:46:58.355782 [INF] STREAM: Bytes : 976.56 MB *
[1] 2019/04/26 22:46:58.355785 [INF] STREAM: Age : unlimited *
[1] 2019/04/26 22:46:58.355788 [INF] STREAM: Inactivity : unlimited *
[1] 2019/04/26 22:46:58.355827 [INF] STREAM: ----------------------------------
[1] 2019/05/21 20:20:02.942572 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.2
[1] 2019/05/21 20:20:02.942624 [INF] STREAM: ServerID: CaVyfAZG8iBO4VHm3fGApy
[1] 2019/05/21 20:20:02.942630 [INF] STREAM: Go version: go1.11.10
[1] 2019/05/21 20:20:02.942634 [INF] STREAM: Git commit: [0844ce1]
[1] 2019/05/21 20:20:02.943203 [INF] Starting nats-server version 1.4.1
[1] 2019/05/21 20:20:02.943252 [INF] Git commit [3e64f0b]
[1] 2019/05/21 20:20:02.943327 [INF] Starting http monitor on 0.0.0.0:8222
[1] 2019/05/21 20:20:02.943394 [INF] Listening for client connections on 0.0.0.0:4222
[1] 2019/05/21 20:20:02.943402 [INF] Server is ready
[1] 2019/05/21 20:20:02.971508 [INF] STREAM: Recovering the state...
[1] 2019/05/21 20:20:02.971517 [INF] STREAM: No recovered state
[1] 2019/05/21 20:20:03.223487 [INF] STREAM: Message store is MEMORY
[1] 2019/05/21 20:20:03.223582 [INF] STREAM: ---------- Store Limits ----------
[1] 2019/05/21 20:20:03.223594 [INF] STREAM: Channels: 100 *
[1] 2019/05/21 20:20:03.223602 [INF] STREAM: --------- Channels Limits --------
[1] 2019/05/21 20:20:03.223609 [INF] STREAM: Subscriptions: 1000 *
[1] 2019/05/21 20:20:03.223616 [INF] STREAM: Messages : 1000000 *
[1] 2019/05/21 20:20:03.223623 [INF] STREAM: Bytes : 976.56 MB *
[1] 2019/05/21 20:20:03.223630 [INF] STREAM: Age : unlimited *
[1] 2019/05/21 20:20:03.223636 [INF] STREAM: Inactivity : unlimited *
[1] 2019/05/21 20:20:03.223643 [INF] STREAM: ----------------------------------
```
To use a file based store instead, you would run:
@ -90,27 +90,27 @@ To use a file based store instead, you would run:
```bash
$ docker run -d -p 4222:4222 -p 8222:8222 %%IMAGE%% -store file -dir datastore
[1] 2019/04/26 22:47:29.217046 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.1
[1] 2019/04/26 22:47:29.217086 [INF] STREAM: ServerID: UdEwI9vip7th5NriXQ30cN
[1] 2019/04/26 22:47:29.217089 [INF] STREAM: Go version: go1.11.9
[1] 2019/04/26 22:47:29.217091 [INF] STREAM: Git commit: [25d6ada]
[1] 2019/04/26 22:47:29.217605 [INF] Starting nats-server version 1.4.1
[1] 2019/04/26 22:47:29.217632 [INF] Git commit [3e64f0b]
[1] 2019/04/26 22:47:29.217724 [INF] Listening for client connections on 0.0.0.0:4222
[1] 2019/04/26 22:47:29.217747 [INF] Server is ready
[1] 2019/04/26 22:47:29.246099 [INF] STREAM: Recovering the state...
[1] 2019/04/26 22:47:29.246235 [INF] STREAM: No recovered state
[1] 2019/04/26 22:47:29.497349 [INF] STREAM: Message store is FILE
[1] 2019/04/26 22:47:29.497397 [INF] STREAM: Store location: datastore
[1] 2019/04/26 22:47:29.497496 [INF] STREAM: ---------- Store Limits ----------
[1] 2019/04/26 22:47:29.497504 [INF] STREAM: Channels: 100 *
[1] 2019/04/26 22:47:29.497507 [INF] STREAM: --------- Channels Limits --------
[1] 2019/04/26 22:47:29.497510 [INF] STREAM: Subscriptions: 1000 *
[1] 2019/04/26 22:47:29.497512 [INF] STREAM: Messages : 1000000 *
[1] 2019/04/26 22:47:29.497515 [INF] STREAM: Bytes : 976.56 MB *
[1] 2019/04/26 22:47:29.497518 [INF] STREAM: Age : unlimited *
[1] 2019/04/26 22:47:29.497521 [INF] STREAM: Inactivity : unlimited *
[1] 2019/04/26 22:47:29.497523 [INF] STREAM: ----------------------------------
[1] 2019/05/21 20:20:22.472757 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.2
[1] 2019/05/21 20:20:22.472788 [INF] STREAM: ServerID: 2OKEWgxBDY6mKRiAoaPVUM
[1] 2019/05/21 20:20:22.472796 [INF] STREAM: Go version: go1.11.10
[1] 2019/05/21 20:20:22.472798 [INF] STREAM: Git commit: [0844ce1]
[1] 2019/05/21 20:20:22.473373 [INF] Starting nats-server version 1.4.1
[1] 2019/05/21 20:20:22.473381 [INF] Git commit [3e64f0b]
[1] 2019/05/21 20:20:22.473445 [INF] Listening for client connections on 0.0.0.0:4222
[1] 2019/05/21 20:20:22.473451 [INF] Server is ready
[1] 2019/05/21 20:20:22.499892 [INF] STREAM: Recovering the state...
[1] 2019/05/21 20:20:22.499970 [INF] STREAM: No recovered state
[1] 2019/05/21 20:20:22.755994 [INF] STREAM: Message store is FILE
[1] 2019/05/21 20:20:22.756009 [INF] STREAM: Store location: datastore
[1] 2019/05/21 20:20:22.756043 [INF] STREAM: ---------- Store Limits ----------
[1] 2019/05/21 20:20:22.756047 [INF] STREAM: Channels: 100 *
[1] 2019/05/21 20:20:22.756050 [INF] STREAM: --------- Channels Limits --------
[1] 2019/05/21 20:20:22.756052 [INF] STREAM: Subscriptions: 1000 *
[1] 2019/05/21 20:20:22.756055 [INF] STREAM: Messages : 1000000 *
[1] 2019/05/21 20:20:22.756057 [INF] STREAM: Bytes : 976.56 MB *
[1] 2019/05/21 20:20:22.756061 [INF] STREAM: Age : unlimited *
[1] 2019/05/21 20:20:22.756099 [INF] STREAM: Inactivity : unlimited *
[1] 2019/05/21 20:20:22.756132 [INF] STREAM: ----------------------------------
```
You can also connect to a remote NATS Server running in a docker image. First, run NATS Server:
@ -124,23 +124,23 @@ Now, start the Streaming server and link it to the above docker image:
```bash
$ docker run -d --link nats-main %%IMAGE%% -store file -dir datastore -ns nats://nats-main:4222
[1] 2019/04/26 22:47:52.594326 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.1
[1] 2019/04/26 22:47:52.594367 [INF] STREAM: ServerID: p9Ip4XtwCyFztbkyooqf0d
[1] 2019/04/26 22:47:52.594370 [INF] STREAM: Go version: go1.11.9
[1] 2019/04/26 22:47:52.594372 [INF] STREAM: Git commit: [25d6ada]
[1] 2019/04/26 22:47:52.622075 [INF] STREAM: Recovering the state...
[1] 2019/04/26 22:47:52.622233 [INF] STREAM: No recovered state
[1] 2019/04/26 22:47:52.873051 [INF] STREAM: Message store is FILE
[1] 2019/04/26 22:47:52.873086 [INF] STREAM: Store location: datastore
[1] 2019/04/26 22:47:52.873119 [INF] STREAM: ---------- Store Limits ----------
[1] 2019/04/26 22:47:52.873150 [INF] STREAM: Channels: 100 *
[1] 2019/04/26 22:47:52.873154 [INF] STREAM: --------- Channels Limits --------
[1] 2019/04/26 22:47:52.873156 [INF] STREAM: Subscriptions: 1000 *
[1] 2019/04/26 22:47:52.873158 [INF] STREAM: Messages : 1000000 *
[1] 2019/04/26 22:47:52.873160 [INF] STREAM: Bytes : 976.56 MB *
[1] 2019/04/26 22:47:52.873162 [INF] STREAM: Age : unlimited *
[1] 2019/04/26 22:47:52.873163 [INF] STREAM: Inactivity : unlimited *
[1] 2019/04/26 22:47:52.873165 [INF] STREAM: ----------------------------------
[1] 2019/05/21 20:20:37.826841 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.2
[1] 2019/05/21 20:20:37.826881 [INF] STREAM: ServerID: GHdxd2yOND7kOehU2iZYlZ
[1] 2019/05/21 20:20:37.826884 [INF] STREAM: Go version: go1.11.10
[1] 2019/05/21 20:20:37.826885 [INF] STREAM: Git commit: [0844ce1]
[1] 2019/05/21 20:20:37.855761 [INF] STREAM: Recovering the state...
[1] 2019/05/21 20:20:37.855928 [INF] STREAM: No recovered state
[1] 2019/05/21 20:20:38.111104 [INF] STREAM: Message store is FILE
[1] 2019/05/21 20:20:38.111131 [INF] STREAM: Store location: datastore
[1] 2019/05/21 20:20:38.111154 [INF] STREAM: ---------- Store Limits ----------
[1] 2019/05/21 20:20:38.111156 [INF] STREAM: Channels: 100 *
[1] 2019/05/21 20:20:38.111158 [INF] STREAM: --------- Channels Limits --------
[1] 2019/05/21 20:20:38.111178 [INF] STREAM: Subscriptions: 1000 *
[1] 2019/05/21 20:20:38.111199 [INF] STREAM: Messages : 1000000 *
[1] 2019/05/21 20:20:38.111201 [INF] STREAM: Bytes : 976.56 MB *
[1] 2019/05/21 20:20:38.111203 [INF] STREAM: Age : unlimited *
[1] 2019/05/21 20:20:38.111204 [INF] STREAM: Inactivity : unlimited *
[1] 2019/05/21 20:20:38.111206 [INF] STREAM: ----------------------------------
```