Azure / Azure/azure-functions-java-library

Ability to set retry behaviors from environment variable

Open
#136 1 comment 4 reactions 0 assignees View on GitHub
area:java-functions
Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Description

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"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.