Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.25k stars 1.93k forks source link

[FEATURE REQ] Cosmos DB - Allow configuring end-to-end operation timeout via configuration property (gateway mode) #40937

Open simplyanything opened 3 days ago

simplyanything commented 3 days ago

Is your feature request related to a problem? Please describe. Cosmos DB currently allows you to configure the end-to-end operation timeout (for standard gateway) by customising the cosmos client (using this configuration specifically). This is a bit verbose for users who don't need to customise the configuration heavily and only need to configure the end-to-end timeout.

Describe the solution you'd like This list provides some properties, but lacks the (in my opinion) important end-to-end timeout configuration. It would be nice to configure the end-to-end timeout (for standard gateway mode) through application properties. E.g., provide spring.cloud.azure.cosmos.endToEndOperationTimeout which can override the default setting.

Thank you for the consideration.

Describe alternatives you've considered Customising the Cosmos Client.

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report