You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn to handle errors and retry events in Azure Functions with links to specific binding errors, including information on retry policies.
@@ -14,7 +14,7 @@ Handling errors in Azure Functions is important to avoid lost data, missed event
14
14
This article describes general strategies for error handling and the available retry strategies.
15
15
16
16
> [!IMPORTANT]
17
-
> The retry policy support in the runtime for triggers other than Timerand Event Hubs is being removed after this feature becomes generally available (GA). Preview retry policy support for all triggers other than Timer and Event Hubs will be removed in October 2022.
17
+
> The retry policy support in the runtime for triggers other than Timer, Kafka, and Event Hubs is being removed after this feature becomes generally available (GA). Preview retry policy support for all triggers other than Timer and Event Hubs will be removed in October 2022.
18
18
19
19
## Handling errors
20
20
@@ -37,7 +37,7 @@ Capturing and logging errors is critical to monitoring the health of your applic
37
37
38
38
### Plan your retry strategy
39
39
40
-
Several Functions bindings extensions provide built-in support for retries. In addition, the runtime lets you define retry policies for Timer and Event Hubs triggered functions. To learn more, see [Retries](#retries). For triggers that don't provide retry behaviors, you may want to implement your own retry scheme.
40
+
Several Functions bindings extensions provide built-in support for retries. In addition, the runtime lets you define retry policies for Timer, Kafka, and Event Hubs triggered functions. To learn more, see [Retries](#retries). For triggers that don't provide retry behaviors, you may want to implement your own retry scheme.
41
41
42
42
### Design for idempotency
43
43
@@ -57,12 +57,13 @@ There are two kinds of retries available for your functions: built-in retry beha
57
57
| RabbitMQ |[Binding extension](functions-bindings-rabbitmq-trigger.md#dead-letter-queues)|[Dead letter queue](https://www.rabbitmq.com/dlx.html)|
58
58
| Service Bus |[Binding extension](../service-bus-messaging/service-bus-dead-letter-queues.md)|[Dead letter queue](../service-bus-messaging/service-bus-dead-letter-queues.md#maximum-delivery-count)|
Starting with version 3.x of the Azure Functions runtime, you can define a retry policies for Timer and Event Hubs triggers that are enforced by the Functions runtime. The retry policy tells the runtime to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached.
64
+
Starting with version 3.x of the Azure Functions runtime, you can define a retry policies for Timer, Kafka, and Event Hubs triggers that are enforced by the Functions runtime. The retry policy tells the runtime to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached.
64
65
65
-
A retry policy is evaluated when a Timer or Event Hubs triggered function raises an uncaught exception. As a best practice, you should catch all exceptions in your code and rethrow any errors that you want to result in a retry. Event Hubs checkpoints won't be written until the retry policy for the execution has completed. Because of this behavior, progress on the specific partition is paused until the current batch has completed.
66
+
A retry policy is evaluated when a Timer, Kafka, or Event Hubs triggered function raises an uncaught exception. As a best practice, you should catch all exceptions in your code and rethrow any errors that you want to result in a retry. Event Hubs checkpoints won't be written until the retry policy for the execution has completed. Because of this behavior, progress on the specific partition is paused until the current batch has completed.
0 commit comments