Sam
Sam

Reputation: 1834

Custom azure function trigger and scaling

Hi I'm trying to find information on how an azure function running on a consumption plan would scale with a custom trigger. This article - https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#how-the-consumption-plan-works - seems to imply theres a custom scaling implementation per trigger and does not have any explanation of how that works with custom triggers (if at all).

Upvotes: 1

Views: 361

Answers (1)

Mikhail Shilkov
Mikhail Shilkov

Reputation: 35124

Custom triggers are not supported for Azure Functions. I think the main reason for that is indeed lack of Scaling Controller hooks.

Based on what is done in Durable Functions, you might be able to define your own triggers which are based on other existing triggers (like Orchestration Trigger is based on Storage Queues) to add your specific semantics, but reuse the scaling logic.

Upvotes: 2

Related Questions