Questions tagged [queuetrigger]

62 questions
2
votes
1 answer

How to locally debug a Queue triggered Azure Function wirtten in PowerShell with Visual Studio Code?

I would like to have some information about how to do such a thing. I've installed the plugins for Visual Studio Code, I've imported the modules at the beginning of my PowerShell script, I've fill the requirements.psd1 with the appropriate module…
1
vote
2 answers

Update function runtime version of QueueTrigger function application in azure

I have queueTrigger azure functions. I am receiving warning about function runtime version update. To update runtime version, I have followed some steps like I update value of "FUNCTIONS_EXTENSION_VERSION" key to "~4" and check "Function runtime…
Hunzla Ali
  • 383
  • 2
  • 5
  • 22
1
vote
1 answer

Azure Function QueueTrigger and int message

I want to save int value to queue message and then get it on Azure Function QueueTrigger. I save by the following way: int deviceId = -1; await queue.AddMessageAsync(new CloudQueueMessage(deviceId.ToString())); and then listen…
Oleg Sh
  • 8,496
  • 17
  • 89
  • 159
1
vote
1 answer

QueueTrigger to Write to Queue-Python

I have a queuetrigger which reads a gis feature layer and process its as it writes back to portal. It seems to work alright except the message is not logged onto the outqueue. I say it works alright because I can see the gis featurelayer properly…
wwnde
  • 26,119
  • 6
  • 18
  • 32
1
vote
1 answer

QueueTrigger Bindings for Sendgrid -Python

Guided by this post I have written the following queuetrigger code intended to send emails when a message is queued. import logging import sendgrid import azure.functions as func import os def main(msg: func.QueueMessage) -> None: …
wwnde
  • 26,119
  • 6
  • 18
  • 32
1
vote
0 answers

Scale out queue triggered azure function behavior in AppServicePlan

I have developed a queue triggered azure function in c#. The function is running on the AppService plan. We want to implement custom auto-scale out. We are planning to increases the instance count by 1 when the CPU percentage is above 60% My…
1
vote
1 answer

Triggered Azure Webjob sporadically not running

We have a webjob that is invoked with a queutrigger that we trigger every time an order is submitted. public async Task OrderJobAsync([QueueTrigger("newshipment")] string filename, TextWriter log) { doSomething() } Over the past week we had…
Eric King
  • 37
  • 1
  • 6
1
vote
2 answers

How do I queue up request received from blob trigger?

I have a function app which triggers when blob is uploaded or updated. But in my requirement, my container might receive thousands of blobs at a time (customer will upload blobs to container in batch). In this case, as I know function app will run…
shary.sharath
  • 649
  • 2
  • 14
  • 29
1
vote
1 answer

Azure WebJobs QueueTrigger ignores environment when reading configuration

I have an Azure WebJobs with QueueTrigger: public void ProcessTestQueueByTrigger( [QueueTrigger("test-queue", Connection = "MyCustomStorageConnection")] string queueMessage, int dequeueCount, TextWriter log) { var message =…
1
vote
0 answers

Database and Azure Queue Trigger: How to prevent Concurrently access database resources

I am looking in this blog https://medium.com/@yuka1984/azure-functions-%E3%81%AE-singletonattribute%E3%81%A8mode%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3-bb728062198e This singleton with batch size 1 will enable the queue be executed the queue…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
1
vote
0 answers

How do queue triggers work in Azure Functions

I know there is a scale controller that monitors events in Azure Functions, but I would like to know how it works at low level with storage queue triggers: Does it send requests every x miliseconds to the queue to check for new messages? Is there…
MauriR
  • 537
  • 10
  • 20
1
vote
1 answer

How to configure different batch sizes for different queues in "webjobs v3"?

There is some documentation on configuring different batch sizes for different queues using customQueueProcessor in webjobs v2 using .net framework. I would like to know how this is handled in webjobs v3? var builder = new HostBuilder() …
sindhuja
  • 87
  • 7
1
vote
1 answer

Azure function (Queue trigger), web app shared data type best practice

An Azure function has a Queue trigger, and the data coming from the Queue is serialized Json...i.e., the web app serializes object of type DataType1 and writes it to the Queue. The Azure function has to be able to resolve the namespace for…
Mike
  • 1,010
  • 1
  • 14
  • 33
1
vote
1 answer

QueueTrigger is not picking messages- Azure WebJobs SDK 3.0

I'm trying to develop WebJob using SDK 3.0.x, and testing it locally. I've followed the sample in github without any success. When running it locally everything is going ok, it also see the ProcessQueueMessage function but it doesn't pick the…
1
vote
1 answer

Call same queuetrigger function for multiple queues in parallel

I am creating multiple queues dynamically like workbook1, workbook2...workbook100. I have written one queuetrigger function which needs to be trigger for all the queues created dynamically once any message arrive I want to trigger same trigger…
Sandip
  • 31
  • 2
  • 11