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
4
votes
2 answers

Whats the difference between Azure Functions and Azure Durable Function

Does the durable function awake until activity invoked? I'm about the implement scheduler, and instead use other library such Hangfire or Quartz. i want to implement durable function that will serve as a scheduler. And my missing piece is, what…
4
votes
1 answer

In Azure Durable Functions, how do I appropriately determine the progression of a large number of parallel activities?

I have written a Durable Function orchestrator function, whose primary job is to fan-out an average of 1,000 parallel activities. Since the completion of these activities is something a front-end user would technically be waiting on, I would like be…
4
votes
1 answer

Directly call Activities and Sub-orchestrations of Azure Durable Functions

Is there any way to directly call activity of a durable function other than through another specialized durable function? For example, I have a durable function D, calling activities A1, A2 and sub-orchestration S. In other scenarios I don't need…
Sasha
  • 8,537
  • 4
  • 49
  • 76
4
votes
2 answers

Azure Durable Functions Large Message Support Issue

I am having an issue returning a large list of objects from an activity function to an orchestrator function. I have a function that downloads a 180 MB file and parses it. This file will produce a list of objects with over 962K entries. Each object…
4
votes
2 answers

Message from servicebus queue disappears on error in activity function

I have developed an Azure Durable Functions app that triggers on new servicebus queue messages. It works ok when no errors occurs, but when an error occurs in an activity function, it logs that it fails but the message is gone forever from the…
4
votes
2 answers

Azure Durable Function - Unavailable port

While working on Azure Durable, if I have to restart the service on my local. I get this error (snapshot) - "Port 7071 is unavailable. Close the porcess using that port or specify another port by using --port". To get over this issue, I have to wait…
Tarun Bhatt
  • 727
  • 2
  • 8
  • 28
3
votes
3 answers

Azure Durable Function: Fan Out vs. Parallel.ForEachAsync

I have to run a function on a list of items. I'm using Azure Durable Functions, and can run the items in parallel using their fan out/fan in strategy. However, I'm wondering what the difference would exist between doing that vs. using the new…
Ben
  • 2,962
  • 2
  • 20
  • 26
3
votes
2 answers

Do Azure Durable Functions support .NET 6 and Azure Functions version 4?

I'm trying to create an Azure Durable Function in Visual Studio Code and fail because the function template is missing. When creating an Azure Function project in Visual Studio Code one has several choices to make and extensions to…
3
votes
1 answer

Passing parameter to azure durable function via URL Request

I have the basic durable function code: namespace dotNetDurableFunction { public static class Function1 { [FunctionName("Function1")] public static async Task> RunOrchestrator( [OrchestrationTrigger]…
3
votes
3 answers

What is the size limitation for Azure Durable Entities

Azure durable entities are stateful components offered by Microsoft Azure functions. They can hold a state, which requires to be JSON serializable, and will be stored in reliable storage. My questions are: How large the state of the entity can…
NaSh
  • 665
  • 5
  • 16
3
votes
1 answer

How to use dependency injection in Azure Durable Functions?

I want to create an Azure Durable Function that will download a CSV from the Internet and based on the data in this file, it will update my database using EntityFramework. I set up the simple startup function that is triggered with TimeTrigger. This…
3
votes
1 answer

Get events when an Azure Durable Function changes status

I want to monitor a running instance of an Azure Durable Orchestrator Function for changes (like when it completes, fails etc) I know that I can poll the status API for changes, but i was wondering if there were any push-based functionality. I've…
3
votes
1 answer

Credentials in Azure Functions, pass one credential around or call as needed?

I have intermittent credential issues in my durable function app. ManagedIdentityCredential will use App Service managed identity EnvironmentCredential.get_token failed: EnvironmentCredential authentication unavailable. Environment variables are…
Ari
  • 33
  • 2
3
votes
2 answers

Multiple durable functions in one function app

Is it possible to host multiple durable functions in one function app? How can we specify a different task hub name for each durable function?
adelb
  • 791
  • 7
  • 26
3
votes
1 answer

Azure Orchestration Trigger breakpoints not hit

I have an Azure durable function triggered by a message that then uses the client to start an Orchestration trigger which starts several activity functions. I have set breakpoints in Orchestration client , trigger and each activity function. But, it…
HirSK
  • 63
  • 6
1 2
3
44 45