Class TransformerFragment
java.lang.Object
io.aiven.kafka.connect.common.config.ConfigFragment
io.aiven.kafka.connect.common.config.TransformerFragment
Fragment to manage transformer configuration.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classThe setter for the TransformerFragment - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class io.aiven.kafka.connect.common.config.ConfigFragment
cfg - 
Constructor Summary
ConstructorsConstructorDescriptionTransformerFragment(org.apache.kafka.common.config.AbstractConfig cfg) Construct the ConfigFragment. - 
Method Summary
Modifier and TypeMethodDescriptionGets the input format for the transformer.Get the schema registry URL.intGets the maximum buffer size for the BYTE input.static TransformerFragment.SetterCreates a Setter for this fragment.static org.apache.kafka.common.config.ConfigDefupdate(org.apache.kafka.common.config.ConfigDef configDef) Update the configuration definition with the properties for this fragment.Methods inherited from class io.aiven.kafka.connect.common.config.ConfigFragment
has, logDeprecated, logDeprecated, logDeprecated, validate 
- 
Field Details
- 
SCHEMA_REGISTRY_URL
- See Also:
 
 - 
INPUT_FORMAT_KEY
- See Also:
 
 - 
SCHEMAS_ENABLE
- See Also:
 
 - 
TRANSFORMER_MAX_BUFFER_SIZE
- See Also:
 
 
 - 
 - 
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
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
Gets the input format for the transformer.- Returns:
 - the Input format for the
 
 - 
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.
 
 
 -