Comment on page
🧙♂
🧙♂ 🧙♂ 🧙♂ NATS Configuration
These environment variables work only when
ADAPTER_DRIVER
is set to nats
.Name | Default | Possible values | Description |
---|---|---|---|
ADAPTER_NATS_PREFIX | '' | Any string | The NATS adapter prefix. |
ADAPTER_NATS_SERVERS | ['127.0.0.1:4222'] | Array in JSON-formatted string | The list of servers to connect to for NATS. |
ADAPTER_NATS_USER | null | Any string | The user used to authenticate NATS requests. |
ADAPTER_NATS_PASSWORD | null | Any string | The password used to authenticate NATS requests. |
ADAPTER_NATS_TOKEN | null | Any string | The JWT token used to authenticate NATS requests (as alternative to user and password). |
ADAPTER_NATS_TIMEOUT | 10000 | Any number (milliseconds). | The connection timeout for NATS. |
ADAPTER_NATS_REQUESTS_TIMEOUT | 5000 | Any number (milliseconds). |
Last modified 1yr ago