azure-functions-core-tools
azure-functions-core-tools copied to clipboard
ServiceBus trigger in an Python function- clientRetryOptions setting of host.json does not work
Hello Team, I have an Azure Service Bus queue trigger function and I am trying to implement exponential back by following the Microsoft guidance here.
What is the function implementation language?
Python
I have modified Host.json as below

I have specified extensionBundle as below

When I debug the Azure function, I notice that the function retries, however it does not honor the exponential back-off setting. All retries are sequential and almost within the same second
Tried installing extensions
I tried the following command with an presumption that I need to update the extension version
func extensions install --package Microsoft.Azure.WebJobs.Extensions.ServiceBus --version 5
But, this gave the message
No action performed. Extension bundle is configured in C:\Users\myusername\MyTrials\any-python\AzureFuncTimerRetry\src\host.json
Relevant links
Can somebody from Microsoft please clarfiy?
Thanks.
Please check this too https://github.com/Azure/azure-functions-python-worker/issues/1291
@sdg002 You can use these settings to override host.json settings in your Function app. https://dev.to/massimobonanni/azure-functions-tips-override-the-hostjson-settings-21mi This worked for us