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

public class SinkCommonConfig extends CommonConfig
  • Field Details

    • FILE_COMPRESSION_TYPE_CONFIG

      public static final String FILE_COMPRESSION_TYPE_CONFIG
      See Also:
    • FILE_MAX_RECORDS

      public static final String FILE_MAX_RECORDS
      See Also:
    • FILE_NAME_TEMPLATE_CONFIG

      public static final String FILE_NAME_TEMPLATE_CONFIG
      See Also:
    • fileNameFragment

      protected final FileNameFragment fileNameFragment
      FileNameFragment to handle FileName based configuration queries.
    • outputFormatFragment

      protected final OutputFormatFragment outputFormatFragment
      OutputFormatFragment to handle Output format base configuration queries.
  • Constructor Details

    • SinkCommonConfig

      public SinkCommonConfig(org.apache.kafka.common.config.ConfigDef definition, Map<?,?> originals)
  • Method Details

    • addOutputFieldsFormatConfigGroup

      protected static void addOutputFieldsFormatConfigGroup(org.apache.kafka.common.config.ConfigDef configDef, OutputFieldType defaultFieldType)
    • getFormatType

      public FormatType getFormatType()
    • addCompressionTypeConfig

      protected static void addCompressionTypeConfig(org.apache.kafka.common.config.ConfigDef configDef, CompressionType defaultCompressionType)
    • getCompressionType

      public CompressionType getCompressionType()
    • envelopeEnabled

      public Boolean envelopeEnabled()
    • getOutputFieldEncodingType

      public OutputFieldEncodingType getOutputFieldEncodingType()
    • getFilenameTemplate

      public final Template getFilenameTemplate()
    • getFilename

      public final String getFilename()
    • getFilenameTimezone

      public final ZoneId getFilenameTimezone()
    • getFilenameTimestampSource

      public final TimestampSource getFilenameTimestampSource()
    • getMaxRecordsPerFile

      public final int getMaxRecordsPerFile()
    • getOutputFields

      public List<OutputField> getOutputFields()