Azure / Azure/azure-functions-java-library
@BlobTrigger without loading content
- Vorherrschende Sprache
- Java
- Sterne
- 45
- Forks
- 49
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Is it possible or could it be possible to use @BlobTigger without actually getting the content of the blob.
The use case for this is if you wanted to just send the path of the blob to a queue, which then would process the content of the blob. You wouldn't need say the whole content of a 2GB file to do that.
For example if @BlobTrigger was changed to be allowed as a method annotation as well as a parameter annotation.
Then the back end code would do a HEAD call to check if the blob exists and then call the method.
Plus you could also add @BindingName to have the size of the blob passed into the function.
P.S. I am aware that EventGrid is another way to have triggers on blobs
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginnen Sie mit der Überprüfung der Annotation @BlobTrigger und ihres aktuellen Verhaltens bei der Parameterbindung in der Java-Bibliothek. Vergleichen Sie den angeforderten Trigger auf Methodenebene, die HEAD-Anfrage, die Pfadweiterleitung und die Größenbindung mit @BindingName mit den vorhandenen Annotationen. Als abgeschlossen gilt die Aufgabe, wenn ein festgelegtes API-Design und Tests vorhanden sind, die zeigen, dass Blob-Pfade in die Warteschlange eingereiht werden können, ohne den Blob-Inhalt zu laden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- cloud
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100