Class SinkCommonConfig
java.lang.Object
org.apache.kafka.common.config.AbstractConfig
io.aiven.kafka.connect.common.config.CommonConfig
io.aiven.kafka.connect.common.config.SinkCommonConfig
- Direct Known Subclasses:
AivenCommonConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
protected final FileNameFragment
FileNameFragment to handle FileName based configuration queries.protected final OutputFormatFragment
OutputFormatFragment to handle Output format base configuration queries.Fields inherited from class io.aiven.kafka.connect.common.config.CommonConfig
GROUP_COMPRESSION, GROUP_FORMAT, MAX_TASKS, TASK_ID
-
Constructor Summary
ConstructorsConstructorDescriptionSinkCommonConfig
(org.apache.kafka.common.config.ConfigDef definition, Map<?, ?> originals) -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addCompressionTypeConfig
(org.apache.kafka.common.config.ConfigDef configDef, CompressionType defaultCompressionType) protected static void
addOutputFieldsFormatConfigGroup
(org.apache.kafka.common.config.ConfigDef configDef, OutputFieldType defaultFieldType) final String
final Template
final TimestampSource
final ZoneId
final int
Methods inherited from class io.aiven.kafka.connect.common.config.CommonConfig
addKafkaBackoffPolicy, getKafkaRetryBackoffMs, getMaxTasks, getTaskId
Methods inherited from class org.apache.kafka.common.config.AbstractConfig
equals, get, getBoolean, getClass, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, postProcessParsedConfig, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
-
Field Details
-
FILE_COMPRESSION_TYPE_CONFIG
- See Also:
-
FILE_MAX_RECORDS
- See Also:
-
FILE_NAME_TEMPLATE_CONFIG
- See Also:
-
fileNameFragment
FileNameFragment to handle FileName based configuration queries. -
outputFormatFragment
OutputFormatFragment to handle Output format base configuration queries.
-
-
Constructor Details
-
SinkCommonConfig
-
-
Method Details
-
addOutputFieldsFormatConfigGroup
protected static void addOutputFieldsFormatConfigGroup(org.apache.kafka.common.config.ConfigDef configDef, OutputFieldType defaultFieldType) -
getFormatType
-
addCompressionTypeConfig
protected static void addCompressionTypeConfig(org.apache.kafka.common.config.ConfigDef configDef, CompressionType defaultCompressionType) -
getCompressionType
-
envelopeEnabled
-
getOutputFieldEncodingType
-
getFilenameTemplate
-
getFilename
-
getFilenameTimezone
-
getFilenameTimestampSource
-
getMaxRecordsPerFile
public final int getMaxRecordsPerFile() -
getOutputFields
-