Azure / Azure/azure-functions-host

Enable/Disable service bus triggered function at runtime

Open
#8,441 2 comments 7 reactions 0 assignees View on GitHub
enhancement needs-discussion
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Implementing a Circuit Breaker pattern, for a service bus triggered function, today requires a secondary app (Logic App or Azure Function) to disable your function app in order to stop processing when your circuit breaker triggers.

It would be nice if we could prevent the need of a secondary app to start/stop your function app by allowing us to enable/disable a service bus triggered function at runtime while still running the function app with possible other functions inside of it.

Let me know what you guys think :)

References:
https://github.com/Polly-Contrib/Polly.Contrib.AzureFunctions.CircuitBreaker
https://github.com/jeffhollan/functions-durable-actor-circuitbreaker

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Azure Functions host/runtime areas that handle Service Bus-triggered functions, then compare the Polly-Contrib circuit-breaker and durable-actor references in the issue. Done means a function can be enabled or disabled at runtime independently while the app and its other functions continue running; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.