Class SourceConfigFragment
java.lang.Object
io.aiven.kafka.connect.common.config.ConfigFragment
io.aiven.kafka.connect.common.config.SourceConfigFragment
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from class io.aiven.kafka.connect.common.config.ConfigFragment
cfg
-
Constructor Summary
ConstructorsConstructorDescriptionSourceConfigFragment
(org.apache.kafka.common.config.AbstractConfig cfg) Construct the ConfigFragment. -
Method Summary
Methods inherited from class io.aiven.kafka.connect.common.config.ConfigFragment
has
-
Field Details
-
MAX_POLL_RECORDS
- See Also:
-
EXPECTED_MAX_MESSAGE_BYTES
- See Also:
-
TARGET_TOPIC
- See Also:
-
ERRORS_TOLERANCE
- See Also:
-
DISTRIBUTION_TYPE
- See Also:
-
-
Constructor Details
-
SourceConfigFragment
public SourceConfigFragment(org.apache.kafka.common.config.AbstractConfig cfg) Construct the ConfigFragment.- Parameters:
cfg
- the configuration that this fragment is associated with.
-
-
Method Details
-
update
public static org.apache.kafka.common.config.ConfigDef update(org.apache.kafka.common.config.ConfigDef configDef) -
validate
public void validate()Description copied from class:ConfigFragment
Validate that the data in the configuration matches any restrictions. Default implementation does nothing.- Overrides:
validate
in classConfigFragment
-
getTargetTopic
-
getSourceName
-
getMaxPollRecords
public int getMaxPollRecords() -
getExpectedMaxMessageBytes
public int getExpectedMaxMessageBytes() -
getErrorsTolerance
-
getDistributionType
-