Azure / Azure/azure-functions-java-library
@BlobTrigger without loading content
- Langage dominant
- Java
- Étoiles
- 45
- Forks
- 49
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par examiner l’annotation @BlobTrigger et son comportement actuel de liaison des paramètres dans la bibliothèque Java. Comparez le trigger demandé au niveau de la méthode, la requête HEAD, la transmission du chemin et la liaison de taille avec @BindingName aux annotations existantes. La tâche sera considérée comme terminée lorsqu’une conception d’API aura été arrêtée et que des tests montreront que les chemins des blobs peuvent être mis en file d’attente sans charger le contenu du blob.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100