-
Notifications
You must be signed in to change notification settings - Fork 107
Azure Blob trigger function AKS trigger issue #1613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What I was able to find out was that each instance of the Azure Blob triggered function was creating a new queue and setting a lock in that, so is it possible to have a common queue for all? I think with that my issue should be solved. |
HEllo @anime-shed thankyou for sharing your findings, as far as i worked with it is not possible to have common queue in that scenerio. but please validate this document and let me know if it help you - https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cextensionv5&pivots=programming-language-csharp |
@JAdluri, from what I am able to get from the documentation you attached, I can provide the
but that will not help me with the issue I am facing. I want my blob-triggered function to know that a particular blob is already being read in another pod so it can read the next message in the blob. Eg: AKS pods: Expected behaviour: AKS pods: |
I have a blob-triggered Azure function, which is deployed on AKS with keda scaling based on the blob entries.
I used Azure/azure-functions-host#10624 to make each function accept only one blob item. The problem I have is that all created pods read the same file, but if I use queues-based triggers and scaling, different queue elements are read by different functions. According to my understanding, the blob trigger internally uses queues to do its tasks, so why is the behaviour different from having a blob trigger?
P.S.: I am moving the files to a different folder after the process is completed.
host.json
keda
The text was updated successfully, but these errors were encountered: