Azure/azure-functions-java-library

Ability to set retry behaviors from environment variable

jeffhollan opened this issue · 1 comments

Today when using bindings I can pop in the %syntax% to load in a value from environment variable. I can't do that with retry policies.

  "retry": {
      "strategy": "fixedDelay",
      "maxRetryCount": 100,
      "delayInterval": "%delay_interval%"
  }

Would be good to support resolving from env.

Workaround today is to use the host.json file, and define the value using the host.json documented env path:

"AzureFunctionsJobHost__retry__delayInterval": "00:00:05"

Is there any progress on this? We are looking for a similar solution.