Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to read ExponentialBackoffRetry values dynamically instead of hardcoding in host.json or inside the annonation #2951

Open
rohan-roy5 opened this issue Jan 27, 2023 · 1 comment

Comments

@rohan-roy5
Copy link

rohan-roy5 commented Jan 27, 2023

I have implemented Retry Mechanism in Azure Function using annotation ExponentialBackoffRetry

@FunctionName("testFunction")
@ExponentialBackoffRetry(maxRetryCount = 5, minimumInterval = "00:00:10", maximumInterval = "00:01:00")

However now we want to make ExponentialBackoffRetry parameter values configurable instead of hard coding as above.
We are unable to use the host.json as there are multiple functions in one function App
Is there any way to achieve this?
What we need is something like below
@ExponentialBackoffRetry("%maxRetryCount%", "%minimumInterval%", "%maximumInterval%")

@ghost ghost assigned soninaren Jan 27, 2023
@rohan-roy5
Copy link
Author

Any updates on this if possible? Is this an existing issue or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants