Reference
Nats coordinator
Address of the NATS server.
On this page
NATS Settings
Addresses
Address of the NATS server.
A list. Each one: text. Default: 127.0.0.1:4444. Name in the API: addresses.
Max Reconnects
Maximum number of times to attempt to reconnect to the server.
A number. Name in the API: maxReconnects.
Timeouts
Connection Timeout
Timeout for establishing a connection to the server.
A length of time. Default: 5s. Name in the API: timeoutConnection.
Request Timeout
Timeout for requests to the server.
A length of time. Default: 10s. Name in the API: timeoutRequest.
Ping
Ping Interval
Interval between pings to the server.
A length of time. Default: 1m. Name in the API: pingInterval.
Capacity
Client
By default, Client dispatches op's to the Client onto the channel with capacity of 2048. This option enables overriding it.
A number. Default: 2048. Name in the API: capacityClient.
Read Buffer
Sets the initial capacity of the read buffer. Which is a buffer used to gather partial protocol messages.
A number. Default: 65535. Name in the API: capacityReadBuffer.
Subscription
Sets the capacity for Subscribers. Exceeding it will trigger slow consumer error callback and drop messages.
A number. Default: 65536. Name in the API: capacitySubscription.
Options
No Echo
Disables delivering messages that were published from the same connection.
On or off. Default: On. Name in the API: noEcho.
Enable TLS
Use TLS to connect to the store.
On or off. Name in the API: useTls.
Authentication
Username
Username to connect to the store.
Text. Default: inbuxa. Name in the API: authUsername.
Password
Password to connect to the store.
Settings of their own: see Secret key optional. Name in the API: authSecret.
JWT Credentials
String containing the JWT credentials.
Settings of their own: see Secret text optional. Name in the API: credentials.