Class CommonConfigFragment.Setter
java.lang.Object
io.aiven.commons.kafka.config.fragment.AbstractFragmentSetter<CommonConfigFragment.Setter>
io.aiven.commons.kafka.config.fragment.CommonConfigFragment.Setter
- Enclosing class:
CommonConfigFragment
public static class CommonConfigFragment.Setter
extends AbstractFragmentSetter<CommonConfigFragment.Setter>
Setter to programmatically set values in the configuraiotn.
-
Field Summary
Fields inherited from class io.aiven.commons.kafka.config.fragment.AbstractFragmentSetter
self -
Method Summary
Modifier and TypeMethodDescriptionkeyConverter(String keyConverter) Set the key ConvertermaxTasks(int maxTasks) Sets the max tasks value.taskId(int taskId) Sets the task ID value.valueConverter(String valueConverter) Set the value converter
-
Method Details
-
taskId
Sets the task ID value.- Parameters:
taskId- the task Id value.- Returns:
- this
-
maxTasks
Sets the max tasks value.- Parameters:
maxTasks- the maximum number of tasks for this connector to run.- Returns:
- this
-
keyConverter
Set the key Converter- Parameters:
keyConverter- the converter to use to convert the key converter- Returns:
- this
-
valueConverter
Set the value converter- Parameters:
valueConverter- the converter to use to convert value data- Returns:
- this
-