Class CommonConfigFragment.Setter

java.lang.Object
io.aiven.kafka.connect.common.config.AbstractFragmentSetter<CommonConfigFragment.Setter>
io.aiven.kafka.connect.common.config.CommonConfigFragment.Setter
Enclosing class:
CommonConfigFragment

public static class CommonConfigFragment.Setter extends AbstractFragmentSetter<CommonConfigFragment.Setter>
Setter to programmatically set values in the configuraiotn.
  • Method Details

    • taskId

      public CommonConfigFragment.Setter taskId(int taskId)
      Sets the task ID value.
      Parameters:
      taskId - the task Id value.
      Returns:
      this
    • maxTasks

      public CommonConfigFragment.Setter maxTasks(int maxTasks)
      Sets the max tasks value.
      Parameters:
      maxTasks - the maximum number of tasks for this connector to run.
      Returns:
      this