Azure / Azure/Azure-Functions

Azure queue triggered function - avoiding loss of messages

Open
#1,026 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

If your Azure function is triggered by a message from a queue and that Azure function is reliant upon a resource and that resource becomes unavailable, is there a recommended design pattern to implement to avoid loss of messages and ensuring that messages don't end up on the dead letter queue?

What is required is a way for the project that created the Brokered message and puts the message onto the queue, for that project to detect that the resource is currently unavailable and to put the queue into a suspended state so any messages currently in the queue don't get processed and wait until the queue is un-suspended.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.