Skip to content

Commit 6ee776a

Browse files
committed
Small changes per Ashita.
1 parent 79ac926 commit 6ee776a

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

articles/iot-hub/iot-hub-devguide-messages-d2c.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Message routing enables you to send messages from your devices to cloud services
2020

2121
* **Filtering data before routing it to various endpoints** by applying rich queries. Message routing allows you to query on the message properties and message body as well as device twin tags and device twin properties. Learn more about using [queries in message routing](iot-hub-devguide-routing-query-syntax.md).
2222

23-
IoT Hub needs write access to these service endpoints for message routing to work. If you configure your endpoints through the Azure portal, the necessary permissions are added for you. Make sure you configure your services to support the expected throughput. For example, if you are using Event Hubs as a custom endpoint, you must configure the **throughput units** for that Event Hub so it can handle the ingress of events you plan to send via IoT Hub message routing. Similarly, when using a Service Bus Queue as an endpoint, you must configure the **maximum size** to ensure the queue can hold all the data ingressed, until it is egressed by consumers.
24-
25-
When you first configure your IoT solution, you may need to monitor your additional endpoints and make any necessary adjustments for the actual load.
23+
IoT Hub needs write access to these service endpoints for message routing to work. If you configure your endpoints through the Azure portal, the necessary permissions are added for you. Make sure you configure your services to support the expected throughput. For example, if you are using Event Hubs as a custom endpoint, you must configure the **throughput units** for that event hub so it can handle the ingress of events you plan to send via IoT Hub message routing. Similarly, when using a Service Bus Queue as an endpoint, you must configure the **maximum size** to ensure the queue can hold all the data ingressed, until it is egressed by consumers. When you first configure your IoT solution, you may need to monitor your additional endpoints and make any necessary adjustments for the actual load.
2624

2725
The IoT Hub defines a [common format](iot-hub-devguide-messages-construct.md) for all device-to-cloud messaging for interoperability across protocols. If a message matches multiple routes that point to the same endpoint, IoT Hub delivers message to that endpoint only once. Therefore, you don't need to configure deduplication on your Service Bus queue or topic. In partitioned queues, partition affinity guarantees message ordering. Use this tutorial to learn how to [configure message routing](tutorial-routing.md).
2826

@@ -52,8 +50,6 @@ IoT Hub batches messages and writes data to a blob whenever the batch reaches a
5250
{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}
5351
```
5452

55-
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fforms.office.com%2FPages%2FResponsePage.aspx%3Fid%3Dv4j5cvGGr0GRqy180BHbR2EUNXd_ZNJCq_eDwZGaF5VURjFLTDRGS0Q4VVZCRFY5MUVaTVJDTkROMi4u&data=02%7C01%7CRobin.Shahan%40microsoft.com%7Ced322bcdb911443ff12808d73bb2dc33%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637043511689861338&sdata=Mbc9DLC0Bo0C943McTOdZahRZXGvqsCjPEEqh52b10w%3D&reserved=0
56-
5753
You may use any file naming convention, however you must use all listed tokens. IoT Hub will write to an empty blob if there is no data to write.
5854

5955
When routing to blob storage, we recommend enlisting the blobs and then iterating over them, to ensure all containers are read without making any assumptions of partition. The partition range could potentially change during a [Microsoft-initiated failover](iot-hub-ha-dr.md#microsoft-initiated-failover) or IoT Hub [manual failover](iot-hub-ha-dr.md#manual-failover). You can use the [List Blobs API](https://docs.microsoft.com/rest/api/storageservices/list-blobs) to enumerate the list of blobs. Please see the following sample as guidance.

articles/iot-hub/iot-hub-devguide-routing-query-syntax.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ System properties help identify contents and source of the messages.
5454
| iothub-enqueuedtime | string | This value is set by IoT Hub and represents the actual time of enqueuing the message in UTC. To query, use `enqueuedTime`. |
5555
| iothub-interface-name | string | This value is set by the user and represents the name of the digital twin interface that implements the telemetry message. To query, use `$interfaceName`. This feature is available as part of the [IoT Plug and Play public preview](../iot-pnp/overview-iot-plug-and-play.md). |
5656

57-
58-
| | AMQP | HTTP | MQTT |
59-
| ---- | ---- | ---- | ---- |
60-
| Content type | content-type | iothub-contenttype | $.ct |
61-
| Content encoding | content-encoding | iothub-contentencoding | $.ce |
62-
6357
As described in the [IoT Hub Messages](iot-hub-devguide-messages-construct.md), there are additional system properties in a message. In addition to **contentType**, **contentEncoding**, and **enqueuedTime**, the **connectionDeviceId** and **connectionModuleId** can also be queried.
6458

6559
### Application properties

0 commit comments

Comments
 (0)