I am new in Azure and I have a problem with Function App. I hope you can help me.
I have an Azure function with a blob trigger that runs for every file that is placed in Azure Datalake Gen2 storage. If there is a failure, I don't want retries.
I use the function to process 400 files that I put manually in Datalake using Microsoft Azure Storage. Then, my function should run 400 times to process all documents. But it never process all documents. Sometimes process 95, others 295.
I have search for information of Azure App Funtions limitation in number of times they will run but I found no information.
I paste json files below
function.json
{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "inStr",
"type": "blobTrigger",
"direction": "in",
"path": "container/input/{name}",
"connection": "AzureWebJobsStorage"
}
]
}
I have more function App, with one function, and I use same connection "AzureWebJobsStorage". May the problem be here?
The connection string "AzureWebJobsStorage" format is
"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=mydlaccount;AccountKey=key;EndpointSuffix=core.windows.net",
host.json
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true
}
}
},
"extensions": {
"blobs": {
"maxDegreeOfParallelism": "4"
},
"queues": {
"maxDequeueCount": 1
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
},
"retry": {
"strategy": "fixedDelay",
"maxRetryCount": 0,
"delayInterval": "00:00:05"
}
}