Class: Google::Cloud::ManagedKafka::V1::TaskRetryPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/managedkafka/v1/resources.rb

Overview

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. The default values for minimum and maximum backoffs are 60 seconds and 30 minutes respectively.

Instance Attribute Summary collapse

Instance Attribute Details

#maximum_backoff::Google::Protobuf::Duration

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

Returns:

  • (::Google::Protobuf::Duration)

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



542
543
544
545
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 542

class TaskRetryPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#minimum_backoff::Google::Protobuf::Duration

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

Returns:

  • (::Google::Protobuf::Duration)

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



542
543
544
545
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 542

class TaskRetryPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end