azure-functions-durable-extension | Durable Task Framework extension for Azure Functions | Cloud Functions library

 by   Azure C# Version: v2.9.5 License: MIT

kandi X-RAY | azure-functions-durable-extension Summary

kandi X-RAY | azure-functions-durable-extension Summary

azure-functions-durable-extension is a C# library typically used in Serverless, Cloud Functions applications. azure-functions-durable-extension has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Durable Task Framework extension for Azure Functions
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              azure-functions-durable-extension has a low active ecosystem.
              It has 668 star(s) with 259 fork(s). There are 95 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 274 open issues and 1182 have been closed. On average issues are closed in 81 days. There are 26 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of azure-functions-durable-extension is v2.9.5

            kandi-Quality Quality

              azure-functions-durable-extension has 0 bugs and 0 code smells.

            kandi-Security Security

              azure-functions-durable-extension has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              azure-functions-durable-extension code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              azure-functions-durable-extension is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              azure-functions-durable-extension releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              azure-functions-durable-extension saves you 13036 person hours of effort in developing the same functionality from scratch.
              It has 27024 lines of code, 18 functions and 464 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azure-functions-durable-extension
            Get all kandi verified functions for this library.

            azure-functions-durable-extension Key Features

            No Key Features are available at this moment for azure-functions-durable-extension.

            azure-functions-durable-extension Examples and Code Snippets

            No Code Snippets are available at this moment for azure-functions-durable-extension.

            Community Discussions

            QUESTION

            Is it safe to terminate an orchestrator function that is waiting on a timer?
            Asked 2022-Mar-24 at 17:51

            If I call IDurableOrchestrationClient.TerminateAsync on a running orchestrator that is currently sleeping and waiting on a durable timer created through IDurableOrchestrationContext.CreateTimer, will this result in a graceful shutdown of the entire process including the timer?

            The documentation on timers has a very explicit warning regarding graceful cancellation of any timers that didn't activate in the orchestration:

            Warning

            Use a CancellationTokenSource (.NET) or call cancel() on the returned TimerTask (JavaScript) to cancel a durable timer if your code will not wait for it to complete. The Durable Task Framework will not change an orchestration's status to "completed" until all outstanding tasks are completed or canceled.

            Will calling Terminate respect these restrictions? The documentation on it doesn't make this clear at all.

            Scenario

            I have a requirement where I need to "monitor" some instance for some time after it is created, and to stop monitoring it once the instance is deleted.

            For now, my application raises EventGrid events on creation and deletion of entities, and I listen to those in my orchestration trigger activity: once a creation event is received, I start the orchestration that monitors that instance. Once the deletion event is received, I send an external event to the orchestrator to signal that it should stop monitoring that instance and terminate. Each creation/deletion pair is handled by its own monitor of course (they are isolated from one another, controlled by an explicit instance ID based on the entity ID).

            The orchestrator logic basically fires 2 tasks and waits for the first to finish:

            1. A timer, based on data in the created instance. This can be minutes, to months
            2. A WaitForExternalEvent that waits until the trigger function notifies of a cancellation

            If task 2 wins, I cancel the timer (as per the recommendation), and exit the function. If task 1 wins, I do the processing I need on the instance and ignore the external event.

            The orchestrator itself looks something like this:

            ...

            ANSWER

            Answered 2022-Mar-24 at 17:51

            Yes, it's safe to terminate an orchestration, even if it has pending timers outstanding (or pending activity or sub-orchestration calls, for that matter). The orchestration will always transition into the "Terminated" state. Any messages that appear for an instance after it has been terminated (including timer messages) will be silently discarded.

            Source https://stackoverflow.com/questions/71605056

            QUESTION

            Setting MaxOrchestrationActions in an Azure Durable Function
            Asked 2020-Nov-19 at 20:33

            We're using a Durable Orchestrator Function that needs to make several million calls to Activity functions. We're seeing the following exception after 100,000 invocations:

            Maximum amount of orchestration actions 100,000 has been reached. This value can be configured in host.json file as MaxOrchestrationActions.

            However, I cannot find HOW to set this value.

            In the host.json schema here, it's not specified.

            I've pulled the head of the dev branch for Azure Function Durable Extension and traced through the source code. It appears that this can be set as DurableTaskOptions.MaxOrchestrationActions, but it must be set before it's passed into the DurableOrchestrationContext class.

            We've taken a guess that the property in host.json might be

            ...

            ANSWER

            Answered 2020-Jul-07 at 14:55

            You're right, the default value is 100k and you should be able to change using host.json.

            Two things that I've noticed: you're not providing version number and you're not using camel case:

            Source https://stackoverflow.com/questions/62777387

            QUESTION

            Azure Durable Function HttpStart failure: Webhooks are not configured
            Asked 2020-Oct-17 at 15:28

            I have deployed Azure Durable Http Triggered Function app in Azure Kubernetes Service. I used Visual Studio Code to create the function app. I have followed instructions from this this article and Microsoft official documentation.

            ...

            ANSWER

            Answered 2020-Oct-17 at 15:28

            Try adding a WEBSITE_HOSTNAME environment variable with : as the value, where : refers to the address that can be used to reach your function app from outside.

            This error happens when you use an API that depends on this environment variable. When running using the local core tools, this value is set to localhost:7071 automatically. When running in the Azure Functions hosted service, this environment variable is also pre-configured to be the DNS name of the function app (e.g. myfunctionapp.azurewebsites.net. For other environments, like AKS, you'll need to add this environment variable explicitly and set it to the correct value for your deployment.

            Source https://stackoverflow.com/questions/64400695

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install azure-functions-durable-extension

            The Durable Functions NuGet package can be referenced directly in a Visual Studio project or can be installed using the Azure Functions Core Tools command-line:. Durable Functions is also available in supported extension bundles. Note that extension bundles are only supported for non-.NET languages.

            Support

            Durable Functions supports a subset of languages supported by Azure Functions:. Each language has its own language-specific SDK and programming model. Regardless of which language you use, the extension in this repo must be installed to enable the Durable Functions triggers.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Azure/azure-functions-durable-extension.git

          • CLI

            gh repo clone Azure/azure-functions-durable-extension

          • sshUrl

            git@github.com:Azure/azure-functions-durable-extension.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Cloud Functions Libraries

            Try Top Libraries by Azure

            autorest

            by AzureTypeScript

            DotNetty

            by AzureC#

            azure-sdk-for-python

            by AzurePython

            MachineLearningNotebooks

            by AzureJupyter Notebook