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: articles/iot-operations/manage-mqtt-broker/howto-disk-backed-message-buffer.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ By default, the disk-backed message buffer feature is disabled. In this case, me
28
28
Configuring the disk-backed message buffer is essential for maintaining a robust and reliable message queuing system, especially in scenarios where message processing speed and connectivity are critical.
29
29
30
30
> [!NOTE]
31
-
> The MQTT broker writes data to disk exactly as received from clients, without added encryption. Securing the disk is essential to protect the data stored by the broker.
31
+
> The MQTT broker writes data to disk exactly as received from clients, without added encryption. Securing the disk is essential to protect the data that the broker stores.
32
32
33
33
## Configuration options
34
34
35
35
To configure the disk-backed message buffer, edit the `diskBackedMessageBuffer` section in the Broker resource. Currently, this configuration is supported only by using the `--broker-config-file` flag when you deploy Azure IoT Operations by using the `az iot ops create` command.
36
36
37
-
To get started, prepare a Broker configuration file following the [DiskBackedMessageBuffer](/rest/api/iotoperations/broker/create-or-update#diskbackedmessagebuffer) API reference.
37
+
To get started, prepare a Broker configuration file by following the [DiskBackedMessageBuffer](/rest/api/iotoperations/broker/create-or-update#diskbackedmessagebuffer) API reference.
38
38
39
39
For example, the simplest configuration involves only specifying the maximum size. In this case, [an `emptyDir` volume](#emptydir-volume) is mounted. The `maxSize` value is used as the size limit of the `emptyDir` volume. But this option is the least preferred option because of the limitations of the `emptyDir` volume.
40
40
@@ -97,7 +97,7 @@ Both persistent and ephemeral volumes are generally provided by the same storage
97
97
98
98
### Deploy IoT Operations with disk-backed message buffer
99
99
100
-
To use a disk-backed message buffer, deploy IoT Operations by using the `az iot ops create` command with the `--broker-config-file` flag. See the following command (other parameters are omitted for brevity):
100
+
To use a disk-backed message buffer, deploy IoT Operations by using the `az iot ops create` command with the `--broker-config-file` flag. See the following command. (Other parameters are omitted for brevity.)
101
101
102
102
```azurecli
103
103
az iot ops create ... --broker-config-file <FILE>.json
@@ -111,7 +111,7 @@ This setting can't be changed after deployment. To change the disk-backed messag
111
111
112
112
For ephemeral volume, follow the advice in the [Considerations for storage providers](#considerations-for-storage-providers) section.
113
113
114
-
The value of the `ephemeralVolumeClaimSpec` property is used as the `ephemeral.volumeClaimTemplate.spec` property of the volume in the `StatefulSet`specs of the backend chains.
114
+
The value of the `ephemeralVolumeClaimSpec` property is used as the `ephemeral.volumeClaimTemplate.spec` property of the volume in the `StatefulSet`specifications of the backend chains.
115
115
116
116
For example, to use an ephemeral volume with a capacity of 1 gigabyte, specify the following parameters in your Broker resource:
117
117
@@ -135,7 +135,7 @@ For example, to use an ephemeral volume with a capacity of 1 gigabyte, specify t
135
135
136
136
For persistent volume, follow the advice in the [Considerations for storage providers](#considerations-for-storage-providers) section.
137
137
138
-
The value of the `persistentVolumeClaimSpec` property is used as the `volumeClaimTemplates.spec` property of the `StatefulSet`specs of the backend chains.
138
+
The value of the `persistentVolumeClaimSpec` property is used as the `volumeClaimTemplates.spec` property of the `StatefulSet`specifications of the backend chains.
139
139
140
140
For example, to use a persistent volume with a capacity of 1 gigabyte, specify the following parameters in your Broker resource:
0 commit comments