MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.35k forks source link

Confusion about CosmosDB binding and support of the retry policy #106040

Closed Ceglowa closed 4 months ago

Ceglowa commented 1 year ago

This same problem was already stated here: https://github.com/Azure/azure-webjobs-sdk-extensions/issues/830. What I've noted is that this page has the following quote: We're removing retry policy support in the runtime for triggers other than Timer, Kafka, and Event Hubs after this feature becomes generally available. From this note it looks to me that everything other than those three mentioned won't have the retry policy support. However, if you go little bit down in the documentation, in the table, the retry policy is mentioned for the CosmosDB binding. When I added the policy to CosmosDB binding I was getting the following warning in the Function logs: image

Thanks to help on this issue https://github.com/Azure/azure-webjobs-sdk-extensions/issues/830 I've managed to get the information that the version of the ExtensionBundle needs to be increased for the retry policy to be used. This information is not mentioned here on this page.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AjayBathini-MSFT commented 1 year ago

@Ceglowa Thanks for your feedback! We will investigate and update as appropriate.

ggailey777 commented 4 months ago

I've clarified the note. The latest Azure Cosmos DB extension does now support retry policies. Sorry for the confusion.