mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
Release v0.9.6
This commit is contained in:
@@ -17,4 +17,4 @@ script:
|
||||
- staticcheck -ignore "$(cat staticcheck.ignore)" $EXCLUDE_VENDOR
|
||||
after_success:
|
||||
- if [ "$TRAVIS_GO_VERSION" \> "1.7." ]; then ./scripts/cov.sh TRAVIS; fi
|
||||
- if [ "$TRAVIS_GO_VERSION" \> "1.7." ] && [ "$TRAVIS_TAG" != "" ]; then ./scripts/cross_compile.sh $TRAVIS_TAG; ghr --username nats-io --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi
|
||||
- if [ "$TRAVIS_GO_VERSION" \> "1.7." ] && [ "$TRAVIS_TAG" != "" ]; then ./scripts/cross_compile.sh $TRAVIS_TAG; ghr --owner nats-io --token $GITHUB_TOKEN --draft --replace $TRAVIS_TAG pkg/; fi
|
||||
49
README.md
49
README.md
@@ -49,9 +49,9 @@ To start the NATS server with default settings (and no authentication or cluster
|
||||
|
||||
```sh
|
||||
> ./gnatsd
|
||||
[37274] 2016/11/20 18:33:12.119961 [INF] Starting nats-server version 0.9.4
|
||||
[37274] 2016/11/20 18:33:12.120060 [INF] Listening for client connections on 0.0.0.0:4222
|
||||
[37274] 2016/11/20 18:33:12.120154 [INF] Server is ready
|
||||
[37274] 2016/12/15 18:33:12.119961 [INF] Starting nats-server version 0.9.6
|
||||
[37274] 2016/12/15 18:33:12.120060 [INF] Listening for client connections on 0.0.0.0:4222
|
||||
[37274] 2016/12/15 18:33:12.120154 [INF] Server is ready
|
||||
```
|
||||
|
||||
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.
|
||||
@@ -69,7 +69,7 @@ The NATS server uses a [text based protocol](http://nats.io/documentation/intern
|
||||
Trying 107.170.221.32...
|
||||
Connected to demo.nats.io.
|
||||
Escape character is '^]'.
|
||||
INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"0.9.4","go":"go1.6.3","host":"0.0.0.0","port":4222, ...}
|
||||
INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"0.9.6","go":"go1.7.4","host":"0.0.0.0","port":4222, ...}
|
||||
SUB foo 1
|
||||
+OK
|
||||
PUB foo 11
|
||||
@@ -85,36 +85,39 @@ The NATS server accepts command line arguments to control its behavior. Usage is
|
||||
|
||||
```
|
||||
Server Options:
|
||||
-a, --addr HOST Bind to HOST address (default: 0.0.0.0)
|
||||
-p, --port PORT Use PORT for clients (default: 4222)
|
||||
-P, --pid FILE File to store PID
|
||||
-m, --http_port PORT Use HTTP PORT for monitoring
|
||||
-ms,--https_port PORT Use HTTPS PORT for monitoring
|
||||
-c, --config FILE Configuration File
|
||||
-a, --addr <host> Bind to host address (default: 0.0.0.0)
|
||||
-p, --port <port> Use port for clients (default: 4222)
|
||||
-P, --pid <file> File to store PID
|
||||
-m, --http_port <port> Use port for http monitoring
|
||||
-ms,--https_port <port> Use port for https monitoring
|
||||
-c, --config <file> Configuration file
|
||||
|
||||
Logging Options:
|
||||
-l, --log FILE File to redirect log output
|
||||
-l, --log <file> File to redirect log output
|
||||
-T, --logtime Timestamp log entries (default: true)
|
||||
-s, --syslog Enable syslog as log method.
|
||||
-r, --remote_syslog Syslog server addr (udp://localhost:514).
|
||||
-s, --syslog Enable syslog as log method
|
||||
-r, --remote_syslog <addr> Syslog server addr (udp://localhost:514)
|
||||
-D, --debug Enable debugging output
|
||||
-V, --trace Trace the raw protocol
|
||||
-DV Debug and Trace
|
||||
-DV Debug and trace
|
||||
|
||||
Authorization Options:
|
||||
--user user User required for connections
|
||||
--pass password Password required for connections
|
||||
--user <user> User required for connections
|
||||
--pass <password> Password required for connections
|
||||
--auth <token> Authorization token required for connections
|
||||
|
||||
TLS Options:
|
||||
--tls Enable TLS, do not verify clients (default: false)
|
||||
--tlscert FILE Server certificate file
|
||||
--tlskey FILE Private key for server certificate
|
||||
--tlscert <file> Server certificate file
|
||||
--tlskey <file> Private key for server certificate
|
||||
--tlsverify Enable TLS, verify client certificates
|
||||
--tlscacert FILE Client certificate CA for verification
|
||||
--tlscacert <file> Client certificate CA for verification
|
||||
|
||||
Cluster Options:
|
||||
--routes [rurl-1, rurl-2] Routes to solicit and connect
|
||||
--cluster [cluster url] Cluster URL for solicited routes
|
||||
--routes <rurl-1, rurl-2> Routes to solicit and connect
|
||||
--cluster <cluster-url> Cluster URL for solicited routes
|
||||
--no_advertise <bool> Advertise known cluster IPs to clients
|
||||
|
||||
|
||||
Common Options:
|
||||
-h, --help Show this message
|
||||
@@ -658,8 +661,8 @@ IN THE SOFTWARE.
|
||||
[License-Image]: https://img.shields.io/npm/l/express.svg
|
||||
[Build-Status-Url]: http://travis-ci.org/nats-io/gnatsd
|
||||
[Build-Status-Image]: https://travis-ci.org/nats-io/gnatsd.svg?branch=master
|
||||
[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v0.9.4
|
||||
[Release-image]: http://img.shields.io/badge/release-v0.9.4-1eb0fc.svg
|
||||
[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v0.9.6
|
||||
[Release-image]: http://img.shields.io/badge/release-v0.9.6-1eb0fc.svg
|
||||
[Coverage-Url]: https://coveralls.io/r/nats-io/gnatsd?branch=master
|
||||
[Coverage-image]: https://coveralls.io/repos/github/nats-io/gnatsd/badge.svg?branch=master
|
||||
[ReportCard-Url]: http://goreportcard.com/report/nats-io/gnatsd
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
const (
|
||||
// VERSION is the current version for the server.
|
||||
VERSION = "0.9.5"
|
||||
VERSION = "0.9.6"
|
||||
|
||||
// DEFAULT_PORT is the default port for client connections.
|
||||
DEFAULT_PORT = 4222
|
||||
|
||||
Reference in New Issue
Block a user