Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.1k stars 1.21k forks source link

Cosmos DB ThroughputControlGroup for NodeJS #31594

Open tudor33sud opened 3 weeks ago

tudor33sud commented 3 weeks ago

Is your feature request related to a problem? Please describe. Cosmos DB for NodeJS currently doesn't have any way of limiting RU throughput on the client side. In Java there is a class called ThroughputControlGroup which allows limiting the client max ru consumption.

Describe the solution you'd like Implement a similar ThroughputControlGroup for NodeJS.

Describe alternatives you've considered No alternatives considered at the moment

Additional context https://azuresdkdocs.blob.core.windows.net/$web/java/azure-cosmos/latest/com/azure/cosmos/ThroughputControlGroupConfig.html

here is the class to configure a ThroughputControlGroup for Java

github-actions[bot] commented 3 weeks ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sajeetharan @simorenoh.