Is it possible to generate a unique BlobOutput name from an Azure WebJobs QueueInput item? -
i have continuous azure webjob running off of queueinput
, generating report, , outputting file bloboutput
. job run differing sets of data, each requiring unique output file. (the number of inputs guaranteed scale on time, cannot write single job per input.) able run off of queueinput
, cannot find way set output based on queueinput
value, or value except blob input name.
as example, want do, though invalid code , fail.
public static void job([queueinput("inputqueue")] inputitem input, [bloboutput("fileoutput/{input.name}")] stream output) { //job work here }
i know similar if used blobinput
instead of queueinput
, prefer use queue job. missing or generating unique output queueinput
not possible?
there 2 alternatives:
- use
ibinder
generate blob name. shown in these samples - have autogenerated in queue message object , bind blob name property. see here (the blobnamefromqueuemessage method) how bind queue message property blob name
Comments
Post a Comment