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

[Question] Two autocomplete settings, which has precedence? #2754

Open
jsquire opened this issue Oct 7, 2024 · 0 comments
Open

[Question] Two autocomplete settings, which has precedence? #2754

jsquire opened this issue Oct 7, 2024 · 0 comments
Labels
extensions: service-bus needs-investigation potential-bug Items opened using the bug report template, not yet triaged and confirmed as a bug

Comments

@jsquire
Copy link
Member

jsquire commented Oct 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensions: service-bus needs-investigation potential-bug Items opened using the bug report template, not yet triaged and confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants