Azure / Azure/azure-functions-java-library

@BlobTrigger without loading content

オープン
#148 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
45
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、Java ライブラリの @BlobTrigger アノテーションと、現在のパラメーター バインディングの動作を確認します。要求されているメソッドレベルのトリガー、HEAD リクエスト、パスの転送、@BindingName によるサイズ バインディングを、既存のアノテーションと比較します。完了条件は、API 設計が決定され、blob の内容を読み込まずに blob パスをキューに追加できることを示すテストがあることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
cloud
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。