CosmosDBBindings ConnectionPolicy Settings
See original GitHub issueI’d like to add the Connection Policy Setting for the CosmosDB Bindings.
In our app, frequently configure these policies.
ConnectionPolicy: PreferredLocations
ConnectionPolicy: ConnectionMode
ConnectionPolicy: ConnectionProtocol
These parameter is included in the best practices of CosmosDB. I guess a lot of people might want to configure that.
I suggest to make it configureble the Connection Policy via host.json
.
If no one try to do it, I’d happy to contribute it.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:15 (7 by maintainers)
Top Results From Across the Web
ConnectionPolicy Class (Microsoft.Azure.Documents.Client)
Represents the connection policy associated with a DocumentClient to connect to the Azure Cosmos DB service.
Read more >ConnectionPolicy Class - Cosmos DB
Represents the Connection policy associated with a DocumentClient in the Azure Cosmos DB database ... Setting the property value to true has no...
Read more >Default Connection Policy of DocumentClient in Cosmos DB
If I use above code, what Connection Policy will be used? I think the performance tips article already has made it clear.
Read more >Uses of Class com.azure.data.cosmos.ConnectionPolicy
Sets whether to allow for reads to go to multiple regions configured on an account of Azure Cosmos DB service. ConnectionPolicy, ConnectionPolicy.
Read more >ConnectionPolicy (Azure SDK for Java Reference ...
Sets the retry policy options associated with the DocumentClient instance. Properties in the RetryOptions class allow application to customize the built-in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TsuyoshiUshio Protocol and Connection mode have been merged into Functions V1 and V2, just as a FYI.
@ealsur Thanks! Very quick! 😃