@@ -32,20 +32,20 @@ The NATS Streaming Server is being deprecated. Critical bug fixes and security f
32
32
33
33
## Simple Tags
34
34
35
- - [ ` 0.24.6 -alpine3.15 ` , ` 0.24 -alpine3.15 ` , ` alpine3.15 ` , ` 0.24.6 -alpine ` , ` 0.24 -alpine ` , ` alpine ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /alpine3.15 /Dockerfile )
36
- - [ ` 0.24.6 -scratch ` , ` 0.24 -scratch ` , ` scratch ` , ` 0.24.6 -linux ` , ` 0.24 -linux ` , ` linux ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /scratch/Dockerfile )
37
- - [ ` 0.24.6 -windowsservercore-1809 ` , ` 0.24 -windowsservercore-1809 ` , ` windowsservercore-1809 ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /windowsservercore-1809/Dockerfile )
38
- - [ ` 0.24.6 -nanoserver-1809 ` , ` 0.24 -nanoserver-1809 ` , ` nanoserver-1809 ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /nanoserver-1809/Dockerfile )
35
+ - [ ` 0.25.2 -alpine3.16 ` , ` 0.25 -alpine3.16 ` , ` alpine3.16 ` , ` 0.25.2 -alpine ` , ` 0.25 -alpine ` , ` alpine ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /alpine3.16 /Dockerfile )
36
+ - [ ` 0.25.2 -scratch ` , ` 0.25 -scratch ` , ` scratch ` , ` 0.25.2 -linux ` , ` 0.25 -linux ` , ` linux ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /scratch/Dockerfile )
37
+ - [ ` 0.25.2 -windowsservercore-1809 ` , ` 0.25 -windowsservercore-1809 ` , ` windowsservercore-1809 ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /windowsservercore-1809/Dockerfile )
38
+ - [ ` 0.25.2 -nanoserver-1809 ` , ` 0.25 -nanoserver-1809 ` , ` nanoserver-1809 ` ] ( https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /nanoserver-1809/Dockerfile )
39
39
40
40
## Shared Tags
41
41
42
- - ` 0.24.6 ` , ` 0.24 ` , ` latest ` :
43
- - [`0.24.6 -scratch`](https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /scratch/Dockerfile)
44
- - [`0.24.6 -nanoserver-1809`](https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /nanoserver-1809/Dockerfile)
45
- - ` 0.24.6 -windowsservercore ` , ` 0.24 -windowsservercore ` , ` windowsservercore ` :
46
- - [`0.24.6 -windowsservercore-1809`](https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /windowsservercore-1809/Dockerfile)
47
- - ` 0.24.6 -nanoserver ` , ` 0.24 -nanoserver ` , ` nanoserver ` :
48
- - [`0.24.6 -nanoserver-1809`](https://github.com/nats-io/nats-streaming-docker/blob/eae0f6184db0e22634105ee143b529cd3dbfbb6d /0.24.6 /nanoserver-1809/Dockerfile)
42
+ - ` 0.25.2 ` , ` 0.25 ` , ` latest ` :
43
+ - [`0.25.2 -scratch`](https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /scratch/Dockerfile)
44
+ - [`0.25.2 -nanoserver-1809`](https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /nanoserver-1809/Dockerfile)
45
+ - ` 0.25.2 -windowsservercore ` , ` 0.25 -windowsservercore ` , ` windowsservercore ` :
46
+ - [`0.25.2 -windowsservercore-1809`](https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /windowsservercore-1809/Dockerfile)
47
+ - ` 0.25.2 -nanoserver ` , ` 0.25 -nanoserver ` , ` nanoserver ` :
48
+ - [`0.25.2 -nanoserver-1809`](https://github.com/nats-io/nats-streaming-docker/blob/bbf86e1ee1e9ade913719d60da4069ff2470dbd7 /0.25.2 /nanoserver-1809/Dockerfile)
49
49
50
50
# Quick reference (cont.)
51
51
@@ -134,62 +134,62 @@ $ docker run -d -p 4222:4222 -p 8222:8222 nats-streaming
134
134
Output that you would get if you had started with ` -ti ` instead of ` d ` (for daemon):
135
135
136
136
``` bash
137
- [1] 2022/01/26 15:41:58.850416 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.24.0
138
- [1] 2022/01/26 15:41:58.850483 [INF] STREAM: ServerID: RAs4vSm72Zt3UDyqRvBCaR
139
- [1] 2022/01/26 15:41:58.850485 [INF] STREAM: Go version: go1.17.6
140
- [1] 2022/01/26 15:41:58.850487 [INF] STREAM: Git commit: [a17a5b6 ]
141
- [1] 2022/01/26 15:41:58.851878 [INF] Starting nats-server
142
- [1] 2022/01/26 15:41:58.851882 [INF] Version: 2.7.1
143
- [1] 2022/01/26 15:41:58.851883 [INF] Git: [7cf537e ]
144
- [1] 2022/01/26 15:41:58.851885 [INF] Name: NDZHFFR4IZJRDLYX3ATKHGLM2GMCVCCSLHRUZNBHBLHD7U3W2WY6U4HP
145
- [1] 2022/01/26 15:41:58.851886 [INF] ID: NDZHFFR4IZJRDLYX3ATKHGLM2GMCVCCSLHRUZNBHBLHD7U3W2WY6U4HP
146
- [1] 2022/01/26 15:41:58.852263 [INF] Listening for client connections on 0.0.0.0:4222
147
- [1] 2022/01/26 15:41:58.852449 [INF] Server is ready
148
- [1] 2022/01/26 15:41:58.880204 [INF] STREAM: Recovering the state...
149
- [1] 2022/01/26 15:41:58.880219 [INF] STREAM: No recovered state
150
- [1] 2022/01/26 15:41:58.880550 [INF] STREAM: Message store is MEMORY
151
- [1] 2022/01/26 15:41:58.880576 [INF] STREAM: ---------- Store Limits ----------
152
- [1] 2022/01/26 15:41:58.880579 [INF] STREAM: Channels: 100 *
153
- [1] 2022/01/26 15:41:58.880581 [INF] STREAM: --------- Channels Limits --------
154
- [1] 2022/01/26 15:41:58.880583 [INF] STREAM: Subscriptions: 1000 *
155
- [1] 2022/01/26 15:41:58.880584 [INF] STREAM: Messages : 1000000 *
156
- [1] 2022/01/26 15:41:58.880586 [INF] STREAM: Bytes : 976.56 MB *
157
- [1] 2022/01/26 15:41:58.880588 [INF] STREAM: Age : unlimited *
158
- [1] 2022/01/26 15:41:58.880589 [INF] STREAM: Inactivity : unlimited *
159
- [1] 2022/01/26 15:41:58.880591 [INF] STREAM: ----------------------------------
160
- [1] 2022/01/26 15:41:58.880593 [INF] STREAM: Streaming Server is ready
137
+ [1] 2022/10/11 14:57:50.404688 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.25.2
138
+ [1] 2022/10/11 14:57:50.404739 [INF] STREAM: ServerID: fbZJjwGYLBpNM5I8z23NSN
139
+ [1] 2022/10/11 14:57:50.404741 [INF] STREAM: Go version: go1.19.2
140
+ [1] 2022/10/11 14:57:50.404743 [INF] STREAM: Git commit: [9e599667 ]
141
+ [1] 2022/10/11 14:57:50.406004 [INF] Starting nats-server
142
+ [1] 2022/10/11 14:57:50.406009 [INF] Version: 2.9.3
143
+ [1] 2022/10/11 14:57:50.406011 [INF] Git: [25e82d7 ]
144
+ [1] 2022/10/11 14:57:50.406013 [INF] Name: NDQOBTB34ECZWAKAJAREPEXQPXGKUEJEZINCHV2CIHGGJQCSCVPQPU5W
145
+ [1] 2022/10/11 14:57:50.406015 [INF] ID: NDQOBTB34ECZWAKAJAREPEXQPXGKUEJEZINCHV2CIHGGJQCSCVPQPU5W
146
+ [1] 2022/10/11 14:57:50.406423 [INF] Listening for client connections on 0.0.0.0:4222
147
+ [1] 2022/10/11 14:57:50.406679 [INF] Server is ready
148
+ [1] 2022/10/11 14:57:50.434935 [INF] STREAM: Recovering the state...
149
+ [1] 2022/10/11 14:57:50.434945 [INF] STREAM: No recovered state
150
+ [1] 2022/10/11 14:57:50.435271 [INF] STREAM: Message store is MEMORY
151
+ [1] 2022/10/11 14:57:50.435303 [INF] STREAM: ---------- Store Limits ----------
152
+ [1] 2022/10/11 14:57:50.435306 [INF] STREAM: Channels: 100 *
153
+ [1] 2022/10/11 14:57:50.435308 [INF] STREAM: --------- Channels Limits --------
154
+ [1] 2022/10/11 14:57:50.435310 [INF] STREAM: Subscriptions: 1000 *
155
+ [1] 2022/10/11 14:57:50.435311 [INF] STREAM: Messages : 1000000 *
156
+ [1] 2022/10/11 14:57:50.435313 [INF] STREAM: Bytes : 976.56 MB *
157
+ [1] 2022/10/11 14:57:50.435315 [INF] STREAM: Age : unlimited *
158
+ [1] 2022/10/11 14:57:50.435316 [INF] STREAM: Inactivity : unlimited *
159
+ [1] 2022/10/11 14:57:50.435318 [INF] STREAM: ----------------------------------
160
+ [1] 2022/10/11 14:57:50.435320 [INF] STREAM: Streaming Server is ready
161
161
```
162
162
163
163
To use a file based store instead, you would run:
164
164
165
165
``` bash
166
166
$ docker run -d -p 4222:4222 -p 8222:8222 nats-streaming -store file -dir datastore
167
167
168
- [1] 2022/01/26 15:43:12.379812 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.24.0
169
- [1] 2022/01/26 15:43:12.379886 [INF] STREAM: ServerID: DGPwLAKr1zUYAxXq8S8cL3
170
- [1] 2022/01/26 15:43:12.379888 [INF] STREAM: Go version: go1.17.6
171
- [1] 2022/01/26 15:43:12.379889 [INF] STREAM: Git commit: [a17a5b6 ]
172
- [1] 2022/01/26 15:43:12.381280 [INF] Starting nats-server
173
- [1] 2022/01/26 15:43:12.381284 [INF] Version: 2.7.1
174
- [1] 2022/01/26 15:43:12.381286 [INF] Git: [7cf537e ]
175
- [1] 2022/01/26 15:43:12.381287 [INF] Name: NDXGPNEZDOFMXQKELIBLE4VVCZEY46H6XF4KW5VRKVKPOKSOLY4YMX6X
176
- [1] 2022/01/26 15:43:12.381289 [INF] ID: NDXGPNEZDOFMXQKELIBLE4VVCZEY46H6XF4KW5VRKVKPOKSOLY4YMX6X
177
- [1] 2022/01/26 15:43:12.381711 [INF] Listening for client connections on 0.0.0.0:4222
178
- [1] 2022/01/26 15:43:12.381913 [INF] Server is ready
179
- [1] 2022/01/26 15:43:12.409539 [INF] STREAM: Recovering the state...
180
- [1] 2022/01/26 15:43:12.409814 [INF] STREAM: No recovered state
181
- [1] 2022/01/26 15:43:12.410278 [INF] STREAM: Message store is FILE
182
- [1] 2022/01/26 15:43:12.410283 [INF] STREAM: Store location: datastore
183
- [1] 2022/01/26 15:43:12.410301 [INF] STREAM: ---------- Store Limits ----------
184
- [1] 2022/01/26 15:43:12.410303 [INF] STREAM: Channels: 100 *
185
- [1] 2022/01/26 15:43:12.410304 [INF] STREAM: --------- Channels Limits --------
186
- [1] 2022/01/26 15:43:12.410306 [INF] STREAM: Subscriptions: 1000 *
187
- [1] 2022/01/26 15:43:12.410307 [INF] STREAM: Messages : 1000000 *
188
- [1] 2022/01/26 15:43:12.410308 [INF] STREAM: Bytes : 976.56 MB *
189
- [1] 2022/01/26 15:43:12.410309 [INF] STREAM: Age : unlimited *
190
- [1] 2022/01/26 15:43:12.410310 [INF] STREAM: Inactivity : unlimited *
191
- [1] 2022/01/26 15:43:12.410311 [INF] STREAM: ----------------------------------
192
- [1] 2022/01/26 15:43:12.410313 [INF] STREAM: Streaming Server is ready
168
+ [1] 2022/10/11 14:59:45.818823 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.25.2
169
+ [1] 2022/10/11 14:59:45.818874 [INF] STREAM: ServerID: mNhpLEpCO6WFqrnD9CYEZa
170
+ [1] 2022/10/11 14:59:45.818876 [INF] STREAM: Go version: go1.19.2
171
+ [1] 2022/10/11 14:59:45.818877 [INF] STREAM: Git commit: [9e599667 ]
172
+ [1] 2022/10/11 14:59:45.820192 [INF] Starting nats-server
173
+ [1] 2022/10/11 14:59:45.820196 [INF] Version: 2.9.3
174
+ [1] 2022/10/11 14:59:45.820198 [INF] Git: [25e82d7 ]
175
+ [1] 2022/10/11 14:59:45.820200 [INF] Name: NCDMFFEVOSPVVGQZVEQ3O5434LHF2KAPOR5LKAI7YEIAFIABTHQLZRLA
176
+ [1] 2022/10/11 14:59:45.820202 [INF] ID: NCDMFFEVOSPVVGQZVEQ3O5434LHF2KAPOR5LKAI7YEIAFIABTHQLZRLA
177
+ [1] 2022/10/11 14:59:45.820688 [INF] Listening for client connections on 0.0.0.0:4222
178
+ [1] 2022/10/11 14:59:45.820849 [INF] Server is ready
179
+ [1] 2022/10/11 14:59:45.848443 [INF] STREAM: Recovering the state...
180
+ [1] 2022/10/11 14:59:45.848737 [INF] STREAM: No recovered state
181
+ [1] 2022/10/11 14:59:45.849050 [INF] STREAM: Message store is FILE
182
+ [1] 2022/10/11 14:59:45.849054 [INF] STREAM: Store location: datastore
183
+ [1] 2022/10/11 14:59:45.849070 [INF] STREAM: ---------- Store Limits ----------
184
+ [1] 2022/10/11 14:59:45.849072 [INF] STREAM: Channels: 100 *
185
+ [1] 2022/10/11 14:59:45.849073 [INF] STREAM: --------- Channels Limits --------
186
+ [1] 2022/10/11 14:59:45.849075 [INF] STREAM: Subscriptions: 1000 *
187
+ [1] 2022/10/11 14:59:45.849076 [INF] STREAM: Messages : 1000000 *
188
+ [1] 2022/10/11 14:59:45.849077 [INF] STREAM: Bytes : 976.56 MB *
189
+ [1] 2022/10/11 14:59:45.849078 [INF] STREAM: Age : unlimited *
190
+ [1] 2022/10/11 14:59:45.849079 [INF] STREAM: Inactivity : unlimited *
191
+ [1] 2022/10/11 14:59:45.849080 [INF] STREAM: ----------------------------------
192
+ [1] 2022/10/11 14:59:45.849082 [INF] STREAM: Streaming Server is ready
193
193
```
194
194
195
195
You can also connect to a remote NATS Server running in a docker image. First, run NATS Server:
@@ -203,24 +203,24 @@ Now, start the Streaming server and link it to the above docker image:
203
203
``` bash
204
204
$ docker run -d --link nats-main nats-streaming -store file -dir datastore -ns nats://nats-main:4222
205
205
206
- [1] 2022/01/26 15:43:36.324320 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.24.0
207
- [1] 2022/01/26 15:43:36.324386 [INF] STREAM: ServerID: KO3l0dRVOEHMnt5298mr1h
208
- [1] 2022/01/26 15:43:36.324388 [INF] STREAM: Go version: go1.17.6
209
- [1] 2022/01/26 15:43:36.324389 [INF] STREAM: Git commit: [a17a5b6 ]
210
- [1] 2022/01/26 15:43:36.352954 [INF] STREAM: Recovering the state...
211
- [1] 2022/01/26 15:43:36.353787 [INF] STREAM: Recovered 0 channel(s)
212
- [1] 2022/01/26 15:43:36.354444 [INF] STREAM: Message store is FILE
213
- [1] 2022/01/26 15:43:36.354450 [INF] STREAM: Store location: datastore
214
- [1] 2022/01/26 15:43:36.354467 [INF] STREAM: ---------- Store Limits ----------
215
- [1] 2022/01/26 15:43:36.354469 [INF] STREAM: Channels: 100 *
216
- [1] 2022/01/26 15:43:36.354470 [INF] STREAM: --------- Channels Limits --------
217
- [1] 2022/01/26 15:43:36.354472 [INF] STREAM: Subscriptions: 1000 *
218
- [1] 2022/01/26 15:43:36.354473 [INF] STREAM: Messages : 1000000 *
219
- [1] 2022/01/26 15:43:36.354474 [INF] STREAM: Bytes : 976.56 MB *
220
- [1] 2022/01/26 15:43:36.354475 [INF] STREAM: Age : unlimited *
221
- [1] 2022/01/26 15:43:36.354476 [INF] STREAM: Inactivity : unlimited *
222
- [1] 2022/01/26 15:43:36.354477 [INF] STREAM: ----------------------------------
223
- [1] 2022/01/26 15:43:36.354479 [INF] STREAM: Streaming Server is ready
206
+ [1] 2022/10/11 15:00:56.780184 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.25.2
207
+ [1] 2022/10/11 15:00:56.780235 [INF] STREAM: ServerID: jVQkB4KiIN4IVIuVoSumE0
208
+ [1] 2022/10/11 15:00:56.780237 [INF] STREAM: Go version: go1.19.2
209
+ [1] 2022/10/11 15:00:56.780241 [INF] STREAM: Git commit: [9e599667 ]
210
+ [1] 2022/10/11 15:00:56.809173 [INF] STREAM: Recovering the state...
211
+ [1] 2022/10/11 15:00:56.810336 [INF] STREAM: Recovered 0 channel(s)
212
+ [1] 2022/10/11 15:00:56.810612 [INF] STREAM: Message store is FILE
213
+ [1] 2022/10/11 15:00:56.810617 [INF] STREAM: Store location: datastore
214
+ [1] 2022/10/11 15:00:56.810633 [INF] STREAM: ---------- Store Limits ----------
215
+ [1] 2022/10/11 15:00:56.810635 [INF] STREAM: Channels: 100 *
216
+ [1] 2022/10/11 15:00:56.810636 [INF] STREAM: --------- Channels Limits --------
217
+ [1] 2022/10/11 15:00:56.810637 [INF] STREAM: Subscriptions: 1000 *
218
+ [1] 2022/10/11 15:00:56.810639 [INF] STREAM: Messages : 1000000 *
219
+ [1] 2022/10/11 15:00:56.810640 [INF] STREAM: Bytes : 976.56 MB *
220
+ [1] 2022/10/11 15:00:56.810641 [INF] STREAM: Age : unlimited *
221
+ [1] 2022/10/11 15:00:56.810642 [INF] STREAM: Inactivity : unlimited *
222
+ [1] 2022/10/11 15:00:56.810643 [INF] STREAM: ----------------------------------
223
+ [1] 2022/10/11 15:00:56.810644 [INF] STREAM: Streaming Server is ready
224
224
```
225
225
226
226
Notice that the output shows that the NATS Server was not started, as opposed to the first output.
0 commit comments