Class BackoffPolicyConfig

java.lang.Object
io.aiven.kafka.connect.common.config.ConfigFragment
io.aiven.kafka.connect.common.config.BackoffPolicyConfig

public class BackoffPolicyConfig extends ConfigFragment
Defines the backoff policy for connectors.
  • Constructor Details

    • BackoffPolicyConfig

      protected BackoffPolicyConfig(org.apache.kafka.common.config.AbstractConfig cfg)
  • Method Details

    • update

      public static org.apache.kafka.common.config.ConfigDef update(org.apache.kafka.common.config.ConfigDef configDef)
      Adds configuration options to the configuration definition.
      Parameters:
      configDef - the configuration definition ot update.
      Returns:
      the configuraiton definition with additional options.
    • getKafkaRetryBackoffMs

      public Long getKafkaRetryBackoffMs()
      Gets the kafka retry backoff time..
      Returns:
      the Kafka retry backoff time in MS.