Skip to content

Commit b1e7a55

Browse files
committed
edit pass: stream-analytics-documentdb-output
1 parent dd20acf commit b1e7a55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/stream-analytics/stream-analytics-documentdb-output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.custom: seodec18
1313
# Azure Stream Analytics output to Azure Cosmos DB
1414
Azure Stream Analytics can target [Azure Cosmos DB](https://azure.microsoft.com/services/documentdb/) for JSON output, enabling data archiving and low-latency queries on unstructured JSON data. This document covers some best practices for implementing this configuration.
1515

16-
If you're unfamiliar with Azure Cosmos DB, see the [Azure Cosmos DB learning path](https://azure.microsoft.com/documentation/learning-paths/documentdb/) to get started.
16+
If you're unfamiliar with Azure Cosmos DB, see the [Azure Cosmos DB documentation](https://docs.microsoft.com/azure/cosmos-db/) to get started.
1717

1818
> [!Note]
1919
> At this time, Stream Analytics supports connection to Azure Cosmos DB only through the *SQL API*.
@@ -59,7 +59,7 @@ If you want to save *all* documents, including the ones that have a duplicate ID
5959
Azure Cosmos DB automatically scales partitions based on your workload. So we recommend [unlimited](../cosmos-db/partition-data.md) containers as the approach for partitioning your data. When Stream Analytics writes to unlimited containers, it uses as many parallel writers as the previous query step or input partitioning scheme.
6060

6161
> [!NOTE]
62-
> At this time, Azure Stream Analytics supports only unlimited containers with partition keys at the top level. For example, **/region** is supported. Nested partition keys (for example, **/region/name**) are not supported.
62+
> At this time, Azure Stream Analytics supports only unlimited containers with partition keys at the top level. For example, `/region` is supported. Nested partition keys (for example, `/region/name`) are not supported.
6363
6464
Depending on your choice of partition key, you might receive this _warning_:
6565

@@ -107,7 +107,7 @@ Using Azure Cosmos DB as an output in Stream Analytics generates the following p
107107
|Account ID | The name or endpoint URI of the Azure Cosmos DB account.|
108108
|Account key | The shared access key for the Azure Cosmos DB account.|
109109
|Database | The Azure Cosmos DB database name.|
110-
|Collection name pattern | The container name. `MyContainer` is a sample valid input. One container named `MyContainer` must exist. |
110+
|Container name | The container name, such as `MyContainer`. One container named `MyContainer` must exist. |
111111
|Document ID | Optional. The column name in output events used as the unique key on which insert or update operations must be based. If you leave it empty, all events will be inserted, with no update option.|
112112

113113
After you configure the Azure Cosmos DB output, you can use it in the query as the target of an [INTO statement](https://docs.microsoft.com/stream-analytics-query/into-azure-stream-analytics). When you're using an Azure Cosmos DB output that way, [a partition key needs to be set explicitly](https://docs.microsoft.com/azure/stream-analytics/stream-analytics-parallelization#partitions-in-sources-and-sinks).

0 commit comments

Comments
 (0)