Skip to content

Commit 5119514

Browse files
Merge pull request #233469 from TheovanKraay/patch-37
Update throughput-control-spark.md
2 parents 1012d0c + 12a0bbb commit 5119514

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/cosmos-db/nosql/throughput-control-spark.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ The [Spark Connector](quickstart-spark.md) allows you to communicate with Azure
1818
> [!TIP]
1919
> This article documents the use of global throughput control groups in the Azure Cosmos DB Spark Connector, but the functionality is also available in the [Java SDK](./sdk-java-v4.md). In the SDK, you can also use Local Throughput Control groups to limit the RU consumption in the context of a single client connection instance. For example, you can apply this to different operations within a single microservice, or maybe to a single data loading program. Take a look at a code snippet [here](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos/src/samples/java/com/azure/cosmos/ThroughputControlCodeSnippet.java) for how to build a CosmosAsyncClient with both local and global control groups.
2020
21+
> [!WARNING]
22+
> Please note that throughput control is not yet supported for gateway mode.
23+
2124
## Why is throughput control important?
2225

2326
Having throughput control helps to isolate the performance needs of applications running against a container, by limiting the amount of [request units](../request-units.md) that can be consumed by a given Spark client.
@@ -110,4 +113,4 @@ In each client record, the `loadFactor` attribute represents the load on the giv
110113

111114
* [Spark samples in GitHub](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-cosmos-spark_3_2-12/Samples).
112115
* [Manage data with Azure Cosmos DB Spark 3 OLTP Connector for API for NoSQL](quickstart-spark.md).
113-
* Learn more about [Apache Spark](https://spark.apache.org/).
116+
* Learn more about [Apache Spark](https://spark.apache.org/).

0 commit comments

Comments
 (0)