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

Research direction

The issue names no source file or test; start by locating retry-policy handling for Java bindings and the existing environment-variable resolution path. Compare it with the documented host.json environment path, then verify that a placeholder such as %delay_interval% is resolved for retry.delayInterval and add coverage for the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.