Azure / Azure/azure-functions-java-library

@BlobTrigger without loading content

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.