[Question] Two autocomplete settings, which has precedence? #2754
Labels
extensions: service-bus
needs-investigation
potential-bug
Items opened using the bug report template, not yet triaged and confirmed as a bug
Issue Transfer
This issue has been transferred from the Azure SDK for .NET repository, #46445.
Please be aware that @arghasen93 is the author of the original issue and include them for any questions or replies.
Details
Library name and version
Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.22.0
Describe the bug
What is the meaning of having host.json file consisting "autocompletemessage" property having value "false" and also explicitly have to set "AutoCompleteMessages" to false in "ServiceBusTriggerAttribute" class. And I have also observed that it's not respecting "clientRetryOptions".
Expected behavior
If autocompletemessage in "host.json" file has the value false then azure function should not complete and remove the messages from Azure Service Bus topic
Actual behavior
Even though autocompletemessage in "host.json" to false it's completing and removing the messages from Azure Service Bus
Reproduction Steps
Create an Azure function based on servicebus trigger in dotnet-isolated (.NET 8) and set "autocompletemessage" to false in host.json file in servicebus extension
Environment
No response
The text was updated successfully, but these errors were encountered: