How do configure a service bus triggered azure function to use the new clientRetryOptions?

Stewart Rutledge 1 Reputation point
2022-09-01T10:56:20.487+00:00

According to the service bus binding documentation, there are new options available in 5.x related to clientRetryOptions. Outside of the mention on this page (https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus?tabs=in-process%2Cextensionv5%2Cextensionv3&pivots=programming-language-python) there is no documentation regarding what those settings do, and how I use 5.x. Both pycharm and vscode complain that the clientRetryOptions isn't valid for servicebus, and autocomplete to version 3.x. Ignoring that error and settings those options has no effect.

How do I use extensions version 5 with a python function?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.