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
The mapper accesses the reference dataset stored in the Azure IoT Operations [state store](../develop-edge-apps/concept-about-state-store-protocol.md) by using a key value based on a *condition* specified in the mapping configuration. Key names in the state store correspond to a dataset in the data flow configuration.
29
+
The mapper accesses the reference dataset stored in the Azure IoT Operations [state store](../develop-edge-apps/reference-state-store-protocol.md) by using a key value based on a *condition* specified in the mapping configuration. Key names in the state store correspond to a dataset in the data flow configuration.
Copy file name to clipboardExpand all lines: articles/iot-operations/develop-edge-apps/reference-state-store-protocol.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ sequenceDiagram
38
38
State Store->>+Client: Response<BR>PUBLISH Response Topic<BR>Payload
39
39
-->
40
40
41
-
:::image type="content" source="media/concept-about-state-store-protocol/state-store-request-response-basic.svg" alt-text="Diagram of state store basic request and response process." border="false":::
41
+
:::image type="content" source="media/reference-state-store-protocol/state-store-request-response-basic.svg" alt-text="Diagram of state store basic request and response process." border="false":::
42
42
43
43
## State store system topic, QoS, and required MQTT v5 properties
44
44
@@ -65,7 +65,7 @@ sequenceDiagram
65
65
State Store->>+Client: Response<BR>PUBLISH client-defined-response-topic<br>Correlation Data:1234<BR>Payload(RESP3)
66
66
-->
67
67
68
-
:::image type="content" source="media/concept-about-state-store-protocol/state-store-request-response-expanded.svg" alt-text="Diagram of state store expanded request and response process." border="false":::
68
+
:::image type="content" source="media/reference-state-store-protocol/state-store-request-response-expanded.svg" alt-text="Diagram of state store expanded request and response process." border="false":::
69
69
70
70
## Supported commands
71
71
@@ -243,7 +243,7 @@ sequenceDiagram
243
243
State Store->>+Client: Response<BR>__ts=1696374425000:1:StateStore<BR>Payload: OK
244
244
-->
245
245
246
-
:::image type="content" source="media/concept-about-state-store-protocol/state-store-request-response-set-version.svg" alt-text="Diagram of state store command to set the version for a value." border="false":::
246
+
:::image type="content" source="media/reference-state-store-protocol/state-store-request-response-set-version.svg" alt-text="Diagram of state store command to set the version for a value." border="false":::
247
247
248
248
The `__ts` (timestamp) property on the initial set contains `1696374425000` as the client wall clock, the counter as `0`, and its node-Id as `CLIENT`. On the response, the `__ts` property that the state store returns contains the `wallClock`, the counter incremented by one, and the node-Id as `StateStore`. The state store could return a higher `wallClock` value if its clock were ahead, based on the way HLC updates work.
249
249
@@ -259,7 +259,7 @@ sequenceDiagram
259
259
State Store->>+Client: Response<BR>__ts=1696374425000:1:StateStore<BR>Payload: keyName's value
260
260
-->
261
261
262
-
:::image type="content" source="media/concept-about-state-store-protocol/state-store-request-response-get-version.svg" alt-text="Diagram of state store getting the version of a value." border="false":::
262
+
:::image type="content" source="media/reference-state-store-protocol/state-store-request-response-get-version.svg" alt-text="Diagram of state store getting the version of a value." border="false":::
263
263
264
264
> [!NOTE]
265
265
> The timestamp `__ts` that state store returns is the same as what it returned on the initial `SET` request.
@@ -318,7 +318,7 @@ sequenceDiagram
318
318
State Store->>+Client: Response<BR>__ts=1696374425000:1:StateStore<BR>Payload: OK
319
319
-->
320
320
321
-
:::image type="content" source="media/concept-about-state-store-protocol/state-store-request-response-set-lockname.svg" alt-text="Diagram of a client doing a set request on the lock name property." border="false":::
321
+
:::image type="content" source="media/reference-state-store-protocol/state-store-request-response-set-lockname.svg" alt-text="Diagram of a client doing a set request on the lock name property." border="false":::
322
322
323
323
Next, `Client1` uses the `__ts` property (`Property=1696374425000:1:StateStore`) unmodified as the basis of the `__ft` property in the request to modify `ProtectedKey`. Like all `SET` requests, the client must set the `__ts` property of `ProtectedKey`.
324
324
@@ -332,7 +332,7 @@ sequenceDiagram
332
332
State Store->>+Client: Response<BR>__ts=1696374425001:1:StateStore<BR>Payload: OK
333
333
-->
334
334
335
-
:::image type="content" source="media/concept-about-state-store-protocol/state-store-request-response-set-protectedkey.svg" alt-text="Diagram of client doing a set request on the protected key property." border="false":::
335
+
:::image type="content" source="media/reference-state-store-protocol/state-store-request-response-set-protectedkey.svg" alt-text="Diagram of client doing a set request on the protected key property." border="false":::
336
336
337
337
If the request succeeds, from this point on `ProtectedKey` requires a fencing token equal to or greater than the one specified in the `SET` request.
0 commit comments