Skip to content

nats_stream_forwarder job from cf/257

The NATS Stream Forwarder listens to a configured NATS server and logs all messages.

Github source: f7a37811 or master branch

Properties

nats

machines

NATS addresses

password

Password for server authentication.

port

The port for the NATS server to listen on.

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_stream_forwarder/ directory (learn more).

  • bin/nats_stream_forwarder.rb (from nats_stream_forwarder.rb)
  • bin/nats_stream_forwarder_ctl (from nats_stream_forwarder_ctl.erb)
  • bin/pre-start (from pre-start.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.