Questions tagged [queuetrigger]

62 questions
8
votes
4 answers

How to move a service bus messge to deadletter in service bus queue trigger function

How can we move a service bus queue message to the dead letter through service bus queue trigger function
jaas
  • 131
  • 1
  • 5
8
votes
1 answer

Azure queue trigger vs service bus queue trigger, which one do I need?

I'm trying to understand the difference between a queue trigger and a service bus queue trigger and which one I need! I have a asp.net mvc site that is for creating and scheduling classes, which will be represented as a row in a db table. When a…
chuckd
  • 13,460
  • 29
  • 152
  • 331
5
votes
1 answer

Wait time for queue-triggered Azure Functions is very high compared to equivalent Webjobs

I've migrated queue-triggered Azure Webjobs to Azure Functions. Based on my measurements the wait time to pluck messages off the queue is 5X to 60X+ (yes really) longer with the Functions. In Webjob land, I observed that with BatchSize,…
Howiecamp
  • 2,981
  • 6
  • 38
  • 59
5
votes
4 answers

Azure Queue Trigger Function not firing

I have designed a Azure Queue Trigger function in Python with the following functionalities. When a message is added to Queue named Input , the function fires It processes the message added to the Input Queue and stores the result in Output…
Rajesh Rajamani
  • 189
  • 2
  • 14
5
votes
1 answer

Setup configuration and run azure queue trigger function locally

I am trying to run an azure queue trigger function locally. I installed Azure Storage Emulator and ran the command "AzureStorageEmulator.exe init" to create "AzureStorageEmulatorDb59" database on the "(localdb)\MSSQLLocalDB" server. In my azure…
suvenk
  • 467
  • 1
  • 5
  • 24
4
votes
1 answer

Error: The input is not a valid Base-64 string...when running queue trigger function in Azure

I am new to Azure functions. I want to set up a queue trigger function to consume items in a queue. which the queue is a parallel queue separated from the main queue. But when I run it, it keeps showing that : Executed 'QueueTrigger2' (Failed,…
4
votes
1 answer

BatchSize is not honored by Azure function (v2 on .Net Core) with QueueTrigger when running LOCALLY

I am testing my Azure function (v2 targeting .Net Core) with QueueTrigger locally with the following configs in host.json file "queues": { "batchSize": 1, "newBatchThreshold": 0 } The intent is to limit each Function App instance to only…
Chuck
  • 332
  • 4
  • 15
3
votes
2 answers

How to get the queue messageid inside the queue trigger function

I am trying to get the message Id of the currently processing message in a Queue in Azure web job. Couldn't find any proper documentation on how to get that. public static void ProcessQueueMessage([QueueTrigger("%testingQueue%")] TestingMessageModel…
Anurag
  • 78
  • 9
3
votes
1 answer

Azure WebJob QueueTrigger execution

I am running multiple simultaneous instances of a QueueTrigger within an Azure webjob. It is a single function, but called multiple times in parallel. My function uses static variables to cache data that is used multiple times. Sometimes when the…
Tony Cheetham
  • 877
  • 7
  • 18
2
votes
1 answer

Azure function App - Global variable shared across executions and old code running intermittently

Currently, I am facing two issues in the Azure function app. I have provided the details below: 1. Global variable content is being shared across executions: I have used Concurrent dictionary which is a global variable, private and static. This…
PriyankaB
  • 65
  • 1
  • 2
  • 7
2
votes
2 answers

Azure QueueTriggered Function app dotnet-isolated input binding from keyvault

I am trying to connect my function app to keyvault and get queue name and connection secrets. This was working well with .netcore3.1 app using the ConfigureAppConfiguration(IFunctionsConfigurationBuilder builder) method in FunctionStartup. After…
Prabhu AP
  • 71
  • 4
2
votes
1 answer

Is it possible to have different settings for different Queue triggers in an Azure Function App?

Below is from Azure Storage Queue documentation https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue. It seems to me all Queue triggers in an Azure Function app get the same settings (the settings in the "queues"…
2
votes
1 answer

What happens to a queued message from a Azure Log App + Azure Queue?

Question Does the Azure Queue step (within the Logic App) auto-dequeue messages? Here's some context: I have a logic app which is setup to insert a string into an azure queue. Upon being enqueued, a function app is invoked via a queue trigger. By…
AlvinfromDiaspar
  • 6,611
  • 13
  • 75
  • 140
2
votes
2 answers

Azure Function v3 .NET Core 3.1 ServiceBusTrigger "Message processing error (Action=RenewLock)" even though autoComplete = false

I have a queue trigger that runs a long running task. Ran into all sorts of problems with lock durations and renewal, so I decided to manually complete the message at the very start of the whole process. If the job encounters an error, send the…
DevonS
  • 53
  • 1
  • 6
2
votes
2 answers

Timer trigger does not trigger queue but manual entry does-Python

I have a queue trigger which when message is manually added into queue it gets started and runs as expected. However, when message is written into queue by the following timer trigger function it fails to start. I can see the message is successfully…
wwnde
  • 26,119
  • 6
  • 18
  • 32
1
2 3 4 5