Show / Hide Table of Contents

Class TaskRetryPolicy

Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. 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. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively.

Inheritance
object
TaskRetryPolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ManagedKafka.v1.Data
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class TaskRetryPolicy : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MaximumBackoff

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

Declaration
[JsonProperty("maximumBackoff")]
public virtual object MaximumBackoff { get; set; }
Property Value
Type Description
object

MinimumBackoff

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

Declaration
[JsonProperty("minimumBackoff")]
public virtual object MinimumBackoff { get; set; }
Property Value
Type Description
object

TaskRetryDisabled

Optional. If true, task retry is disabled.

Declaration
[JsonProperty("taskRetryDisabled")]
public virtual bool? TaskRetryDisabled { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX