You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/nats/overview.mdx
+35-9Lines changed: 35 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,28 +27,54 @@ Our NATS implementation features optimized default settings designed for common
27
27
- Secure authentication with automatically generated credentials
28
28
- Optimized settings for performance and reliability
29
29
30
+
You can fine-tune your NATS service by adjusting **environment variables**:
31
+
32
+
### Available Configuration Options
33
+
34
+
:::note
35
+
If certain variables are not visible in your configuration, they may have been introduced after your service was created. Simply add them as [secret variables](/features/env-variables#2-secret-variables) to access the functionality.
<tdclassName="w-fit">Defines the maximum allowed message size for all NATS traffic. Default: <code>8MB</code>, Maximum: <code>64MB</code>. See <ahref="https://docs.nats.io/running-a-nats-service/configuration#limits">NATS limits documentation</a> for details.</td>
<tdclassName="w-fit">Controls whether JetStream functionality is enabled. Default: <code>1</code> (enabled), Set to <code>0</code> to disable. See <ahref="#jetstream-configuration">JetStream Configuration</a> section below for more details.</td>
53
+
</tr>
54
+
</tbody>
55
+
</table>
56
+
57
+
:::important
58
+
Configuration changes require a service **restart** to take effect. While NATS itself supports configuration hot-reload, this feature will be implemented in a future Zerops update.
59
+
:::
60
+
61
+
After restarting, check your service logs to confirm the changes were applied successfully.
62
+
30
63
### JetStream Configuration
31
64
32
65
The service includes [JetStream](https://docs.nats.io/nats-concepts/jetstream) functionality **enabled by default**, providing persistent storage capabilities for your messaging workloads:
33
66
-**Memory store**: Up to 40GB for high-performance message caching
34
67
-**File store**: Up to 250GB for persistent storage
35
68
-**Regular sync intervals**: Ensures data durability and consistency
69
+
36
70
:::note
37
71
In HA deployments, data persistence is further enhanced with 1-minute sync intervals across all nodes, ensuring robust data durability and high availability.
38
72
:::
39
73
40
74
This configuration provides a robust foundation for message persistence while balancing performance and reliability.
41
75
42
-
#### Disabling JetStream
43
-
44
-
If you don't need message persistence, you can disable JetStream by setting the `JET_STREAM_ENABLED` environment variable to `0` in your service configuration. This can be done:
45
-
46
-
- During service creation through the [import configuration](/references/import)
47
-
- In the Zerops GUI under service environment variables
48
-
- Via the [Zerops API](/references/api) when creating a new service
49
-
50
76
:::tip
51
-
Disabling JetStream may reduce resource usage when persistence isn't required for your application.
77
+
Disabling JetStream can reduce resource utilization for applications that don't require message persistence.
Copy file name to clipboardExpand all lines: apps/docs/static/llms-full.txt
+20-6Lines changed: 20 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17381,6 +17381,25 @@ Our NATS implementation features optimized default settings designed for common
17381
17381
- HTTP monitoring interface `8222` for management
17382
17382
- Secure authentication with automatically generated credentials
17383
17383
- Optimized settings for performance and reliability
17384
+
You can fine-tune your NATS service by adjusting **environment variables**:
17385
+
### Available Configuration Options
17386
+
:::note
17387
+
If certain variables are not visible in your configuration, they may have been introduced after your service was created. Simply add them as [secret variables](/features/env-variables#2-secret-variables) to access the functionality.
17388
+
:::
17389
+
17390
+
Variable
17391
+
Description
17392
+
17393
+
MAX_PAYLOAD
17394
+
Defines the maximum allowed message size for all NATS traffic. Default: 8MB, Maximum: 64MB. See NATS limits documentation for details.
17395
+
17396
+
JET_STREAM_ENABLED
17397
+
Controls whether JetStream functionality is enabled. Default: 1 (enabled), Set to 0 to disable. See JetStream Configuration section below for more details.
17398
+
17399
+
:::important
17400
+
Configuration changes require a service **restart** to take effect. While NATS itself supports configuration hot-reload, this feature will be implemented in a future Zerops update.
17401
+
:::
17402
+
After restarting, check your service logs to confirm the changes were applied successfully.
17384
17403
### JetStream Configuration
17385
17404
The service includes [JetStream](https://docs.nats.io/nats-concepts/jetstream) functionality **enabled by default**, providing persistent storage capabilities for your messaging workloads:
17386
17405
- **Memory store**: Up to 40GB for high-performance message caching
@@ -17390,13 +17409,8 @@ The service includes [JetStream](https://docs.nats.io/nats-concepts/jetstream) f
17390
17409
In HA deployments, data persistence is further enhanced with 1-minute sync intervals across all nodes, ensuring robust data durability and high availability.
17391
17410
:::
17392
17411
This configuration provides a robust foundation for message persistence while balancing performance and reliability.
17393
-
#### Disabling JetStream
17394
-
If you don't need message persistence, you can disable JetStream by setting the `JET_STREAM_ENABLED` environment variable to `0` in your service configuration. This can be done:
17395
-
- During service creation through the [import configuration](/references/import)
17396
-
- In the Zerops GUI under service environment variables
17397
-
- Via the [Zerops API](/references/api) when creating a new service
17398
17412
:::tip
17399
-
Disabling JetStream may reduce resource usage when persistence isn't required for your application.
17413
+
Disabling JetStream can reduce resource utilization for applications that don't require message persistence.
Copy file name to clipboardExpand all lines: apps/docs/static/llms-small.txt
+20-6Lines changed: 20 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17154,6 +17154,25 @@ Our NATS implementation features optimized default settings designed for common
17154
17154
- HTTP monitoring interface `8222` for management
17155
17155
- Secure authentication with automatically generated credentials
17156
17156
- Optimized settings for performance and reliability
17157
+
You can fine-tune your NATS service by adjusting **environment variables**:
17158
+
### Available Configuration Options
17159
+
:::note
17160
+
If certain variables are not visible in your configuration, they may have been introduced after your service was created. Simply add them as [secret variables](/features/env-variables#2-secret-variables) to access the functionality.
17161
+
:::
17162
+
17163
+
Variable
17164
+
Description
17165
+
17166
+
MAX_PAYLOAD
17167
+
Defines the maximum allowed message size for all NATS traffic. Default: 8MB, Maximum: 64MB. See NATS limits documentation for details.
17168
+
17169
+
JET_STREAM_ENABLED
17170
+
Controls whether JetStream functionality is enabled. Default: 1 (enabled), Set to 0 to disable. See JetStream Configuration section below for more details.
17171
+
17172
+
:::important
17173
+
Configuration changes require a service **restart** to take effect. While NATS itself supports configuration hot-reload, this feature will be implemented in a future Zerops update.
17174
+
:::
17175
+
After restarting, check your service logs to confirm the changes were applied successfully.
17157
17176
### JetStream Configuration
17158
17177
The service includes [JetStream](https://docs.nats.io/nats-concepts/jetstream) functionality **enabled by default**, providing persistent storage capabilities for your messaging workloads:
17159
17178
- **Memory store**: Up to 40GB for high-performance message caching
@@ -17163,13 +17182,8 @@ The service includes [JetStream](https://docs.nats.io/nats-concepts/jetstream) f
17163
17182
In HA deployments, data persistence is further enhanced with 1-minute sync intervals across all nodes, ensuring robust data durability and high availability.
17164
17183
:::
17165
17184
This configuration provides a robust foundation for message persistence while balancing performance and reliability.
17166
-
#### Disabling JetStream
17167
-
If you don't need message persistence, you can disable JetStream by setting the `JET_STREAM_ENABLED` environment variable to `0` in your service configuration. This can be done:
17168
-
- During service creation through the [import configuration](/references/import)
17169
-
- In the Zerops GUI under service environment variables
17170
-
- Via the [Zerops API](/references/api) when creating a new service
17171
17185
:::tip
17172
-
Disabling JetStream may reduce resource usage when persistence isn't required for your application.
17186
+
Disabling JetStream can reduce resource utilization for applications that don't require message persistence.
0 commit comments