Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlobTrigger is jammed #2

Closed
davidmatson opened this issue Jul 17, 2014 · 0 comments
Closed

BlobTrigger is jammed #2

davidmatson opened this issue Jul 17, 2014 · 0 comments

Comments

@davidmatson
Copy link
Contributor

BlobTrigger keeps firing even after it's been processed. Today, we don't have any way to avoid continuous automatic firing in every scenario. For example, consider:

public static void ProcessBlobIntoQueue([BlobTrigger("container/{name}")] string blob, [Queue("myqueue")] out string queue)
{
}

or:

public static void ProcessBlobIntoBlob1([BlobTrigger("container/{name}")] string blob, [Blob("container/out") CloudBlockBlob output)
{
 // output may or may not be created depending on the code inside this function.
}
public static void ProcessBlobIntoBlob2([BlobTrigger("container/{name}")] string blob, [Blob("container/out", FileAccess.Write) Stream output)
{
 // output may or may not be created depending on the code inside this function.
 // if it doesn't write to output; it won't be created.
}

We could make the first an indexing error, but what about the second? I doubt we can make the third an indexing error.

If BlobTrigger ever keeps firing, that's quite surprising to the user, as well as potentially quite expensive.

@davidmatson davidmatson added this to the 1.0.0-beta3 milestone Jul 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants