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

[BUG] [Storage] WebJobs Extension not reading MaxDequeueCount #33672

Closed
amnguye opened this issue Jan 25, 2023 · 1 comment
Closed

[BUG] [Storage] WebJobs Extension not reading MaxDequeueCount #33672

amnguye opened this issue Jan 25, 2023 · 1 comment
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Storage Storage Service (Queues, Blobs, Files)

Comments

@amnguye
Copy link
Member

amnguye commented Jan 25, 2023

Library name and version

Microsoft.Azure.WebJobs.Extensions.Storage.Blobs; Microsoft.Azure.WebJobs.Extensions.Storage.Queues

Describe the bug

See this document for reference.

https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger?tabs=in-process%2Cextensionv5&pivots=programming-language-csharp#concurrency-and-memory-usage

In the v4 WebJobs Storage Extension it used the property maxDequeueCount in the host.json but looks like in the current version (v5) it's not reading the value at all and not applying it to the QueueOptions.

To clarify this affects the blob trigger function when added.

Expected behavior

The maxDequeueCount is respected host.json and applied to the QueueOptions.

Actual behavior

It's being ignored if applied.

Reproduction Steps

In the host.json file add something like

{
  "version": "2.0",
  "extensions": {
    "queues": {
      "maxDequeueCount": 1
    }
  }
}

QueueOptions should look something like

{
  "BatchSize": 16,
  "NewBatchThreshold": 16,
  "MaxPollingInterval": "00:01:00",
  "MaxDequeueCount": 5,
  "VisibilityTimeout": "00:00:00",
  "MessageEncoding": "Base64"
}

Environment

n/a

@amnguye amnguye self-assigned this Jan 25, 2023
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 25, 2023
@amnguye amnguye added Storage Storage Service (Queues, Blobs, Files) Client This issue points to a problem in the data-plane of the library. bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jan 25, 2023
@ghost ghost added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Jan 25, 2023
@amnguye
Copy link
Member Author

amnguye commented Feb 6, 2023

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

1 participant