Skip to content

Queue and timer triggers not supported on API #389

Closed

Description

I'm building an open source app to handle comment submission and approval on JamStack sites: Bolt Comments. This is a React app with C# functions.

I'm using a storage account to hold the data and was expecting to use storage queues to decouple invocation of out-bound web hooks from the incoming API calls. This works great in local testing with the SWA CLI so I was fully expecting this to work when deployed to Azure as well, but I'm getting an error while building the project in a GitHub action:

Error in processing api build artifacts: the file 'NotifyNewComment/function.json' has specified an invalid trigger of type 'queueTrigger' and direction ''. Currently, only httpTriggers are supported. Visit https://github.com/Azure/azure-functions-host/wiki/function.json for more information.

The build output is here

  • The documentation linked to is not relevant for the error; it actually lists queue triggers as valid triggers.
  • I've been unable to find any documentation on what function triggers are actually supported

So, I was fully expecting the queue trigger to work as it does with 'regular' functions projects. As a fallback, I tried to add a timer trigger but found that was not available either.

Are there plans to support other trigger types on the API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions