Azure / Azure/azure-functions-java-library
@BlobTrigger without loading content
- Lenguaje dominante
- Java
- Estrellas
- 45
- Forks
- 49
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comience revisando la anotación @BlobTrigger y su comportamiento actual de vinculación de parámetros en la biblioteca de Java. Compare el trigger solicitado a nivel de método, la solicitud HEAD, el reenvío de rutas y la vinculación del tamaño con @BindingName con las anotaciones existentes. Se considerará completado cuando haya un diseño de API decidido y pruebas que demuestren que las rutas de los blobs se pueden poner en cola sin cargar el contenido del blob.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- cloud
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 30/100