Class SourceConfigFragment

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

public final class SourceConfigFragment extends ConfigFragment
Defines properties that are shared across all Source implementations.
  • Field Details

  • Constructor Details

    • SourceConfigFragment

      public SourceConfigFragment(org.apache.kafka.common.config.AbstractConfig cfg)
      Construct the ConfigFragment.
      Parameters:
      cfg - the configuration that this fragment is associated with.
  • Method Details

    • setter

      public static SourceConfigFragment.Setter setter(Map<String,String> data)
      Gets a setter for this fragment.
      Parameters:
      data - the data map to modify.
      Returns:
      the Setter.
    • update

      public static org.apache.kafka.common.config.ConfigDef update(org.apache.kafka.common.config.ConfigDef configDef)
    • getTargetTopic

      public String getTargetTopic()
      Gets the target topic.
      Returns:
      the target topic.
    • getMaxPollRecords

      public int getMaxPollRecords()
      Gets the maximum number of records to poll at one time.
      Returns:
      The maximum number of records to poll at one time.
    • getErrorsTolerance

      public ErrorsTolerance getErrorsTolerance()
      Gets the errors tolerance.
      Returns:
      the errors tolerance.
    • getDistributionType

      public DistributionType getDistributionType()
      Gets the distribution type
      Returns:
      the distribution type.
    • getRingBufferSize

      public int getRingBufferSize()
      Gets the ring buffer size.
      Returns:
      the ring buffer size.