Scooletz / QueueBatch

WebJobs/Azure Functions trigger providing batches of Azure Storage Queues messages directly to your function
Apache License 2.0
41 stars 4 forks source link

Number of function executions #14

Closed jeremy001181 closed 5 years ago

jeremy001181 commented 5 years ago

Hey @Scooletz

Could be a silly question, lets say my function receives a batch of 32 messages as an example, when it comes to calculate Azure Function pricing, will it be counted as executed 32 times or only once? My guess is latter, just want to be sure. Thanks

Scooletz commented 5 years ago

@jeremy001181 I assume that you're asking about the case when the queue contains 32 messages and the function trigger obtains all of them in one call of GetMessages. This will result in a single function execution with a batch of 32 messages being past to your functions. This is why it's named QueueBatch 😉

If it addresses your question, please close the issue.

jeremy001181 commented 5 years ago

fantastic...just to be certain :) closed