-
Notifications
You must be signed in to change notification settings - Fork 447
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
Allow ServiceBus AutoComplete to be configured #3179
Conversation
@mathewc is there a pre-release of this we could try out at all? Checked nuget, but doesn't seem to be published? It addresses the issues I was having in my StackOverflow post - https://stackoverflow.com/questions/51881103/calling-complete-or-deadletter-on-brokeredmessage-with-azure-functions-service/51889907 |
Looks like it's working for v3.1.0, it didn't work for me for 1.x or 2.x |
@braxler - how can I try v3.1.0 ? |
This has been released as part of functions v1 release https://github.com/Azure/azure-functions-host/releases/tag/v1.0.11959. It is also part of our latest v2 beta releases. |
How do I use this in my function app? Is it just a matter of updating the nuget package or...? |
@tomkuijsten I have the same question! |
If you're on the latest runtime version (v1 or v2) with the change, then you specify {
"serviceBus": {
"maxConcurrentCalls": 16,
"prefetchCount": 100,
"autoComplete": false
}
} If you have any problems with this, please log a new issue. |
@mathewc is this just for csx? Not pre-compiled functions? |
@mathewc using runtime version
If we have the following basic function:
|
@alexjamesbrown you should be on framework 1.0.11959.0 right? See release notes. Would explain why it's not yet working. |
@alexjamesbrown answer to my own question on forcing framework version (thanks to @keesschollaart81): https://docs.microsoft.com/en-us/azure/azure-functions/set-runtime-version |
@tomkuijsten this only explains how to set it when deploying - not on how to set it for the local runtime |
You need to update your Azure Functions Tools to get the new version. |
@mathewc to which version please? running
|
@mathewc ... which is weird, since 1.0.12 is listed as the 'latest version' I've installed via npm |
Yes, it appears that we don't have CLI released with these changes, sorry. I'll start an internal thread on that and see why that is. |
The CLI bits will be released shortly. Sorry about that @alexjamesbrown! |
@mhoeger @mathewc I've updated the cli, but VS still reports [21/09/2018 16:58:22] Host configuration file read: |
@alexjamesbrown - The 1.0.11959 bits should have been released on August 30th. Let me double check! |
@mhoeger if I do On cmd line, I get that version.... But visual studio (when hitting f5 in a function project) seems to still be running a previous version. I've updated the Azure functions extension in vs |
@alexjamesbrown - could you try restarting VS and trying again? It looks like those bits were moved to "pre-release" and never fully released. So sorry about the long delay in getting your fix! |
@mhoeger thanks, it looks like it's working now |
Should it work in v.2 functions?
and (as schema in master branch has
|
Addresses #2066.
Related SDK PR: Azure/azure-webjobs-sdk#1814. This change is required to enable the actual scenario of disabling AutoComplete and controlling message lifetime yourself.
Will make the same change in dev.