Skip to content

Commit 575c3bd

Browse files
authored
Merge pull request #801 from nats-io/master
[nats-streaming] Release v0.3.8
2 parents 51bfea3 + e0c0b5c commit 575c3bd

File tree

1 file changed

+38
-37
lines changed

1 file changed

+38
-37
lines changed

nats-streaming/content.md

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,38 @@ $ docker run -d nats-streaming
1717

1818
Output that you would get if you had started with `-ti` instead of `d` (for daemon):
1919

20-
[1] 2016/12/21 17:37:56.743377 [INF] Starting nats-streaming-server[test-cluster] version 0.3.6
21-
[1] 2016/12/21 17:37:56.743575 [INF] Starting nats-server version 0.9.6
22-
[1] 2016/12/21 17:37:56.743600 [INF] Starting http monitor on 0.0.0.0:8222
23-
[1] 2016/12/21 17:37:56.743851 [INF] Listening for client connections on 0.0.0.0:4222
24-
[1] 2016/12/21 17:37:56.743891 [INF] Server is ready
25-
[1] 2016/12/21 17:37:57.023416 [INF] STAN: Message store is MEMORY
26-
[1] 2016/12/21 17:37:57.023453 [INF] STAN: --------- Store Limits ---------
27-
[1] 2016/12/21 17:37:57.023464 [INF] STAN: Channels: 100 *
28-
[1] 2016/12/21 17:37:57.023467 [INF] STAN: -------- channels limits -------
29-
[1] 2016/12/21 17:37:57.023473 [INF] STAN: Subscriptions: 1000 *
30-
[1] 2016/12/21 17:37:57.023478 [INF] STAN: Messages : 1000000 *
31-
[1] 2016/12/21 17:37:57.023489 [INF] STAN: Bytes : 976.56 MB *
32-
[1] 2016/12/21 17:37:57.023502 [INF] STAN: Age : unlimited *
33-
[1] 2016/12/21 17:37:57.023506 [INF] STAN: --------------------------------
20+
[1] 2017/01/19 20:27:37.540307 [INF] Starting nats-streaming-server[test-cluster] version 0.3.8
21+
[1] 2017/01/19 20:27:37.540462 [INF] Starting nats-server version 0.9.6
22+
[1] 2017/01/19 20:27:37.540493 [INF] Starting http monitor on 0.0.0.0:8222
23+
[1] 2017/01/19 20:27:37.540550 [INF] Listening for client connections on 0.0.0.0:4222
24+
[1] 2017/01/19 20:27:37.540574 [INF] Server is ready
25+
[1] 2017/01/19 20:27:37.825728 [INF] STAN: Message store is MEMORY
26+
[1] 2017/01/19 20:27:37.825798 [INF] STAN: --------- Store Limits ---------
27+
[1] 2017/01/19 20:27:37.825828 [INF] STAN: Channels: 100 *
28+
[1] 2017/01/19 20:27:37.825853 [INF] STAN: -------- channels limits -------
29+
[1] 2017/01/19 20:27:37.825859 [INF] STAN: Subscriptions: 1000 *
30+
[1] 2017/01/19 20:27:37.825864 [INF] STAN: Messages : 1000000 *
31+
[1] 2017/01/19 20:27:37.825876 [INF] STAN: Bytes : 976.56 MB *
32+
[1] 2017/01/19 20:27:37.825945 [INF] STAN: Age : unlimited *
33+
[1] 2017/01/19 20:27:37.825949 [INF] STAN: --------------------------------
3434

3535
To use a file based store instead, you would run:
3636

3737
$ docker run -d nats-streaming -store file -dir datastore
3838

39-
[1] 2016/12/21 17:38:25.128903 [INF] Starting nats-streaming-server[test-cluster] version 0.3.6
40-
[1] 2016/12/21 17:38:25.130717 [INF] Starting nats-server version 0.9.6
41-
[1] 2016/12/21 17:38:25.130746 [INF] Listening for client connections on 0.0.0.0:4222
42-
[1] 2016/12/21 17:38:25.130819 [INF] Server is ready
43-
[1] 2016/12/21 17:38:25.409344 [INF] STAN: Message store is FILE
44-
[1] 2016/12/21 17:38:25.409422 [INF] STAN: --------- Store Limits ---------
45-
[1] 2016/12/21 17:38:25.409435 [INF] STAN: Channels: 100 *
46-
[1] 2016/12/21 17:38:25.409440 [INF] STAN: -------- channels limits -------
47-
[1] 2016/12/21 17:38:25.409445 [INF] STAN: Subscriptions: 1000 *
48-
[1] 2016/12/21 17:38:25.409450 [INF] STAN: Messages : 1000000 *
49-
[1] 2016/12/21 17:38:25.409464 [INF] STAN: Bytes : 976.56 MB *
50-
[1] 2016/12/21 17:38:25.409495 [INF] STAN: Age : unlimited *
51-
[1] 2016/12/21 17:38:25.409505 [INF] STAN: --------------------------------
39+
[1] 2017/01/19 20:28:45.169437 [INF] Starting nats-streaming-server[test-cluster] version 0.3.8
40+
[1] 2017/01/19 20:28:45.169722 [INF] Starting nats-server version 0.9.6
41+
[1] 2017/01/19 20:28:45.169748 [INF] Listening for client connections on 0.0.0.0:4222
42+
[1] 2017/01/19 20:28:45.169816 [INF] Server is ready
43+
[1] 2017/01/19 20:28:45.449668 [INF] STAN: Message store is FILE
44+
[1] 2017/01/19 20:28:45.449705 [INF] STAN: --------- Store Limits ---------
45+
[1] 2017/01/19 20:28:45.449714 [INF] STAN: Channels: 100 *
46+
[1] 2017/01/19 20:28:45.449719 [INF] STAN: -------- channels limits -------
47+
[1] 2017/01/19 20:28:45.449724 [INF] STAN: Subscriptions: 1000 *
48+
[1] 2017/01/19 20:28:45.449729 [INF] STAN: Messages : 1000000 *
49+
[1] 2017/01/19 20:28:45.449799 [INF] STAN: Bytes : 976.56 MB *
50+
[1] 2017/01/19 20:28:45.449805 [INF] STAN: Age : unlimited *
51+
[1] 2017/01/19 20:28:45.449828 [INF] STAN: --------------------------------
5252

5353
You can also connect to a remote NATS Server running in a docker image.
5454
First, run NATS Server:
@@ -59,16 +59,17 @@ Now, start the Streaming server and link it to the above docker image:
5959

6060
$ docker run -d --link nats-main nats-streaming -store file -dir datastore -ns nats://nats-main:4222
6161

62-
[1] 2016/12/21 17:40:51.007013 [INF] Starting nats-streaming-server[test-cluster] version 0.3.6
63-
[1] 2016/12/21 17:40:51.419640 [INF] STAN: Message store is FILE
64-
[1] 2016/12/21 17:40:51.419752 [INF] STAN: --------- Store Limits ---------
65-
[1] 2016/12/21 17:40:51.419779 [INF] STAN: Channels: 100 *
66-
[1] 2016/12/21 17:40:51.419799 [INF] STAN: -------- channels limits -------
67-
[1] 2016/12/21 17:40:51.419820 [INF] STAN: Subscriptions: 1000 *
68-
[1] 2016/12/21 17:40:51.420004 [INF] STAN: Messages : 1000000 *
69-
[1] 2016/12/21 17:40:51.420083 [INF] STAN: Bytes : 976.56 MB *
70-
[1] 2016/12/21 17:40:51.420275 [INF] STAN: Age : unlimited *
71-
[1] 2016/12/21 17:40:51.420711 [INF] STAN: --------------------------------
62+
[1] 2017/01/19 20:29:19.178044 [INF] Starting nats-streaming-server[test-cluster] version 0.3.8
63+
[1] 2017/01/19 20:29:19.459272 [INF] STAN: Message store is FILE
64+
[1] 2017/01/19 20:29:19.459322 [INF] STAN: --------- Store Limits ---------
65+
[1] 2017/01/19 20:29:19.459336 [INF] STAN: Channels: 100 *
66+
[1] 2017/01/19 20:29:19.459343 [INF] STAN: -------- channels limits -------
67+
[1] 2017/01/19 20:29:19.459351 [INF] STAN: Subscriptions: 1000 *
68+
[1] 2017/01/19 20:29:19.459375 [INF] STAN: Messages : 1000000 *
69+
[1] 2017/01/19 20:29:19.459396 [INF] STAN: Bytes : 976.56 MB *
70+
[1] 2017/01/19 20:29:19.459407 [INF] STAN: Age : unlimited *
71+
[1] 2017/01/19 20:29:19.459413 [INF] STAN: --------------------------------
72+
7273

7374
Notice that the output shows that the NATS Server was not started, as opposed to the first output.
7475

0 commit comments

Comments
 (0)