Azure / Azure/azure-functions-host

Queue trigger not being executed as expected

Open
#2,954 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

#### Investigative information

- Timestamp: Current time is 23:33:27 UTC, Wednesday, 6 June 2018
- Function App version (1.0 or 2.0-beta): 1.0
- Function App name: bcs-live-preview
- Function name(s) (as appropriate): GeneratePreview
- Invocation ID: N/A
- Region: Australia East

#### Repro steps

Provide the steps required to reproduce the problem:

1. Monitor the queue that this function is consuming (generatepreview on bcsfiles)

#### Expected behavior

Queue is processed always
No poison records

#### Actual behavior

Queue is not processed
No poison records (good!)
Queue was processed yesterday but required a restart.

#### Known workarounds

A function restart seemed to fix this but only once.

#### Related information

Other functions working OK for us

Function Sig:

` [FunctionName("GeneratePreview"), Timeout("00:01:00")]
public static async Task Run(
[QueueTrigger("generatepreview", Connection = "AzureStorageConnectionString")] PreviewGenerationRequest request
)
{`

Contributor guide

Open the contributing guide

Research direction

Start with the GeneratePreview entry point and its QueueTrigger("generatepreview") signature, then review how the Azure Functions host monitors and dispatches that queue. Reproduce the report using the listed function and queue details, checking behavior before and after a restart. Done means the queue is processed consistently without a restart or poison records.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.