Class TransformerFragment

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

public final class TransformerFragment extends ConfigFragment
Fragment to manage transformer configuration.
  • Field Details

  • Constructor Details

    • TransformerFragment

      public TransformerFragment(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 TransformerFragment.Setter setter(Map<String,String> data)
      Creates 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)
      Update the configuration definition with the properties for this fragment.
      Parameters:
      configDef - the configuration definition to update.
      Returns:
      the updated configuration definition.
    • getInputFormat

      public InputFormat getInputFormat()
      Gets the input format for the transformer.
      Returns:
      the Input format for the
    • getSchemaRegistryUrl

      public String getSchemaRegistryUrl()
      Get the schema registry URL.
      Returns:
      the schema registry URL
    • getTransformerMaxBufferSize

      public int getTransformerMaxBufferSize()
      Gets the maximum buffer size for the BYTE input.
      Returns:
      the maximum buffer size fo the BYTE input.