NATS Service Configuration
Introduction
The Infinite Scale NATS service provides …
Services are under development because of the |
Configuration
Environment Variables
The nats
extension is configured via the following environment variables:
Name | Type | Default Value | Description |
---|---|---|---|
|
string |
The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace". |
|
|
bool |
false |
Activates pretty log output. |
|
bool |
false |
Activates colorized log output. |
|
string |
The path to the log file. Activates logging to this file if set. |
|
|
string |
127.0.0.1:9234 |
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. |
|
string |
Token to secure the metrics endpoint |
|
|
bool |
false |
Enables pprof, which can be used for profiling |
|
bool |
false |
Enables zpages, which can be used for collecting and viewing in-memory traces. |
|
string |
127.0.0.1 |
Bind address. |
|
int |
9233 |
Bind port: |
|
string |
ocis-cluster |
ID of the NATS cluster. |
|
string |
~/.ocis/nats |
Path for the NATS JetStream persistence directory. |
Since Version: +
added, -
deprecated