Skip to content

Commit 2418d36

Browse files
authored
Merge pull request #2217 from nats-io/nats_streaming_0_25_2
[nats-streaming] Release v0.25.2
2 parents d36cbfe + 0184f70 commit 2418d36

File tree

1 file changed

+67
-67
lines changed

1 file changed

+67
-67
lines changed

nats-streaming/content.md

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -66,62 +66,62 @@ $ docker run -d -p 4222:4222 -p 8222:8222 %%IMAGE%%
6666
Output that you would get if you had started with `-ti` instead of `d` (for daemon):
6767

6868
```bash
69-
[1] 2022/01/26 15:41:58.850416 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.24.0
70-
[1] 2022/01/26 15:41:58.850483 [INF] STREAM: ServerID: RAs4vSm72Zt3UDyqRvBCaR
71-
[1] 2022/01/26 15:41:58.850485 [INF] STREAM: Go version: go1.17.6
72-
[1] 2022/01/26 15:41:58.850487 [INF] STREAM: Git commit: [a17a5b6]
73-
[1] 2022/01/26 15:41:58.851878 [INF] Starting nats-server
74-
[1] 2022/01/26 15:41:58.851882 [INF] Version: 2.7.1
75-
[1] 2022/01/26 15:41:58.851883 [INF] Git: [7cf537e]
76-
[1] 2022/01/26 15:41:58.851885 [INF] Name: NDZHFFR4IZJRDLYX3ATKHGLM2GMCVCCSLHRUZNBHBLHD7U3W2WY6U4HP
77-
[1] 2022/01/26 15:41:58.851886 [INF] ID: NDZHFFR4IZJRDLYX3ATKHGLM2GMCVCCSLHRUZNBHBLHD7U3W2WY6U4HP
78-
[1] 2022/01/26 15:41:58.852263 [INF] Listening for client connections on 0.0.0.0:4222
79-
[1] 2022/01/26 15:41:58.852449 [INF] Server is ready
80-
[1] 2022/01/26 15:41:58.880204 [INF] STREAM: Recovering the state...
81-
[1] 2022/01/26 15:41:58.880219 [INF] STREAM: No recovered state
82-
[1] 2022/01/26 15:41:58.880550 [INF] STREAM: Message store is MEMORY
83-
[1] 2022/01/26 15:41:58.880576 [INF] STREAM: ---------- Store Limits ----------
84-
[1] 2022/01/26 15:41:58.880579 [INF] STREAM: Channels: 100 *
85-
[1] 2022/01/26 15:41:58.880581 [INF] STREAM: --------- Channels Limits --------
86-
[1] 2022/01/26 15:41:58.880583 [INF] STREAM: Subscriptions: 1000 *
87-
[1] 2022/01/26 15:41:58.880584 [INF] STREAM: Messages : 1000000 *
88-
[1] 2022/01/26 15:41:58.880586 [INF] STREAM: Bytes : 976.56 MB *
89-
[1] 2022/01/26 15:41:58.880588 [INF] STREAM: Age : unlimited *
90-
[1] 2022/01/26 15:41:58.880589 [INF] STREAM: Inactivity : unlimited *
91-
[1] 2022/01/26 15:41:58.880591 [INF] STREAM: ----------------------------------
92-
[1] 2022/01/26 15:41:58.880593 [INF] STREAM: Streaming Server is ready
69+
[1] 2022/10/11 14:57:50.404688 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.25.2
70+
[1] 2022/10/11 14:57:50.404739 [INF] STREAM: ServerID: fbZJjwGYLBpNM5I8z23NSN
71+
[1] 2022/10/11 14:57:50.404741 [INF] STREAM: Go version: go1.19.2
72+
[1] 2022/10/11 14:57:50.404743 [INF] STREAM: Git commit: [9e599667]
73+
[1] 2022/10/11 14:57:50.406004 [INF] Starting nats-server
74+
[1] 2022/10/11 14:57:50.406009 [INF] Version: 2.9.3
75+
[1] 2022/10/11 14:57:50.406011 [INF] Git: [25e82d7]
76+
[1] 2022/10/11 14:57:50.406013 [INF] Name: NDQOBTB34ECZWAKAJAREPEXQPXGKUEJEZINCHV2CIHGGJQCSCVPQPU5W
77+
[1] 2022/10/11 14:57:50.406015 [INF] ID: NDQOBTB34ECZWAKAJAREPEXQPXGKUEJEZINCHV2CIHGGJQCSCVPQPU5W
78+
[1] 2022/10/11 14:57:50.406423 [INF] Listening for client connections on 0.0.0.0:4222
79+
[1] 2022/10/11 14:57:50.406679 [INF] Server is ready
80+
[1] 2022/10/11 14:57:50.434935 [INF] STREAM: Recovering the state...
81+
[1] 2022/10/11 14:57:50.434945 [INF] STREAM: No recovered state
82+
[1] 2022/10/11 14:57:50.435271 [INF] STREAM: Message store is MEMORY
83+
[1] 2022/10/11 14:57:50.435303 [INF] STREAM: ---------- Store Limits ----------
84+
[1] 2022/10/11 14:57:50.435306 [INF] STREAM: Channels: 100 *
85+
[1] 2022/10/11 14:57:50.435308 [INF] STREAM: --------- Channels Limits --------
86+
[1] 2022/10/11 14:57:50.435310 [INF] STREAM: Subscriptions: 1000 *
87+
[1] 2022/10/11 14:57:50.435311 [INF] STREAM: Messages : 1000000 *
88+
[1] 2022/10/11 14:57:50.435313 [INF] STREAM: Bytes : 976.56 MB *
89+
[1] 2022/10/11 14:57:50.435315 [INF] STREAM: Age : unlimited *
90+
[1] 2022/10/11 14:57:50.435316 [INF] STREAM: Inactivity : unlimited *
91+
[1] 2022/10/11 14:57:50.435318 [INF] STREAM: ----------------------------------
92+
[1] 2022/10/11 14:57:50.435320 [INF] STREAM: Streaming Server is ready
9393
```
9494

9595
To use a file based store instead, you would run:
9696

9797
```bash
9898
$ docker run -d -p 4222:4222 -p 8222:8222 %%IMAGE%% -store file -dir datastore
9999

100-
[1] 2022/01/26 15:43:12.379812 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.24.0
101-
[1] 2022/01/26 15:43:12.379886 [INF] STREAM: ServerID: DGPwLAKr1zUYAxXq8S8cL3
102-
[1] 2022/01/26 15:43:12.379888 [INF] STREAM: Go version: go1.17.6
103-
[1] 2022/01/26 15:43:12.379889 [INF] STREAM: Git commit: [a17a5b6]
104-
[1] 2022/01/26 15:43:12.381280 [INF] Starting nats-server
105-
[1] 2022/01/26 15:43:12.381284 [INF] Version: 2.7.1
106-
[1] 2022/01/26 15:43:12.381286 [INF] Git: [7cf537e]
107-
[1] 2022/01/26 15:43:12.381287 [INF] Name: NDXGPNEZDOFMXQKELIBLE4VVCZEY46H6XF4KW5VRKVKPOKSOLY4YMX6X
108-
[1] 2022/01/26 15:43:12.381289 [INF] ID: NDXGPNEZDOFMXQKELIBLE4VVCZEY46H6XF4KW5VRKVKPOKSOLY4YMX6X
109-
[1] 2022/01/26 15:43:12.381711 [INF] Listening for client connections on 0.0.0.0:4222
110-
[1] 2022/01/26 15:43:12.381913 [INF] Server is ready
111-
[1] 2022/01/26 15:43:12.409539 [INF] STREAM: Recovering the state...
112-
[1] 2022/01/26 15:43:12.409814 [INF] STREAM: No recovered state
113-
[1] 2022/01/26 15:43:12.410278 [INF] STREAM: Message store is FILE
114-
[1] 2022/01/26 15:43:12.410283 [INF] STREAM: Store location: datastore
115-
[1] 2022/01/26 15:43:12.410301 [INF] STREAM: ---------- Store Limits ----------
116-
[1] 2022/01/26 15:43:12.410303 [INF] STREAM: Channels: 100 *
117-
[1] 2022/01/26 15:43:12.410304 [INF] STREAM: --------- Channels Limits --------
118-
[1] 2022/01/26 15:43:12.410306 [INF] STREAM: Subscriptions: 1000 *
119-
[1] 2022/01/26 15:43:12.410307 [INF] STREAM: Messages : 1000000 *
120-
[1] 2022/01/26 15:43:12.410308 [INF] STREAM: Bytes : 976.56 MB *
121-
[1] 2022/01/26 15:43:12.410309 [INF] STREAM: Age : unlimited *
122-
[1] 2022/01/26 15:43:12.410310 [INF] STREAM: Inactivity : unlimited *
123-
[1] 2022/01/26 15:43:12.410311 [INF] STREAM: ----------------------------------
124-
[1] 2022/01/26 15:43:12.410313 [INF] STREAM: Streaming Server is ready
100+
[1] 2022/10/11 14:59:45.818823 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.25.2
101+
[1] 2022/10/11 14:59:45.818874 [INF] STREAM: ServerID: mNhpLEpCO6WFqrnD9CYEZa
102+
[1] 2022/10/11 14:59:45.818876 [INF] STREAM: Go version: go1.19.2
103+
[1] 2022/10/11 14:59:45.818877 [INF] STREAM: Git commit: [9e599667]
104+
[1] 2022/10/11 14:59:45.820192 [INF] Starting nats-server
105+
[1] 2022/10/11 14:59:45.820196 [INF] Version: 2.9.3
106+
[1] 2022/10/11 14:59:45.820198 [INF] Git: [25e82d7]
107+
[1] 2022/10/11 14:59:45.820200 [INF] Name: NCDMFFEVOSPVVGQZVEQ3O5434LHF2KAPOR5LKAI7YEIAFIABTHQLZRLA
108+
[1] 2022/10/11 14:59:45.820202 [INF] ID: NCDMFFEVOSPVVGQZVEQ3O5434LHF2KAPOR5LKAI7YEIAFIABTHQLZRLA
109+
[1] 2022/10/11 14:59:45.820688 [INF] Listening for client connections on 0.0.0.0:4222
110+
[1] 2022/10/11 14:59:45.820849 [INF] Server is ready
111+
[1] 2022/10/11 14:59:45.848443 [INF] STREAM: Recovering the state...
112+
[1] 2022/10/11 14:59:45.848737 [INF] STREAM: No recovered state
113+
[1] 2022/10/11 14:59:45.849050 [INF] STREAM: Message store is FILE
114+
[1] 2022/10/11 14:59:45.849054 [INF] STREAM: Store location: datastore
115+
[1] 2022/10/11 14:59:45.849070 [INF] STREAM: ---------- Store Limits ----------
116+
[1] 2022/10/11 14:59:45.849072 [INF] STREAM: Channels: 100 *
117+
[1] 2022/10/11 14:59:45.849073 [INF] STREAM: --------- Channels Limits --------
118+
[1] 2022/10/11 14:59:45.849075 [INF] STREAM: Subscriptions: 1000 *
119+
[1] 2022/10/11 14:59:45.849076 [INF] STREAM: Messages : 1000000 *
120+
[1] 2022/10/11 14:59:45.849077 [INF] STREAM: Bytes : 976.56 MB *
121+
[1] 2022/10/11 14:59:45.849078 [INF] STREAM: Age : unlimited *
122+
[1] 2022/10/11 14:59:45.849079 [INF] STREAM: Inactivity : unlimited *
123+
[1] 2022/10/11 14:59:45.849080 [INF] STREAM: ----------------------------------
124+
[1] 2022/10/11 14:59:45.849082 [INF] STREAM: Streaming Server is ready
125125
```
126126

127127
You can also connect to a remote NATS Server running in a docker image. First, run NATS Server:
@@ -135,24 +135,24 @@ Now, start the Streaming server and link it to the above docker image:
135135
```bash
136136
$ docker run -d --link nats-main %%IMAGE%% -store file -dir datastore -ns nats://nats-main:4222
137137

138-
[1] 2022/01/26 15:43:36.324320 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.24.0
139-
[1] 2022/01/26 15:43:36.324386 [INF] STREAM: ServerID: KO3l0dRVOEHMnt5298mr1h
140-
[1] 2022/01/26 15:43:36.324388 [INF] STREAM: Go version: go1.17.6
141-
[1] 2022/01/26 15:43:36.324389 [INF] STREAM: Git commit: [a17a5b6]
142-
[1] 2022/01/26 15:43:36.352954 [INF] STREAM: Recovering the state...
143-
[1] 2022/01/26 15:43:36.353787 [INF] STREAM: Recovered 0 channel(s)
144-
[1] 2022/01/26 15:43:36.354444 [INF] STREAM: Message store is FILE
145-
[1] 2022/01/26 15:43:36.354450 [INF] STREAM: Store location: datastore
146-
[1] 2022/01/26 15:43:36.354467 [INF] STREAM: ---------- Store Limits ----------
147-
[1] 2022/01/26 15:43:36.354469 [INF] STREAM: Channels: 100 *
148-
[1] 2022/01/26 15:43:36.354470 [INF] STREAM: --------- Channels Limits --------
149-
[1] 2022/01/26 15:43:36.354472 [INF] STREAM: Subscriptions: 1000 *
150-
[1] 2022/01/26 15:43:36.354473 [INF] STREAM: Messages : 1000000 *
151-
[1] 2022/01/26 15:43:36.354474 [INF] STREAM: Bytes : 976.56 MB *
152-
[1] 2022/01/26 15:43:36.354475 [INF] STREAM: Age : unlimited *
153-
[1] 2022/01/26 15:43:36.354476 [INF] STREAM: Inactivity : unlimited *
154-
[1] 2022/01/26 15:43:36.354477 [INF] STREAM: ----------------------------------
155-
[1] 2022/01/26 15:43:36.354479 [INF] STREAM: Streaming Server is ready
138+
[1] 2022/10/11 15:00:56.780184 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.25.2
139+
[1] 2022/10/11 15:00:56.780235 [INF] STREAM: ServerID: jVQkB4KiIN4IVIuVoSumE0
140+
[1] 2022/10/11 15:00:56.780237 [INF] STREAM: Go version: go1.19.2
141+
[1] 2022/10/11 15:00:56.780241 [INF] STREAM: Git commit: [9e599667]
142+
[1] 2022/10/11 15:00:56.809173 [INF] STREAM: Recovering the state...
143+
[1] 2022/10/11 15:00:56.810336 [INF] STREAM: Recovered 0 channel(s)
144+
[1] 2022/10/11 15:00:56.810612 [INF] STREAM: Message store is FILE
145+
[1] 2022/10/11 15:00:56.810617 [INF] STREAM: Store location: datastore
146+
[1] 2022/10/11 15:00:56.810633 [INF] STREAM: ---------- Store Limits ----------
147+
[1] 2022/10/11 15:00:56.810635 [INF] STREAM: Channels: 100 *
148+
[1] 2022/10/11 15:00:56.810636 [INF] STREAM: --------- Channels Limits --------
149+
[1] 2022/10/11 15:00:56.810637 [INF] STREAM: Subscriptions: 1000 *
150+
[1] 2022/10/11 15:00:56.810639 [INF] STREAM: Messages : 1000000 *
151+
[1] 2022/10/11 15:00:56.810640 [INF] STREAM: Bytes : 976.56 MB *
152+
[1] 2022/10/11 15:00:56.810641 [INF] STREAM: Age : unlimited *
153+
[1] 2022/10/11 15:00:56.810642 [INF] STREAM: Inactivity : unlimited *
154+
[1] 2022/10/11 15:00:56.810643 [INF] STREAM: ----------------------------------
155+
[1] 2022/10/11 15:00:56.810644 [INF] STREAM: Streaming Server is ready
156156
```
157157

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

0 commit comments

Comments
 (0)