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
2
votes
1 answer

Durable Functions with Graph API Paging Call?

I have been doing some reading on Durable Functions using C# and long running tasks and am trying to think of a way they could work with a long running Graph API call (for example, against a Group's Users). I understand that paging would be returned…
2
votes
1 answer

Create Azure TimerTrigger Durable Function in python

As I claimed in the title, is possible to have an azure durable app that triggers using TimerTrigger and not only httpTrigger? I see here https://learn.microsoft.com/en-us/azure/azure-functions/durable/quickstart-python-vscode a very good example on…
2
votes
0 answers

Azure Durable Function timeout exception

I have an Azure Durable Function whose host.json file sets all functions to never timeout: { "version": "2.0", "functionTimeout": "-1", ... } } When the durable function is run though the activity function called by the orchestrator function gets a…
ComeChao
  • 31
  • 1
  • 3
2
votes
1 answer

Azure Durable Function Fan-In/Fan-Out Custom Status

I am trying to run a durable function with Fan-In/Fan-Out to handle several concurrent calls. At the moment I get the output of all the calls at the end. However, I wanted to know if there was any way I could get the output of whichever calls have…
HITman
  • 43
  • 5
2
votes
1 answer

Is it possible to define Azure Functions in an external project, referenced by the Function App?

I am trying to have some durable functions defined in separate projects, as I want to start them as suborchestrations from a root orchestration in my 'root project'. However, it seems the actual Functions are not found, as they are part of the…
Sam Vanhoutte
  • 3,247
  • 27
  • 48
2
votes
1 answer

Waiting for durable entity value to change

[FunctionName("SetDurable")] public static async Task SetDurable( [HttpTrigger(AuthorizationLevel.Function, "get", Route = "SetDurable/{durable}")] HttpRequestMessage req, [DurableClient] IDurableEntityClient…
2
votes
1 answer

Is there a way to schedule "Reminders" in Durable Entities of Azure Durable Functions?

I am using Azure Durable Functions in a research project and I want to verify what the best way is to implement the concept of Timers/Reminders in Durable Entities. In Service Fabric, it was possible for an Actor to schedule a 'durable timer' so…
Sam Vanhoutte
  • 3,247
  • 27
  • 48
2
votes
0 answers

What happens to Durable Functions After Activity Function gets called?

So I'm aware in durable functions that when an activity function gets called, the current durable function essentially stops and it waits to start over. My question is how does the original durable function exit? I've done some debugging, and no…
idude
  • 4,654
  • 8
  • 35
  • 49
2
votes
2 answers

Azure Service Bus AMQP object receiver is aborted

When trying to add a message to an Azure Service Bus Queue, Sometimes I'm getting this error. Can anyone please explain why this happens? The setup is, We have an Azure durable function that invokes an activity function. That activity function adds…
2
votes
1 answer

Azure Durable Functions How should I handle TaskFailedExceptionDeserializationException

If an exceptions is thrown from an Azure ActivityFunctions and it cannot be serialized to json then a TaskFailedExceptionDeserializationException gets thrown containing the original exception as an InnerException. How should this be handled? There…
2
votes
1 answer

Can I limit concurrency on a *specific* activity function?

I have a durable functions app, running on a premium elastic service plan in Azure, wherein I (a) perform a one off task that returns a potentially large number of results (b) run some independent processing on each result from part (a) Part (a)…
2
votes
1 answer

Azure Durable Function generates error 'Host thresholds exceeded: Connections' with CloudTable.ExecuteBatchAsync

I am using Azure Durable Function. I found out that it hits the connections' limit: I have been able to identify the call that is responsible for hitting the limit which is: public class RecordStorage : IRecordStorage { private readonly…
Kzryzstof
  • 7,688
  • 10
  • 61
  • 108
2
votes
1 answer

Durable Functions to Unzip Blob storage file and copy the files to another blobStorage

I have a Az function using implementation similar to this https://github.com/FBoucher/AzUnzipEverything/blob/master/Unzipthis.cs I have BLOB trigger when a zip file is dropped. Az function Unzips it and copies the files to a new AZ blob location. I…
2
votes
1 answer

How to mock calls made to Durable Entities in Azure durable functions?

I'm using MOQ to mock a durable entity, but seeing this error: Extension methods (here: DurableContextExtensions.CallEntityAsync) may not be used in setup / verification expressions. Here's how I'm doing it: mockContext.Setup(e =>…
IronMan
  • 309
  • 4
  • 22
2
votes
2 answers

Azure Functions: How to manage Durable Functions with Blob Triggers?

Imagine that I have a storage account with a blob container, which get files uploaded eventually. I want to process each file that reaches on the blob storage, open it, extract and store information. Definitively a expensive operation that could fit…
Ramon Dias
  • 835
  • 2
  • 12
  • 23