Questions tagged [azure-durable-functions]

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

https://learn.microsoft.com/en-us/azure/azure-functions/durable-functions-overview

668 questions
5
votes
4 answers

Best way to limit maximum executions of Azure durable functions activity per timespan

Being rather new to the Azure Durable Functions landscape, I am struggling to find the best way to handle downstream calls to an API that has rate limits implemented. The way my flow is set up, is like below: HistorySynchronizer_HttpStart function:…
Sam Vanhoutte
  • 3,247
  • 27
  • 48
5
votes
1 answer

Azure Durable Function Activity seems to run multiple times and not complete

I have an Durable Function Fan Out and In pattern that doesn't seem to be working reliably. The Orchestration is called from a Timer function every 10 minutes, but have since increased this to 20. The Activity function is called using…
jb99
  • 71
  • 1
  • 2
5
votes
1 answer

Maximum Activity response data size limit in Azure Durable Functions

I understand that Azure Durable functions use a series of Azure Storage Queues and Tables to manage orchestration and state. Would the maximum Activity response be limited by either the queue or storage property limits (64 Kb)? Exactly where are…
5
votes
2 answers

Can durable functions have multiple triggers?

I have a durable function that is triggered once a day by a Timer Trigger: [FunctionName("MyDurableFunction")] public static async Task Run( [TimerTrigger("0 0 23 * * *", RunOnStartup = false)] TimerInfo myTimer, [OrchestrationClient]…
Aidan
  • 4,783
  • 5
  • 34
  • 58
5
votes
1 answer

Failing dependency call in Azure Durable Functions

Backgound I have a set of Durable Azure Functions and they are written using the Async pattern, as described here. Problem After studying the logs in app insights I have spotted a recurring failure across all my functions. It's a GET call to the…
5
votes
5 answers

Durable Function exception: "Unable to find an Azure Storage connection string to use for this binding."

I have a Function App with a durable function (and some non-durable functions as well) and I'm getting an InvalidOperationException that says: Unable to find an Azure Storage connection string to use for this binding. Here's the…
Joe Eng
  • 1,072
  • 2
  • 15
  • 30
4
votes
2 answers

Azure Durable Entity for storing function app state between runs (.net 6)

I want to run a simple .net 6 c# consumption azure function app (not durable) every minute, but I need to remember the state from the previous run. The state consists of arrays of json serializable objects, and a few access token strings. So I…
Tarostar
  • 1,196
  • 1
  • 15
  • 27
4
votes
1 answer

Question regarding multiple Orchestration functions calling one Entity

I was wondering if anyone could help me understand some behavior regarding orchestration functions and entities. Say I have one HttpTriggered function that starts an orchestration that calls (not signal) a Durable Entity and runs a long process (30…
dsun
  • 51
  • 4
4
votes
0 answers

Durable Entities in Durable Functions $return binding returned a non-None value - Python

I am trying to use Durable Functions in Python and I want to store the state in a Durable Entity. There is very little documentation on how to work with Durable Entities, especially in Python. I have even tried to read some C# code, but it hasn't…
4
votes
2 answers

Azure Durable orchestration function ILogger outputs logs twice

There are couple of durable functions that call each other. Main orchestration -> Sub orchestration -> Activity -> Helper async method Each func has ILogger dependency and log on function start and on function end. Both orchestrators duplicates "on…
Prog
  • 67
  • 9
4
votes
1 answer

How to access a DurableEntityClient in an injected class with Azure Durable Functions

I have an Azure Functions project that leverages Dependency Injection (Startup.cs injects services based on the different interfaces). Those services that implement the interfaces are using constructor dependency injection as well. In one of those…
4
votes
1 answer

Where is the IoC happening in an Azure Durable Function?

This code comes directly from the Durable Function startup in Visual Studio 2019 [FunctionName("Orchestrator_HttpStart")] public static async Task HttpStart( [HttpTrigger(AuthorizationLevel.Anonymous, "get",…
4
votes
1 answer

Controlling the Max Degree of Parallelism in the Fan-Out/Fan-In pattern in Durable Functions

Is there a way to control the maximum degree of parallelism when implementing the fan out/fan in pattern on Azure Durable Functions? I'm currently implementing this pattern to perform a data loading process but I'm hitting database limits on DTU's…
sanfalero
  • 372
  • 2
  • 18
4
votes
2 answers

Azure durable functions and retention of data

I can see azure durable functions uses a storage account for managing state and instrumentation. When running durable functions in an environment with a high amount of data tables and queues will get larger and larger, and properly slower and…
Thomas Segato
  • 4,567
  • 11
  • 55
  • 104
4
votes
1 answer

Fire-and-forget background jobs using Azure Durable Functions

I have a use case which requires me to fire some Azure Durable Functions without caring about its results, and I was wondering if my approach is the correct one. This is the scenario I'm in: Function A uses an HttpTrigger Function B uses an…
StepTNT
  • 3,867
  • 7
  • 41
  • 82
1
2
3
44 45