Skip to content

Commit 447f05e

Browse files
Reviewed feedback
1 parent 1b27242 commit 447f05e

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ IoT Hub supports writing to Cosmos DB in JSON (if specified in the message conte
102102

103103
From your provisioned IoT Hub, go to the Hub settings and click on message routing. Go to the Custom endpoints tab, click on Add and select Cosmos DB. The following image shows the endpoint addition:
104104

105-
![User's image](media/iot-hub-devguide-messages-d2c/image.png)
105+
![Add a Cosmos DB endpoint](media/iot-hub-devguide-messages-d2c/add-cosmos-db-endpoint.png)
106106

107107
Enter your endpoint name. You should be able to choose from a list of Cosmos DB accounts available for selection, along with the Database and collection.
108108

109-
As Cosmos DB is a hyperscale datastore, all data/documents written to it must contain a field that represents a logical partition. The partition key property name is defined at the Container level and cannot be changed once it has been set. Each logical partition has a maximum size of 20GB. To effectively support high-scale scenarios, you can enable [Synthetic Partition Keys](/azure/cosmos-db/nosql/synthetic-partition-keys) for the Cosmos DB endpoint and configure them based on based on your estimated data volume. For example, in manufacturing scenarios, your logical partition might be expected to approach its max limit of 20 GB within a month. In that case, you can define a Synthetic Partition Key which is a combination of the device id and the month. This key will be automatically added to the partition key field for each new Cosmos DB record, ensuring logical partitions are created each month for each device.
109+
As Cosmos DB is a hyperscale datastore, all data/documents written to it must contain a field that represents a logical partition. The partition key property name is defined at the Container level and cannot be changed once it has been set. Each logical partition has a maximum size of 20GB. To effectively support high-scale scenarios, you can enable [Synthetic Partition Keys](/azure/cosmos-db/nosql/synthetic-partition-keys) for the Cosmos DB endpoint and configure them based on your estimated data volume. For example, in manufacturing scenarios, your logical partition might be expected to approach its max limit of 20 GB within a month. In that case, you can define a Synthetic Partition Key which is a combination of the device id and the month. This key will be automatically added to the partition key field for each new Cosmos DB record, ensuring logical partitions are created each month for each device.
110110

111111
 You can choose any of the supported authentication types for accessing the database, based on your system setup.
112112

Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)