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

Azure Durable Function: JsonSerializationException by passing complex object from trigger to orchestrator

I have an azure function with EventHubTrigger: [FunctionName("TradesDataProcessStarterEh")] public static async Task TradesDataProcessStarterEh([EventHubTrigger("aeehrobotronapiintegrationdev", Connection = "EventHubConnectionString",…
Andrej Z.
  • 45
  • 6
2
votes
3 answers

How to manage execution history for Azure Durable Functions

I'm developing an ETL process that uses Durable Functions (v2) for execution. The basic process is as follows: Use activity to retrieve list of product codes to be processed Fan-out from main orchestrator into N sub-orchestrations to merge multiple…
Sam
  • 6,167
  • 30
  • 39
2
votes
1 answer

Correct use of Azure Durable Function - Serializing Complex Objects

So I'm prototyping some Azure Durable Functions, to try and understand to see if they will fit within a proposed solution for our internal API system. Based on examples, I've created a Orchestrator Client (HelloOrchestratorClient.cs), that responds…
garfbradaz
  • 3,424
  • 7
  • 43
  • 70
2
votes
2 answers

How to administer the Azure Durable functions Task Hub locally?

I am currently developing an Azure Durable Function and I ran into the issue that unfinished orchestrations would hang around for next time after I tried to run my functions. The problem was the task hub, as explained in the answer to this…
Jeppe
  • 1,424
  • 2
  • 15
  • 36
2
votes
1 answer

Unit Test (Rhino) DBUp in Azure Durable HTTPStart Method

Technology Stack DBUP for DB upgrades Azure Durable for activities Rhino mocks for unit testing. Situation Currently, I have placed my DB Upgrade (DBUp) statements in the HTTPStart method as its the entry point of my durable azure…
Tarun Bhatt
  • 727
  • 2
  • 8
  • 28
2
votes
2 answers

Azure Durable Functions, Upgrading nuget package causes local testing to fail

I have a durable functions app that worked perfectly until I upgraded package Microsoft.Azure.WebJobs.Extensions.DurableTask from version 1.5.0 to 1.6.0. Now running locally caused this error in the console: [8/31/2018 9:35:58 PM] A ScriptHost…
yozepi
  • 362
  • 3
  • 9
2
votes
2 answers

Can I use both dotnet and node in Azure Functions 2.0?

As Durable Functions JS API is limited by now, I wonder can I write my orchestration code with C# Scripts and my activity functions with node in Azure Functions 2.0?
2
votes
2 answers

Using Azure durable functions for ETL process

I have the following scenario: I must execute a function that retrieves N (N between 0 and infinite) records. I must call a mapping function to transform the records into something else and move them forward (via http, service bus, cosmos db, etc) I…
Mat-Tap
  • 725
  • 1
  • 11
  • 27
2
votes
0 answers

Delete 'Result' of Activity functions from History table

The Azure Durable Functions runtime maintains a 'History Table' to record the orchestration events. One of the columns in this table is the 'Result' column which is used to store the return value of an activity function. Activity functions could…
1
vote
0 answers

Unable to connect to Storage Account via Container, Error: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

I have an Azure Durable Function in Python which I wanted to Containerize. I have used the following Image in the following Dockerfile: FROM mcr.microsoft.com/azure-functions/python:4-python3.10 ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ …
1
vote
1 answer

403 when calling durable function status query via Azure API Management Service

I have an Azure Durable Functions Orchestration function configured and running in Azure. I also have an Azure API Management Service configured to expose the orchestration function. I can successfully call the orchestration function via the Azure…
1
vote
0 answers

Azure Durable Functions - Interface can't be instantiated! - Java

While trying to build my first durable functions, I am getting this error. I didnt change default code from default file you get, when creating new durable function. Part of the error: {"name":"Cities","instanceId":"f0a50100-1556-4a82-ad2d-…
SomeGuy
  • 97
  • 10
1
vote
0 answers

Durable function app high memory use, DurableTask.Core.History.TaskCompletedEvent filling the heap

I have a durable function app that is using a lot of memory. I took a snapshot in Visual Studia, and the heap is filling up with DurableTask.Core.History.TaskCompletedEvent. Is there a way to limit these? I think I need to set a durableTask option,…
BenW
  • 737
  • 10
  • 41
1
vote
1 answer

The attribute 'DurableClientAttribute' is a WebJobs attribute and not supported in the .NET Worker (Isolated Process)

I am trying to create azure durable functions for my project and get the following error for the code below. [Function("OrdersQueueFunction")] public async Task Run([QueueTrigger("bpbordersqueue")] [DurableClient] IDurableOrchestrationClient…
Karthikeyan VK
  • 5,310
  • 3
  • 37
  • 50
1
vote
1 answer

Azure function vs durable function for long running process in premium plan

I'm planning to use Azure functions to process large files and it is a long running process( > 1 hour). The file processing is triggered by queue message. The function app will be running in premium plan. As the function timeout looks same for both…
DxG
  • 147
  • 4
  • 17