Class SourceConfigFragment.Setter
java.lang.Object
io.aiven.kafka.connect.common.config.AbstractFragmentSetter<SourceConfigFragment.Setter>
io.aiven.kafka.connect.common.config.SourceConfigFragment.Setter
- Enclosing class:
- SourceConfigFragment
public static class SourceConfigFragment.Setter
extends AbstractFragmentSetter<SourceConfigFragment.Setter>
The SourceConfigFragment setter.
-
Field Summary
Fields inherited from class io.aiven.kafka.connect.common.config.AbstractFragmentSetter
self
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondistributionType
(DistributionType distributionType) Sets the distribution type.errorsTolerance
(ErrorsTolerance tolerance) Sets the error tolerance.maxPollRecords
(int maxPollRecords) Set the maximum poll records.ringBufferSize
(int ringBufferSize) Sets the ring buffer size.targetTopic
(String targetTopic) Sets the target topic.
-
Constructor Details
-
Setter
Constructor.- Parameters:
data
- the data to modify.
-
-
Method Details
-
maxPollRecords
Set the maximum poll records.- Parameters:
maxPollRecords
- the maximum number of records to poll.- Returns:
- this
-
errorsTolerance
Sets the error tolerance.- Parameters:
tolerance
- the error tolerance- Returns:
- this.
-
targetTopic
Sets the target topic.- Parameters:
targetTopic
- the target topic.- Returns:
- this.
-
distributionType
Sets the distribution type.- Parameters:
distributionType
- the distribution type.- Returns:
- this
-
ringBufferSize
Sets the ring buffer size.- Parameters:
ringBufferSize
- the ring buffer size- Returns:
- this.
-