Skip to content

Commit e0d4637

Browse files
Merge pull request #273140 from ggailey777/shreya
[Functions] Python retry shreya's additions
2 parents 38975bb + a17641b commit e0d4637

6 files changed

+224
-98
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,12 @@
356356
"branch": "main",
357357
"branch_mapping": {}
358358
},
359+
{
360+
"path_to_root": "azure-functions-python-worker",
361+
"url": "https://github.com/Azure/azure-functions-python-worker",
362+
"branch": "dev",
363+
"branch_mapping": {}
364+
},
359365
{
360366
"path_to_root": "functions-openapi-turbine-repair",
361367
"url": "https://github.com/Azure-Samples/functions-openapi-turbine-repair",

articles/azure-functions/functions-bindings-error-pages.md

Lines changed: 158 additions & 97 deletions
Large diffs are not rendered by default.

articles/azure-functions/functions-bindings-event-hubs-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Use the [EventHubAttribute] to define an output binding to an event hub, which s
308308

309309
_Applies only to the Python v2 programming model._
310310

311-
For Python v2 functions defined using a decorator, the following properties on the `cosmos_db_trigger`:
311+
For Python v2 functions defined using a decorator, these properties are supported for `event_hub_output`:
312312

313313
| Property | Description |
314314
|-------------|-----------------------------|
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
author: ggailey777
3+
ms.service: azure-functions
4+
ms.topic: include
5+
ms.date: 04/23/2024
6+
ms.author: glenga
7+
---
8+
```json
9+
{
10+
"disabled": false,
11+
"bindings": [
12+
{
13+
....
14+
}
15+
],
16+
"retry": {
17+
"strategy": "exponentialBackoff",
18+
"maxRetryCount": 5,
19+
"minimumInterval": "00:00:10",
20+
"maximumInterval": "00:15:00"
21+
}
22+
}
23+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
author: ggailey777
3+
ms.service: azure-functions
4+
ms.topic: include
5+
ms.date: 04/23/2024
6+
ms.author: glenga
7+
---
8+
```json
9+
{
10+
"disabled": false,
11+
"bindings": [
12+
{
13+
....
14+
}
15+
],
16+
"retry": {
17+
"strategy": "fixedDelay",
18+
"maxRetryCount": 4,
19+
"delayInterval": "00:00:10"
20+
}
21+
}
22+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
author: ggailey777
3+
ms.service: azure-functions
4+
ms.topic: include
5+
ms.date: 04/23/2024
6+
ms.author: glenga
7+
---
8+
| Property | Description |
9+
|---------|-------------|
10+
|strategy|Required. The retry strategy to use. Valid values are `fixedDelay` or `exponentialBackoff`.|
11+
|maxRetryCount|Required. The maximum number of retries allowed per function execution. `-1` means to retry indefinitely.|
12+
|delayInterval|The delay used between retries when you're using a `fixedDelay` strategy. Specify it as a string with the format `HH:mm:ss`.|
13+
|minimumInterval|The minimum retry delay when you're using an `exponentialBackoff` strategy. Specify it as a string with the format `HH:mm:ss`.|
14+
|maximumInterval|The maximum retry delay when you're using `exponentialBackoff` strategy. Specify it as a string with the format `HH:mm:ss`.|

0 commit comments

Comments
 (0)