Azure / Azure-Functions

1.12k stars 199 forks source link

Missing documentation how to invoke custom handler with timeTrigger binding #2105

Open MironAtHome opened 3 years ago

MironAtHome commented 3 years ago

Dear Azure Team,

In all the comm, missing is how to invoke in this new and beautiful world custom handler with timeTrigger binding. There is quite a bit of documentation that is currently published on MSDN and which already in conflict with how to handle Azure Function with custom handler, what options and such. While teams at Microsoft like having narrow focus around assigned target, it does appear to unencumbered with internal Microsoftee politics outsider, that the work on this isolated worker created quite a bit of impact on overall Azure Function infrastructure, so, while I do expect you to punt my ask, I believe this is the proper starting point to query. Please share if you know the proper channel to direct same question - what is the new / updated guidance to deploy custom handler with timeTrigger on Azure Function. Needless to say, I have already searched this repository for any mentioning of time trigger and tried to get some sense using --help parameter to func.exe CLI tooling to no avail. MSDN article for reference sakes: https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-other?tabs=rust%2Cwindows

brettsam commented 2 years ago

This isn't specific to the dotnet-isolated worker, so transferring this to the general Azure-Functions repo.

@anthonychu -- it looks like the doc above only explains how to wire up an http trigger. Do we have a good pointer for someone new to functions that shows how to wire up other triggers to a custom handler?

anthonychu commented 2 years ago

I think the only thing we have is the main custom handlers doc which links to a sample repo that does include other triggers. The other triggers do work differently. @ggailey777 any thoughts on whether we should add a timer quickstart to docs.

jberry777 commented 2 years ago

Hello, I wasn't able to find any documentation regarding how to setup a timer trigger for a custom handler and if I could have both a timer trigger and an HTTP trigger inside the same custom handler. Is there documentation for using a timer trigger in a Golang custom handler? The links provided in this thread so far are about HTTP triggers and the other trigger described on the Github is a storage blob or queue trigger.