Skip to content

Commit 305f286

Browse files
committed
Change telemetry to sensor
1 parent fa5403a commit 305f286

File tree

8 files changed

+59
-59
lines changed

8 files changed

+59
-59
lines changed

articles/iot-operations/connect-to-cloud/howto-configure-kafka-endpoint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: patricka
66
ms.service: azure-iot-operations
77
ms.subservice: azure-data-flows
88
ms.topic: how-to
9-
ms.date: 04/03/2025
9+
ms.date: 05/21/2025
1010
ai-usage: ai-assisted
1111

1212
#CustomerIntent: As an operator, I want to understand how to configure data flow endpoints for Kafka in Azure IoT Operations so that I can send data to and from Kafka endpoints.
@@ -1027,7 +1027,7 @@ CloudEvent properties are passed through for messages that contain the required
10271027
| `type` | Yes | `ms.aio.telemetry` | `ce-type` | Passed through as is |
10281028
| `source` | Yes | `aio://mycluster/myoven` | `ce-source` | Passed through as is |
10291029
| `id` | Yes | `A234-1234-1234` | `ce-id` | Passed through as is |
1030-
| `subject` | No | `aio/myoven/telemetry/temperature` | `ce-subject` | Passed through as is |
1030+
| `subject` | No | `aio/myoven/sensor/temperature` | `ce-subject` | Passed through as is |
10311031
| `time` | No | `2018-04-05T17:31:00Z` | `ce-time` | Passed through as is. It's not restamped. |
10321032
| `datacontenttype` | No | `application/json` | `ce-datacontenttype` | Changed to the output data content type after the optional transform stage. |
10331033
| `dataschema` | No | `sr://fabrikam-schemas/123123123234234234234234#1.0.0` | `ce-dataschema` | If an output data transformation schema is given in the transformation configuration, `dataschema` is changed to the output schema. |

articles/iot-operations/connect-to-cloud/howto-configure-mqtt-endpoint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: patricka
66
ms.service: azure-iot-operations
77
ms.subservice: azure-data-flows
88
ms.topic: how-to
9-
ms.date: 04/03/2025
9+
ms.date: 05/21/2025
1010
ai-usage: ai-assisted
1111

1212
#CustomerIntent: As an operator, I want to understand how to understand how to configure data flow endpoints for MQTT sources and destinations in Azure IoT Operations so that I can send data to and from MQTT brokers.
@@ -1017,7 +1017,7 @@ CloudEvent properties are passed through for messages that contain the required
10171017
| `type` | Yes | `ms.aio.telemetry` | Passed through as is |
10181018
| `source` | Yes | `aio://mycluster/myoven` | Passed through as is |
10191019
| `id` | Yes | `A234-1234-1234` | Passed through as is |
1020-
| `subject` | No | `aio/myoven/telemetry/temperature` | Passed through as is |
1020+
| `subject` | No | `aio/myoven/sensor/temperature` | Passed through as is |
10211021
| `time` | No | `2018-04-05T17:31:00Z` | Passed through as is. It's not restamped. |
10221022
| `datacontenttype` | No | `application/json` | Changed to the output data content type after the optional transform stage. |
10231023
| `dataschema` | No | `sr://fabrikam-schemas/123123123234234234234234#1.0.0` | If an output data transformation schema is given in the transformation configuration, `dataschema` is changed to the output schema. |

articles/iot-operations/connect-to-cloud/howto-create-dataflow.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ The message broker endpoint is configured in the Bicep file. For example, the fo
209209
sourceSettings: {
210210
endpointRef: 'default'
211211
dataSources: [
212-
'thermostats/+/telemetry/temperature/#'
213-
'humidifiers/+/telemetry/humidity/#'
212+
'thermostats/+/sensor/temperature/#'
213+
'humidifiers/+/sensor/humidity/#'
214214
]
215215
}
216216
```
@@ -225,8 +225,8 @@ For example, to configure a source using a message broker endpoint and two topic
225225
sourceSettings:
226226
endpointRef: default
227227
dataSources:
228-
- thermostats/+/telemetry/temperature/#
229-
- humidifiers/+/telemetry/humidity/#
228+
- thermostats/+/sensor/temperature/#
229+
- humidifiers/+/sensor/humidity/#
230230
```
231231
232232
Because `dataSources` allows you to specify MQTT or Kafka topics without modifying the endpoint configuration, you can reuse the endpoint for multiple data flows even if the topics are different. To learn more, see [Configure data sources](#configure-data-sources-mqtt-or-kafka-topics).
@@ -319,7 +319,7 @@ You can specify multiple MQTT or Kafka topics in a source without needing to mod
319319

320320
#### MQTT topics
321321

322-
When the source is an MQTT (Event Grid included) endpoint, you can use the MQTT topic filter to subscribe to incoming messages. The topic filter can include wildcards to subscribe to multiple topics. For example, `thermostats/+/telemetry/temperature/#` subscribes to all temperature telemetry messages from thermostats. To configure the MQTT topic filters:
322+
When the source is an MQTT (Event Grid included) endpoint, you can use the MQTT topic filter to subscribe to incoming messages. The topic filter can include wildcards to subscribe to multiple topics. For example, `thermostats/+/sensor/temperature/#` subscribes to all temperature sensor messages from thermostats. To configure the MQTT topic filters:
323323

324324
# [Operations experience](#tab/portal)
325325

@@ -344,13 +344,13 @@ Example with multiple MQTT topic filters with wildcards:
344344
sourceSettings: {
345345
endpointRef: 'default'
346346
dataSources: [
347-
'thermostats/+/telemetry/temperature/#'
348-
'humidifiers/+/telemetry/humidity/#'
347+
'thermostats/+/sensor/temperature/#'
348+
'humidifiers/+/sensor/humidity/#'
349349
]
350350
}
351351
```
352352

353-
Here, the wildcard `+` is used to select all devices under the `thermostats` and `humidifiers` topics. The `#` wildcard is used to select all telemetry messages under all subtopics of the `temperature` and `humidity` topics.
353+
Here, the wildcard `+` is used to select all devices under the `thermostats` and `humidifiers` topics. The `#` wildcard is used to select all sensor messages under all subtopics of the `temperature` and `humidity` topics.
354354

355355
# [Kubernetes (preview)](#tab/kubernetes)
356356

@@ -369,11 +369,11 @@ Example with multiple topic filters with wildcards:
369369
sourceSettings:
370370
endpointRef: default
371371
dataSources:
372-
- thermostats/+/telemetry/temperature/#
373-
- humidifiers/+/telemetry/humidity/#
372+
- thermostats/+/sensor/temperature/#
373+
- humidifiers/+/sensor/humidity/#
374374
```
375375

376-
Here, the wildcard `+` is used to select all devices under the `thermostats` and `humidifiers` topics. The `#` wildcard is used to select all telemetry messages under all subtopics of the `temperature` and `humidity` topics.
376+
Here, the wildcard `+` is used to select all devices under the `thermostats` and `humidifiers` topics. The `#` wildcard is used to select all messages under all subtopics of the `temperature` and `humidity` topics.
377377

378378
---
379379

articles/iot-operations/connect-to-cloud/overview-dataflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: patricka
66
ms.service: azure-iot-operations
77
ms.subservice: azure-data-flows
88
ms.topic: conceptual
9-
ms.date: 03/17/2025
9+
ms.date: 05/21/2025
1010

1111
#CustomerIntent: As an operator, I want to understand how I can use data flows to connect data sources.
1212
---
@@ -74,6 +74,6 @@ The local MQTT broker message queue is stored in memory by default. You can conf
7474

7575
## Related content
7676

77-
- [Tutorial: Send asset telemetry to the cloud by using a data flow](../end-to-end-tutorials/tutorial-upload-messages-to-cloud.md)
77+
- [Tutorial: Send messages from assets to the cloud using a data flow](../end-to-end-tutorials/tutorial-upload-messages-to-cloud.md)
7878
- [Create a data flow](howto-create-dataflow.md)
7979
- [Create a data flow endpoint](howto-configure-dataflow-endpoint.md)

articles/iot-operations/connect-to-cloud/tutorial-mqtt-bridge.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: patricka
66
ms.service: azure-iot-operations
77
ms.subservice: azure-data-flows
88
ms.topic: tutorial
9-
ms.date: 01/08/2025
9+
ms.date: 05/21/2025
1010

1111
#CustomerIntent: As an operator, I want to understand how to create a bi-directional MQTT bridge to Azure Event Grid so that I can send and receive messages between devices and services.
1212
---
@@ -115,7 +115,7 @@ The max client sessions option allows Azure IoT Operations MQTT to spawn multipl
115115

116116
## Create a topic space
117117

118-
In the Event Grid namespace, create a topic space named `tutorial` with a topic template `telemetry/#`.
118+
In the Event Grid namespace, create a topic space named `tutorial` with a topic template `sensor/#`.
119119

120120
# [Bash](#tab/bash)
121121

@@ -124,7 +124,7 @@ az eventgrid namespace topic-space create \
124124
--resource-group $RESOURCE_GROUP \
125125
--namespace-name $EVENT_GRID_NAMESPACE \
126126
--name tutorial \
127-
--topic-templates "telemetry/#"
127+
--topic-templates "sensor/#"
128128
```
129129

130130
# [PowerShell](#tab/powershell)
@@ -134,12 +134,12 @@ az eventgrid namespace topic-space create `
134134
--resource-group $RESOURCE_GROUP `
135135
--namespace-name $EVENT_GRID_NAMESPACE `
136136
--name tutorial `
137-
--topic-templates "telemetry/#"
137+
--topic-templates "sensor/#"
138138
```
139139

140140
---
141141

142-
By using the `#` wildcard in the topic template, you can publish to any topic under the `telemetry` topic space. For example, `telemetry/temperature` or `telemetry/humidity`.
142+
By using the `#` wildcard in the topic template, you can publish to any topic under the `sensor` topic space. For example, `sensor/temperature` or `sensor/humidity`.
143143

144144
## Give Azure IoT Operations access to the Event Grid topic space
145145

@@ -392,7 +392,7 @@ resource dataflow_1 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflow
392392
operationType: 'Destination'
393393
destinationSettings: {
394394
endpointRef: 'eventgrid'
395-
dataDestination: 'telemetry/aio'
395+
dataDestination: 'sensor/aio'
396396
}
397397
}
398398
]
@@ -413,7 +413,7 @@ resource dataflow_2 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflow
413413
sourceSettings: {
414414
endpointRef: 'eventgrid'
415415
serializationFormat: 'Json'
416-
dataSources: array('telemetry/#')
416+
dataSources: array('sensor/#')
417417
}
418418
}
419419
{
@@ -472,7 +472,7 @@ spec:
472472
- operationType: Destination
473473
destinationSettings:
474474
endpointRef: eventgrid
475-
dataDestination: telemetry/aio
475+
dataDestination: sensor/aio
476476
---
477477
apiVersion: connectivity.iotoperations.azure.com/v1
478478
kind: Dataflow
@@ -486,7 +486,7 @@ spec:
486486
sourceSettings:
487487
endpointRef: eventgrid
488488
dataSources:
489-
- telemetry/#
489+
- sensor/#
490490
- operationType: Destination
491491
destinationSettings:
492492
endpointRef: default
@@ -502,13 +502,13 @@ Together, the two data flows form an MQTT bridge, where you:
502502
* Use TLS for both remote and local brokers
503503
* Use system-assigned managed identity for authentication to the remote broker
504504
* Use Kubernetes service account for authentication to the local broker
505-
* Use the topic map to map the `tutorial/local` topic to the `telemetry/aio` topic on the remote broker
506-
* Use the topic map to map the `telemetry/#` topic on the remote broker to the `tutorial/cloud` topic on the local broker
505+
* Use the topic map to map the `tutorial/local` topic to the `sensor/aio` topic on the remote broker
506+
* Use the topic map to map the `sensor/#` topic on the remote broker to the `tutorial/cloud` topic on the local broker
507507

508508
> [!NOTE]
509509
> By default, Azure IoT Operations deploys an MQTT broker as well as an MQTT broker data flow endpoint. The MQTT broker data flow endpoint is used to connect to the MQTT broker. The default configuration uses the built-in service account token for authentication. The endpoint is named `default` and is available in the same namespace as Azure IoT Operations. The endpoint is used as the source for the data flow created in this tutorial. To learn more about the default MQTT broker data flow endpoint, see [Azure IoT Operations local MQTT broker default endpoint](../connect-to-cloud/howto-configure-mqtt-endpoint.md#default-endpoint).
510510

511-
When you publish to the `tutorial/local` topic on the local Azure IoT Operations MQTT broker, the message is bridged to the `telemetry/aio` topic on the remote Event Grid MQTT broker. Then, the message is bridged back to the `tutorial/cloud` topic (because the `telemetry/#` wildcard topic captures it) on the local Azure IoT Operations MQTT broker. Similarly, when you publish to the `telemetry/aio` topic on the remote Event Grid MQTT broker, the message is bridged to the `tutorial/cloud` topic on the local Azure IoT Operations MQTT broker.
511+
When you publish to the `tutorial/local` topic on the local Azure IoT Operations MQTT broker, the message is bridged to the `sensor/aio` topic on the remote Event Grid MQTT broker. Then, the message is bridged back to the `tutorial/cloud` topic (because the `sensor/#` wildcard topic captures it) on the local Azure IoT Operations MQTT broker. Similarly, when you publish to the `sensor/aio` topic on the remote Event Grid MQTT broker, the message is bridged to the `tutorial/cloud` topic on the local Azure IoT Operations MQTT broker.
512512

513513
## Deploy MQTT client
514514

@@ -621,7 +621,7 @@ You can also check the Event Grid metrics to verify the messages are delivered t
621621

622622
In this tutorial, you learned how to configure Azure IoT Operations for bi-directional MQTT bridge with Azure Event Grid MQTT broker. As next steps, explore the following scenarios:
623623

624-
* To use an MQTT client to publish messages directly to the Event Grid MQTT broker, see [Publish MQTT messages to Event Grid MQTT broker](../../event-grid/mqtt-publish-and-subscribe-cli.md). Give the client a [publisher permission binding](../../event-grid/mqtt-access-control.md) to the topic space you created, and you can publish messages to any topic under the `telemetry`, like `telemetry/temperature` or `telemetry/humidity`. All of these messages are bridged to the `tutorial/cloud` topic on the local Azure IoT Operations broker.
624+
* To use an MQTT client to publish messages directly to the Event Grid MQTT broker, see [Publish MQTT messages to Event Grid MQTT broker](../../event-grid/mqtt-publish-and-subscribe-cli.md). Give the client a [publisher permission binding](../../event-grid/mqtt-access-control.md) to the topic space you created, and you can publish messages to any topic under the `sensor`, like `sensor/temperature` or `sensor/humidity`. All of these messages are bridged to the `tutorial/cloud` topic on the local Azure IoT Operations broker.
625625
* To set up routing rules for the Event Grid MQTT broker, see [Configure routing rules for Event Grid MQTT broker](../../event-grid/mqtt-routing.md). You can use routing rules to route messages to different topics based on the topic name, or to filter messages based on the message content.
626626

627627
## Related content

articles/iot-operations/manage-mqtt-broker/howto-broker-diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The diagnostics probe regularly runs MQTT operations (PING, CONNECT, PUBLISH, SU
4242
> [!IMPORTANT]
4343
> The self-check diagnostics probe publishes messages to the `azedge/dmqtt/selftest` topic. Don't publish or subscribe to diagnostic probe topics that start with `azedge/dmqtt/selftest`. Publishing or subscribing to these topics can affect the probe or self-test checks and result in invalid results. Invalid results can be listed in diagnostic probe logs, metrics, or dashboards. For example, you might see the issue "Path verification failed for probe event with operation type 'Publish'" in the diagnostics-probe logs. For more information, see [Known issues](../troubleshoot/known-issues.md#mqtt-broker-issues).
4444
>
45-
> Even though the MQTT broker's [diagnostics](../manage-mqtt-broker/howto-broker-diagnostics.md) produces telemetry on its own topic, you can still get messages from the self-test when you subscribe to the `#` topic. This is a limitation and expected behavior.
45+
> Even though the MQTT broker's [diagnostics](../manage-mqtt-broker/howto-broker-diagnostics.md) produces diagnostics messages on its own topic, you can still get messages from the self-test when you subscribe to the `#` topic. This is a limitation and expected behavior.
4646
4747
## Change diagnostics settings
4848

0 commit comments

Comments
 (0)