-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Cosmos] Priority level request option #26393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
topshot99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments
|
@balalakshmin Could you kindly initiate a package build using 'rushx build' and subsequently upload the resulting 'api.md' file? Additionally, could you please check ESlint errors? Once this is completed, we can proceed with the merge. |
|
API change check APIView has identified API level changes in this PR and created following API reviews. |
### Packages impacted by this PR @azure/cosmos ### Issues associated with this PR ### Describe the problem that is addressed by this PR This PR adds PriorityLevel to Request options and passes it as header to the backend. This header is used to set priority to requests and throttle low priority requests before high priority requests are throttled. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ Yes ### Provide a list of related PRs _(if any)_ Corresponding [.Net PR](Azure/azure-cosmos-dotnet-v3#3672) Corresponding [Java PR](Azure/azure-sdk-for-java#34121) ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [x] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
Packages impacted by this PR
@azure/cosmos
Issues associated with this PR
Describe the problem that is addressed by this PR
This PR adds PriorityLevel to Request options and passes it as header to the backend. This header is used to set priority to requests and throttle low priority requests before high priority requests are throttled.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Yes
Provide a list of related PRs (if any)
Corresponding .Net PR
Corresponding Java PR
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists