Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TaskRetryPolicy

import type { TaskRetryPolicy } from "https://googleapis.deno.dev/v1/managedkafka:v1.ts";

Task Retry Policy is implemented on a best-effort basis. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc.

interface TaskRetryPolicy {
maximumBackoff?: number;
minimumBackoff?: number;
}

§Properties

§
maximumBackoff?: number
[src]

Optional. The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.

§
minimumBackoff?: number
[src]

Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.