Creating a queue-triggered function
In the previous section, you created a sample HTTP function. In this section, you'll build another sample using a queue-triggered function. Queues are often used to pass messages between different components of an application. A function can be triggered based on messages in a queue to then perform additional processing on these messages.
In this section, you'll create a function that is integrated with Azure storage queues to consume events. You will also configure KEDA to allow scaling to/from zero pods in the case of low traffic.
Let's start by creating a queue in Azure.
Creating a queue
In this section, you will create a new storage account and a new queue in that storage account. You will connect functions to that queue in the next section, Creating a queue-triggered function.
- To begin, create a new storage account. Search for
storage accounts
in the Azure search bar and select Storage accounts:Figure...