NATS as Event Bus
How to setup Bindplane to use NATS as its event bus
Configuration
eventBus:
type: nats
nats:
# NATS client connects to the NATS server on the same
# node. The client will publish and consume events
# from the subject "bindplane-event-bus.
client:
endpoint: nats://localhost:4222
subject: bindplane-event-bus
# NATS server accepts client connections on localhost
# and cluster connections on all interfaces.
server:
enable: true
client:
host: localhost
port: 4222
http:
host: localhost
port: 8222
cluster:
name: bindplane
host: '0.0.0.0'
port: 6222
routes:
- 'nats://bindplane-0.corp.net:6222'
- 'nats://bindplane-1.corp.net:6222'
- 'nats://bindplane-2.corp.net:6222'Configuration Parameters
Option
Flag
Environment Variable
Client Name
Client Endpoint
Client Subject
Server Enable
Server Name
Server Client Host
Server Client Port
Server HTTP Host
Server HTTP Port
Server Cluster Name
Server Cluster Host
Server Cluster Port
Server Cluster Advertise
Server Cluster Routes
Authentication
TLS Configuration
Option
Description
Default
Last updated
Was this helpful?