Search code examples
azure-functionsazure-blob-trigger

Handle events for paused azure function


Will azure function handle missed events after pause? I expect nothing bad if we use queue as input binding, possible everything will be good for event grid, because we need to configure topic, which should act as a queue. What about BlobTrigger binding? If new file was added during function pause, will it fire function after it's start?

public async Task Run([BlobTrigger("path/to/blob/{name}", Connection = "Conn")] byte[] blobData, string blobTrigger)
{
}

Solution

  • The Blob Trigger internally polls the logs and containers for new or updated blobs, and maintains receipts for processed blobs. This ensures blobs are processed as expected and pausing a function app should not affect this.