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

How to cancel a running trigger function within azure durable functions?

I am trying the fan-out, fan-in pattern. Here's my code [FunctionName("af_cancellation")] public static async Task RunOrchestrator( [OrchestrationTrigger] DurableOrchestrationContext context, ILogger log) { …
0
votes
1 answer

Advantages of using urable Function for fan-in/fan-out comparing with simple async/await

According to official documents of the Azure Durable Functions, the fan-out/fan-in use case of it is shown in the example (from same site) [FunctionName("FanOutFanIn")] public static async Task Run([OrchestrationTrigger] IDurableOrchestrationContext…
Mr.K
  • 559
  • 4
  • 9
0
votes
1 answer

mscorlib: Could not load file or assembly 'Microsoft.Azure.WebJobs, Version=3.0.2.0

I am getting this error mscorlib: Could not load file or assembly 'Microsoft.Azure.WebJobs, Version=3.0.2.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx' or one of its dependencies. The system cannot find the file specified. while running…
0
votes
1 answer

How to multi-thread big data in the Orchestrator?

I have the following code in an Orchestrator: var parallelTasks = new List(); // Get Records List records = await context.CallActivityAsync>("GetRecords", orchestrationContext); // Write…
0
votes
1 answer

Is the orchestrator client function reliable?

I am new to azure durable functions. According to documents that the orchestrator functions are reliable. But I am wondering if the the starter function is reliable. Suppose that I have a http-trigger orchestrator functions. I guess when durable…
azhang
  • 1
0
votes
1 answer

Durable tasks sub orchestration with micro services

I'm attempting to use azure durable tasks to orchestrate some microservices but am running into a small gap in understanding how taskhubs work as well as coordinating the projects correctly. I'm trying to create a main orchestrator that is in charge…
dbarnes
  • 1,803
  • 3
  • 17
  • 31
0
votes
2 answers

Theory: Azure Websockets

Is it possible to consume an external (to Azure) API that requires you to establish a wss connection to receive notifications of changes in some kind of Azure container (Kubernetes/Durable Function)? Or do I need to run a Virtual Machine with a…
0
votes
2 answers

Azure Durable Function (Node.JS) error "Microsoft.Azure.WebJobs.Host: Can't bind parameter 'data' to type 'System.String'."

I'm running a set of durable functions (Node.js-written) on the Azure Function App platform. Node version is 10, functions runtime is 2. Some of them have triggers configured: "bindings": [ { "authLevel": "anonymous", "type":…
0
votes
1 answer

Running a large amount of activity functions from data from a database

We have a database with around 400k elements we need to compute. Below is shown a sample of an orchestrator function. [FunctionName("Crawl")] public static async Task> RunOrchestrator( [OrchestrationTrigger] DurableOrchestrationContext…
Thomas Segato
  • 4,567
  • 11
  • 55
  • 104
0
votes
1 answer

How to Setup Azure Alert for Failed Durable Function Orchestration?

I would like to be notified via an email alert when an unknown exception occurs in an activity function that is part of a durable orchestration chain. The problem is that when an exception is thrown in an Activity Function, the logged error in…
0
votes
1 answer

Azure durable function orchestration client cannot be found when the DurableTask nuget package is upgraded to version 2.0.0

Have a queue-triggered function defined as the following example: public async Task OrchestratorAsync( [QueueTrigger("my-queue", Connection = "")]string payload, [OrchestrationClient] DurableOrchestrationClient…
Arash
  • 3,628
  • 5
  • 46
  • 70
0
votes
2 answers

Azure Durable Function AppSettings

I'm trying to create an azure durable function but it's very difficult to find some normal guides on this subject. I've setup the DI and I try to read the settings of the function but it crashes I have setup an Azure Function project in VS 2019 and…
0
votes
1 answer

Custom domain on DurableOrchestrationClient.CreateCheckStatusResponse

Is there an elegant way to supply a custom domain to the DurableOrchestrationClient? Our functions use the new VNet Integration to get into the VNet and only allow traffic from within the VNet. An Application Gateway is then used as the entry point…
0
votes
0 answers

Azure Durable Functions Fan Out Scaling behaviour not as desired

We are running a large simulation in Azure Durable Functions using the fan out feature of orchestration functions. Our desired behaviour is that the number activity functions instances rapidly provisions to process the entire fanout activities as…
Lenny D
  • 1,734
  • 4
  • 22
  • 43
0
votes
1 answer

Durable function performance issues

Below if my code of orchestrator, I am using combination of chaining and fanin/fanout const df = require("durable-functions"); const geocodeActivity = "getActualData"; const getDataActivity = "getDataFromDB"; const ld =…
Tarun
  • 517
  • 4
  • 9
  • 24