Class SinkConfigFragment
java.lang.Object
io.aiven.kafka.connect.common.config.ConfigFragment
io.aiven.kafka.connect.common.config.SinkConfigFragment
Defines properties that are shared across all Sink implementations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe SourceConfigFragment setter. -
Field Summary
Fields inherited from class io.aiven.kafka.connect.common.config.ConfigFragment
cfg -
Constructor Summary
ConstructorsConstructorDescriptionSinkConfigFragment(org.apache.kafka.common.config.AbstractConfig cfg) Construct the ConfigFragment. -
Method Summary
Modifier and TypeMethodDescriptionlongA long value that represents the number of bytes per filestatic SinkConfigFragment.SetterGets a setter for this fragment.static org.apache.kafka.common.config.ConfigDefupdate(org.apache.kafka.common.config.ConfigDef configDef) Methods inherited from class io.aiven.kafka.connect.common.config.ConfigFragment
has, logDeprecated, logDeprecated, logDeprecated, validate
-
Constructor Details
-
SinkConfigFragment
public SinkConfigFragment(org.apache.kafka.common.config.AbstractConfig cfg) Construct the ConfigFragment.- Parameters:
cfg- the configuration that this fragment is associated with.
-
-
Method Details
-
setter
Gets 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) -
getMaxBytesPerFile
public long getMaxBytesPerFile()A long value that represents the number of bytes per file- Returns:
- Get the max bytes configured per file
-