Class SinkConfigFragment

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

public final class SinkConfigFragment extends ConfigFragment
Defines properties that are shared across all Sink implementations.
  • Constructor Details

    • SinkConfigFragment

      public SinkConfigFragment(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 SinkConfigFragment.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)
    • getMaxBytesPerFile

      public long getMaxBytesPerFile()
      A long value that represents the number of bytes per file
      Returns:
      Get the max bytes configured per file