nats job from cf/264
The NATS server provides publish-subscribe messaging system for the Cloud Controller, the DEA , HM9000, and other Cloud Foundry components.
Github source:
8274c52f
or
master branch
Properties¶
nats
¶
authorization_timeout
¶After accepting a connection, wait up to this many seconds for credentials.
- Default
15
debug
¶Enable debug logging output.
- Default
false
machines
¶IP of each NATS cluster member.
monitor_port
¶Port for varz and connz monitoring. 0 means disabled.
- Default
0
password
¶Password for server authentication.
port
¶The port for the NATS server to listen on.
- Default
4222
prof_port
¶Port for pprof. 0 means disabled.
- Default
0
trace
¶Enable trace logging output.
- Default
false
user
¶Username for server authentication.
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/nats_ctl
(fromnats_ctl.erb
)bin/pre-start
(frompre-start.erb
)config/nats.conf
(fromnats.conf.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.