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

Adding autoComplete to v1 host.json docs #62824

Merged
merged 2 commits into from
Nov 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions articles/azure-functions/functions-host-json-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ The following sample *host.json* files have all possible options specified.
"serviceBus": {
"maxConcurrentCalls": 16,
"prefetchCount": 100,
"autoRenewTimeout": "00:05:00"
"autoRenewTimeout": "00:05:00",
"autoComplete": true
},
"singleton": {
"lockPeriod": "00:00:15",
Expand Down Expand Up @@ -281,6 +282,7 @@ Configuration setting for the [SendGrind output binding](functions-bindings-send
"sendGrid": {
"from": "Contoso Group <admin@contoso.com>"
}
}
```

|Property |Default | Description |
Expand All @@ -296,7 +298,8 @@ Configuration setting for [Service Bus triggers and bindings](functions-bindings
"serviceBus": {
"maxConcurrentCalls": 16,
"prefetchCount": 100,
"autoRenewTimeout": "00:05:00"
"autoRenewTimeout": "00:05:00",
"autoComplete": true
}
}
```
Expand All @@ -305,7 +308,8 @@ Configuration setting for [Service Bus triggers and bindings](functions-bindings
|---------|---------|---------|
|maxConcurrentCalls|16|The maximum number of concurrent calls to the callback that the message pump should initiate. By default, the Functions runtime processes multiple messages concurrently. To direct the runtime to process only a single queue or topic message at a time, set `maxConcurrentCalls` to 1. |
|prefetchCount|n/a|The default PrefetchCount that will be used by the underlying MessageReceiver.|
|autoRenewTimeout|00:05:00|The maximum duration within which the message lock will be renewed automatically.|
|autoRenewTimeout|00:05:00|The maximum duration within which the message lock will be renewed automatically.|
|autoComplete|true|When true, the trigger will complete the message processing automatically on successful execution of the operation. When false, it is the responsibility of the function to complete the message before returning.|

## singleton

Expand Down