nats job from bosh/272.2.0
Github source:
ed9d687e7
or
master branch
Properties¶
nats
¶
auth_timeout
¶Timeout (in seconds) for clients to send auth credentials
- Default
30
enable_metrics_endpoint
¶Expose basic nats metrics on localhost:8222 endpoint.
- Default
false
listen_address
¶IP address nats mbus listens on
- Default
0.0.0.0
max_payload_mb
¶Maximum message size in megabytes
- Default
1
password
¶Password clients must use to access nats mbus
ping_interval
¶Time interval (in seconds) pings from server
- Default
5
ping_max_outstanding
¶Maximum number of pings before declaring a client unresponsive
- Default
2
port
¶TCP port nats mbus listens on
- Default
4222
tls
¶
ca
¶CA cert used by NATS server to verify clients certificates (For Mutual TLS Connections)
server
¶
certificate
¶Certificate used by the NATS server to serve TLS connections. The Common-Name for the certificate should be “default.nats.bosh-internal”
private_key
¶Private Key used by the NATS server to serve TLS connections
timeout
¶Timeout (in seconds) for TLS handshake
- Default
30
user
¶Username clients must use to access nats mbus
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/nats/
directory
(learn more).
bin/pre-start
(frompre-start
)config/bpm.yml
(frombpm.yml
)config/nats.cfg
(fromnats.cfg.erb
)config/nats_client_ca.pem
(fromnats_client_ca.pem.erb
)config/nats_server_certificate.pem
(fromnats_server_certificate.pem.erb
)config/nats_server_private_key
(fromnats_server_private_key.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.