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
[Internal] CosmosClient: Add a remarks section to AllowBulkExecution #3987
base: master
Are you sure you want to change the base?
Conversation
Add a remarks section to AllowBulkExecution explaining that it is not recommended to be used with Resource Token authentication Fixes #1783
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.
Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors|Removes) Description"
Internal should be used for PRs that have no customer impact. This flag is used to help generate the changelog to know which PRs should be included. Examples:
Diagnostics: Adds GetElapsedClientLatency to CosmosDiagnostics
PartitionKey: Fixes null reference when using default(PartitionKey)
[v4] Client Encryption: Refactors code to external project
[Internal] Query: Adds code generator for CosmosNumbers for easy additions in the future.
Co-authored-by: Ruben Bartelink <ruben@bartelink.com>
@@ -557,6 +557,9 @@ public CosmosSerializer Serializer | |||
|
|||
/// <summary> | |||
/// Allows optimistic batching of requests to service. Setting this option might impact the latency of the operations. Hence this option is recommended for non-latency sensitive scenarios only. | |||
/// <remarks> | |||
/// The use of Resource Tokens scoped to a Partition Key as an authentication mechanism when Bulk is enabled is not recommended as it reduces the potential throughput benefit |
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.
The use of Resource Tokens scoped to a Partition Key as an authentication mechanism is not recommended, as it reduces the potential throughput benefit. you can rephrase it something like this.
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.
But is it only not recommended when Bulk is enabled?
Description
Add a remarks section to AllowBulkExecution explaining that it is not recommended to be used with Resource Token authentication
Type of change
Documentation fix
Fixes #1783
Closes #1783