Skip to content

Commit 6608e9a

Browse files
authored
Merge pull request #709 from nats-io/release_1_2_0
Prepare for release 1.2.0
2 parents 508240b + cd28d58 commit 6608e9a

File tree

4 files changed

+27
-24
lines changed

4 files changed

+27
-24
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.9.4
1+
FROM golang:1.10.3
22

33
MAINTAINER Ivan Kozlovic <[email protected]>
44

Dockerfile.all

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.9.4
1+
FROM golang:1.10.3
22

33
MAINTAINER Ivan Kozlovic <[email protected]>
44

README.md

+24-21
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ To start the NATS server with default settings (and no authentication or cluster
5050

5151
```sh
5252
> ./gnatsd
53-
[7499] 2018/03/23 11:46:15.239889 [INF] Starting nats-server version 1.1.0
54-
[7499] 2018/03/23 11:46:15.239964 [INF] Git commit [not set]
55-
[7499] 2018/03/23 11:46:15.240140 [INF] Listening for client connections on 0.0.0.0:4222
56-
[7499] 2018/03/23 11:46:15.240146 [INF] Server is ready
53+
[91226] 2018/07/03 16:43:34.327233 [INF] Starting nats-server version 1.2.0
54+
[91226] 2018/07/03 16:43:34.327306 [INF] Git commit [not set]
55+
[91226] 2018/07/03 16:43:34.327484 [INF] Listening for client connections on 0.0.0.0:4222
56+
[91226] 2018/07/03 16:43:34.327490 [INF] Server is ready
5757
```
5858

5959
The server is started and listening for client connections on port 4222 (the default) from all available interfaces. The logs are displayed to stdout as shown above in the server output.
@@ -71,7 +71,7 @@ The NATS server uses a [text based protocol](http://nats.io/documentation/intern
7171
Trying 107.170.221.32...
7272
Connected to demo.nats.io.
7373
Escape character is '^]'.
74-
INFO {"server_id":"JUOufISZqT09TSan4iBHCJ","version":"1.0.6","git_commit":"","go":"go1.9.4","host":"0.0.0.0","port":4222,"auth_required":false,"tls_required":false,"tls_verify":false,"max_payload":1048576}
74+
INFO {"server_id":"5o1EFgWr0QYA1giGmaoRLy","version":"1.2.0","proto":1,"go":"go1.10.3","host":"0.0.0.0","port":4222,"max_payload":1048576,"client_id":25474}
7575
SUB foo 1
7676
+OK
7777
PUB foo 11
@@ -246,6 +246,9 @@ pid_file: "/tmp/nats-server.pid"
246246
# max_connections
247247
max_connections: 100
248248
249+
# max_subscriptions (per connection)
250+
max_subscriptions: 1000
251+
249252
# maximum protocol control line
250253
max_control_line: 512
251254
@@ -717,20 +720,20 @@ Examples using the test certificates which are self signed for localhost and 127
717720
```bash
718721
> ./gnatsd --tls --tlscert=./test/configs/certs/server-cert.pem --tlskey=./test/configs/certs/server-key.pem
719722

720-
[7531] 2018/03/23 11:46:56.396480 [INF] Starting nats-server version 1.1.0
721-
[7531] 2018/03/23 11:46:56.396543 [INF] Git commit [not set]
722-
[7531] 2018/03/23 11:46:56.396725 [INF] Listening for client connections on 0.0.0.0:4222
723-
[7531] 2018/03/23 11:46:56.396731 [INF] TLS required for client connections
724-
[7531] 2018/03/23 11:46:56.396743 [INF] Server is ready
723+
[91296] 2018/07/03 16:44:38.879267 [INF] Starting nats-server version 1.2.0
724+
[91296] 2018/07/03 16:44:38.879348 [INF] Git commit [not set]
725+
[91296] 2018/07/03 16:44:38.879546 [INF] Listening for client connections on 0.0.0.0:4222
726+
[91296] 2018/07/03 16:44:38.879553 [INF] TLS required for client connections
727+
[91296] 2018/07/03 16:44:38.879557 [INF] Server is ready
725728
```
726729

727730
Notice that the log indicates that the client connections will be required to use TLS. If you run the server in Debug mode with `-D` or `-DV`, the logs will show the cipher suite selection for each connected client.
728731

729732
```
730-
[7883] 2018/03/23 11:49:50.603842 [DBG] ::1:58352 - cid:1 - Client connection created
731-
[7883] 2018/03/23 11:49:50.603908 [DBG] ::1:58352 - cid:1 - Starting TLS client connection handshake
732-
[7883] 2018/03/23 11:49:50.619115 [DBG] ::1:58352 - cid:1 - TLS handshake complete
733-
[7883] 2018/03/23 11:49:50.619127 [DBG] ::1:58352 - cid:1 - TLS version 1.2, cipher suite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
733+
[98991] 2018/07/05 08:47:51.043032 [DBG] 127.0.0.1:61950 - cid:1 - Client connection created
734+
[98991] 2018/07/05 08:47:51.043082 [DBG] 127.0.0.1:61950 - cid:1 - Starting TLS client connection handshake
735+
[98991] 2018/07/05 08:47:51.057104 [DBG] 127.0.0.1:61950 - cid:1 - TLS handshake complete
736+
[98991] 2018/07/05 08:47:51.057127 [DBG] 127.0.0.1:61950 - cid:1 - TLS version 1.2, cipher suite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
734737
```
735738

736739
If you want the server to enforce and require client certificates as well via the command line, utilize this example.
@@ -781,11 +784,11 @@ To enable monitoring via the configuration file, use `host:port` (there is no ex
781784
For example, running the `gnatsd -m 8222` command, you should see that the NATS server starts with the HTTP monitoring port enabled. To view the monitoring home page, go to <a href="http://localhost:8222/" target="_blank">http://localhost:8222/</a>.
782785

783786
```
784-
[7924] 2018/03/23 11:50:25.270499 [INF] Starting nats-server version 1.1.0
785-
[7924] 2018/03/23 11:50:25.270571 [INF] Git commit [not set]
786-
[7924] 2018/03/23 11:50:25.270741 [INF] Starting http monitor on 0.0.0.0:8222
787-
[7924] 2018/03/23 11:50:25.270788 [INF] Listening for client connections on 0.0.0.0:4222
788-
[7924] 2018/03/23 11:50:25.270792 [INF] Server is ready
787+
[99055] 2018/07/05 08:48:20.075091 [INF] Starting nats-server version 1.2.0
788+
[99055] 2018/07/05 08:48:20.075157 [INF] Git commit [not set]
789+
[99055] 2018/07/05 08:48:20.075331 [INF] Starting http monitor on 0.0.0.0:8222
790+
[99055] 2018/07/05 08:48:20.075377 [INF] Listening for client connections on 0.0.0.0:4222
791+
[99055] 2018/07/05 08:48:20.075381 [INF] Server is ready
789792
```
790793

791794
## Development
@@ -827,8 +830,8 @@ NATS Office Hours will be on hiatus for the US summer season. Please join our [S
827830
[Fossa-Image]: https://app.fossa.io/api/projects/git%2Bgithub.jpy.wang%2Fnats-io%2Fgnatsd.svg?type=shield
828831
[Build-Status-Url]: http://travis-ci.org/nats-io/gnatsd
829832
[Build-Status-Image]: https://travis-ci.org/nats-io/gnatsd.svg?branch=master
830-
[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v1.1.0
831-
[Release-image]: http://img.shields.io/badge/release-v1.1.0-1eb0fc.svg
833+
[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v1.2.0
834+
[Release-image]: http://img.shields.io/badge/release-v1.2.0-1eb0fc.svg
832835
[Coverage-Url]: https://coveralls.io/r/nats-io/gnatsd?branch=master
833836
[Coverage-image]: https://coveralls.io/repos/github/nats-io/gnatsd/badge.svg?branch=master
834837
[ReportCard-Url]: http://goreportcard.com/report/nats-io/gnatsd

server/const.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var (
3535

3636
const (
3737
// VERSION is the current version for the server.
38-
VERSION = "1.2.0-beta4"
38+
VERSION = "1.2.0"
3939

4040
// PROTO is the currently supported protocol.
4141
// 0 was the original

0 commit comments

Comments
 (0)