Uses of Interface
io.debezium.config.Configuration
Package
Description
-
Uses of Configuration in io.debezium.config
Modifier and TypeInterfaceDescriptionstatic interface
Configuration.ConfigBuilder<C extends Configuration,
B extends Configuration.ConfigBuilder<C, B>> The basic interface for configuration builders.Modifier and TypeMethodDescriptionConfiguration.Builder.build()
static Configuration
Configuration.empty()
Obtain an empty configuration.default Configuration
Return a newConfiguration
that contains only the subset of keys that satisfy the given predicate.static Configuration
Obtain a configuration instance by copying the supplied map of string keys and object values.static <T> Configuration
Obtain a configuration instance by copying the supplied map of string keys and object values.static Configuration
Configuration.from
(Properties properties) Obtain a configuration instance by copying the supplied Properties object.static Configuration
Configuration.fromSystemProperties
(String prefix) Create a Configuration object that is populated by system properties, perwithSystemProperties(String)
.CommonConnectorConfig.getConfig()
Deprecated.static Configuration
Obtain a configuration instance by loading the Properties from the supplied file.static Configuration
Configuration.load
(InputStream stream) Obtain a configuration instance by loading the Properties from the supplied stream.static Configuration
Obtain a configuration instance by loading the Properties from the supplied reader.static Configuration
Obtain a configuration instance by loading the Properties from a file on the file system or classpath given by the supplied path.static Configuration
Configuration.load
(String path, ClassLoader classLoader) Obtain a configuration instance by loading the Properties from a file on the file system or classpath given by the supplied path.static Configuration
Configuration.load
(String path, ClassLoader classLoader, Consumer<String> logger) Obtain a configuration instance by loading the Properties from a file on the file system or classpath given by the supplied path.static Configuration
Obtain a configuration instance by loading the Properties from the supplied URL.default Configuration
Return a newConfiguration
that contains only the subset of keys that satisfy the given predicate.default Configuration
Configuration.mapped
(BiFunction<? super String, ? super String, String> mapper) Return a newConfiguration
that contains the mapped values.default Configuration
Configuration.merge
(Configuration... configs) Return a newConfiguration
that merges severalConfiguration
s into one.default Configuration
Return a newConfiguration
that contains only the subset of keys that match the given prefix.default Configuration
Configuration.withMasked
(String keyRegex) Return a newConfiguration
that contains all of the same fields as this configuration, except with masked values for all keys that match the specified pattern.default Configuration
Configuration.withMasked
(Pattern keyRegex) Return a newConfiguration
that contains all of the same fields as this configuration, except with masked values for all keys that match the specified pattern.default Configuration
Configuration.withMaskedPasswords()
Return a newConfiguration
that contains all of the same fields as this configuration, except with masked values for all keys that end in "password".default Configuration
Configuration.withReplacedVariables
(Function<String, String> valuesByVariableName) Return a newConfiguration
that contains all of the same fields as this configuration, except with all variables in the fields replaced with values from the supplied function.default Configuration
Configuration.withSystemProperties
(String prefix) Return a copy of this configuration except where acceptable system properties are used to overwrite properties copied from this configuration.default Configuration
Configuration.withSystemProperties
(Function<String, String> propertyNameConverter) Return a copy of this configuration except where acceptable system properties are used to overwrite properties copied from this configuration.Modifier and TypeMethodDescriptionstatic Configuration.Builder
Configuration.copy
(Configuration config) Create a newconfiguration builder
that starts with a copy of the supplied configuration.private static EnumSet<Envelope.Operation>
CommonConnectorConfig.determineSkippedOperations
(Configuration config) default <T> T
Configuration.getInstance
(Field field, Class<T> clazz, Configuration configuration) Get an instance of the class given by the value in the configuration associated with the given field.default <T> T
Configuration.getInstance
(String key, Class<T> clazz, Configuration configuration) Get an instance of the class given by the value in the configuration associated with the given key.static <T> T
Instantiator.getInstance
(String className, Configuration configuration) Instantiates the specified class either using the no-args constructor or the constructor with a single parameter of typeConfiguration
, if a configuration object is passed.static int
Field.isBoolean
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isClassName
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isDouble
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isInteger
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isListOfRegex
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isLong
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isNonNegativeInteger
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isNonNegativeLong
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isOptional
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isPositiveInteger
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isPositiveLong
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isRegex
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isRequired
(Configuration config, Field field, Field.ValidationOutput problems) static int
Field.isShort
(Configuration config, Field field, Field.ValidationOutput problems) private static boolean
CommonConnectorConfig.isUsingAvroConverter
(Configuration config) static int
Field.isZoneOffset
(Configuration config, Field field, Field.ValidationOutput problems) default Configuration
Configuration.merge
(Configuration... configs) Return a newConfiguration
that merges severalConfiguration
s into one.int
Field.EnumRecommender.validate
(Configuration config, Field field, Field.ValidationOutput problems) int
Field.RangeValidator.validate
(Configuration config, Field field, Field.ValidationOutput problems) boolean
Field.validate
(Configuration config, Field.ValidationOutput problems) Validate the supplied value for this field, and report any problems to the designated consumer.protected void
Field.validate
(Configuration config, Function<String, Field> fieldSupplier, Map<String, org.apache.kafka.common.config.ConfigValue> results) Validate this field in the supplied configuration, updating theConfigValue
for the field with the results.int
Field.Validator.validate
(Configuration config, Field field, Field.ValidationOutput problems) Validate the supplied value for the field, and report any problems to the designated consumer.private static int
CommonConnectorConfig.validateMaxQueueSize
(Configuration config, Field field, Field.ValidationOutput problems) protected static int
CommonConnectorConfig.validateSkippedOperation
(Configuration config, Field field, Field.ValidationOutput problems) static int
CommonConnectorConfig.validateTopicName
(Configuration config, Field field, Field.ValidationOutput problems) Field.EnumRecommender.validValues
(Field field, Configuration config) Field.InvisibleRecommender.validValues
(Field field, Configuration config) Field.OneOfRecommender.validValues
(Field field, Configuration config) Field.Recommender.validValues
(Field field, Configuration config) Return a set of recommended (and valid) values for the field given the current configuration values.boolean
Field.EnumRecommender.visible
(Field field, Configuration config) boolean
Field.InvisibleRecommender.visible
(Field field, Configuration config) boolean
Field.OneOfRecommender.visible
(Field field, Configuration config) boolean
Field.Recommender.visible
(Field field, Configuration config) Set the visibility of the field given the current configuration values.default B
Configuration.ConfigBuilder.with
(Configuration other) Add all of the fields in the supplied Configuration object.default B
Configuration.ConfigBuilder.withDefault
(Configuration other) If any of the fields in the supplied Configuration object do not exist, then add them.ModifierConstructorDescriptionprotected
CommonConnectorConfig
(Configuration config, int defaultSnapshotFetchSize) -
Uses of Configuration in io.debezium.connector.common
Modifier and TypeMethodDescriptionprotected Configuration
BaseSourceTask.withMaskedSensitiveOptions
(Configuration config) Modifier and TypeMethodDescriptionprotected abstract ChangeEventSourceCoordinator<P,
O> BaseSourceTask.start
(Configuration config) Called when starting this source task.RelationalBaseSourceConnector.validateAllFields
(Configuration config) protected abstract void
RelationalBaseSourceConnector.validateConnection
(Map<String, org.apache.kafka.common.config.ConfigValue> configValues, Configuration config) Validates connection to database.protected Configuration
BaseSourceTask.withMaskedSensitiveOptions
(Configuration config) -
Uses of Configuration in io.debezium.jdbc
Modifier and TypeInterfaceDescriptioninterface
A specialized configuration for the Debezium driver.Modifier and TypeMethodDescriptiondefault Configuration
JdbcConfiguration.withoutKnownFields()
Get a view of this configuration that does not contain theknown fields
.Modifier and TypeMethodDescriptionstatic JdbcConfiguration
JdbcConfiguration.adapt
(Configuration config) Obtain aJdbcConfiguration
adapter for the givenConfiguration
.static JdbcConfiguration.Builder
JdbcConfiguration.copy
(Configuration config) Create a newconfiguration builder
that starts with a copy of the supplied configuration. -
Uses of Configuration in io.debezium.relational
Modifier and TypeMethodDescriptionprivate static int
RelationalDatabaseConnectorConfig.validateColumnExcludeList
(Configuration config, Field field, Field.ValidationOutput problems) private static int
RelationalDatabaseConnectorConfig.validateDatabaseExcludeList
(Configuration config, Field field, Field.ValidationOutput problems) private static int
RelationalDatabaseConnectorConfig.validateHostname
(Configuration config, Field field, Field.ValidationOutput problems) private static int
RelationalDatabaseConnectorConfig.validateMessageKeyColumnsField
(Configuration config, Field field, Field.ValidationOutput problems) private static int
RelationalDatabaseConnectorConfig.validateSchemaExcludeList
(Configuration config, Field field, Field.ValidationOutput problems) private static int
RelationalDatabaseConnectorConfig.validateTableBlacklist
(Configuration config, Field field, Field.ValidationOutput problems) private static int
RelationalDatabaseConnectorConfig.validateTableExcludeList
(Configuration config, Field field, Field.ValidationOutput problems) ModifierConstructorDescriptionprotected
HistorizedRelationalDatabaseConnectorConfig
(Class<? extends org.apache.kafka.connect.source.SourceConnector> connectorClass, Configuration config, Tables.TableFilter systemTablesFilter, boolean useCatalogBeforeSchema, int defaultSnapshotFetchSize, ColumnFilterMode columnFilterMode, boolean multiPartitionMode) protected
HistorizedRelationalDatabaseConnectorConfig
(Class<? extends org.apache.kafka.connect.source.SourceConnector> connectorClass, Configuration config, Tables.TableFilter systemTablesFilter, Selectors.TableIdToStringMapper tableIdMapper, boolean useCatalogBeforeSchema, ColumnFilterMode columnFilterMode, boolean multiPartitionMode) protected
RelationalDatabaseConnectorConfig
(Configuration config, Tables.TableFilter systemTablesFilter, Selectors.TableIdToStringMapper tableIdMapper, int defaultSnapshotFetchSize, ColumnFilterMode columnFilterMode, boolean useCatalogBeforeSchema) RelationalTableFilters
(Configuration config, Tables.TableFilter systemTablesFilter, Selectors.TableIdToStringMapper tableIdMapper, boolean useCatalogBeforeSchema) -
Uses of Configuration in io.debezium.relational.history
Modifier and TypeMethodDescriptionvoid
AbstractSchemaHistory.configure
(Configuration config, HistoryRecordComparator comparator, SchemaHistoryListener listener, boolean useCatalogBeforeSchema) void
SchemaHistory.configure
(Configuration config, HistoryRecordComparator comparator, SchemaHistoryListener listener, boolean useCatalogBeforeSchema) Configure this instance. -
Uses of Configuration in io.debezium.relational.mapping
Modifier and TypeMethodDescriptiondefault void
ColumnMapper.initialize
(Configuration config) Initialize the ColumnMapper instance based upon the connector's configuration.protected static ColumnMapper
ColumnMappers.instantiateMapper
(Class<ColumnMapper> clazz, Configuration config) ColumnMappers.Builder.map
(String fullyQualifiedColumnNames, Class<ColumnMapper> mapperClass, Configuration config) Set a mapping function for the columns with fully-qualified names that match the given comma-separated list of regular expression patterns.ColumnMappers.Builder.map
(String fullyQualifiedColumnNames, String mapperClassName, Configuration config) Set a mapping function for the columns with fully-qualified names that match the given comma-separated list of regular expression patterns. -
Uses of Configuration in io.debezium.schema
Modifier and TypeMethodDescriptionprivate static int
AbstractRegexTopicNamingStrategy.validateKeyFieldReplacement
(Configuration config, Field field, Field.ValidationOutput problems) If TOPIC_KEY_FIELD_REGEX has a value that is really a regex, then the TOPIC_KEY_FIELD_REPLACEMENT must be a non-empty value.private static int
AbstractRegexTopicNamingStrategy.validateTopicReplacement
(Configuration config, Field field, Field.ValidationOutput problems) If TOPIC_REGEX has a value that is really a regex, then the TOPIC_REPLACEMENT must be a non-empty value. -
Uses of Configuration in io.debezium.serde.json
Modifier and TypeMethodDescriptionprivate static int
JsonSerdeConfig.isEnvelopeFieldName
(Configuration config, Field field, Field.ValidationOutput problems) -
Uses of Configuration in io.debezium.transforms
Modifier and TypeMethodDescriptionvoid
SmtManager.validate
(Configuration configuration, Field.Set fields) Validates the suppliedConfiguration
based on the given fields and throws an exception in the event that there are any validation errors.private static int
ByLogicalTableRouter.validateKeyFieldReplacement
(Configuration config, Field field, Field.ValidationOutput problems) If KEY_FIELD_REGEX has a value that is really a regex, then the KEY_FIELD_REPLACEMENT must be a non-empty value. -
Uses of Configuration in io.debezium.transforms.outbox
Modifier and TypeMethodDescriptionstatic int
AdditionalFieldsValidator.isListOfStringPairs
(Configuration config, Field field, Field.ValidationOutput problems) (package private) static List<EventRouterConfigDefinition.AdditionalField>
EventRouterConfigDefinition.parseAdditionalFieldsConfig
(Configuration config) -
Uses of Configuration in io.debezium.transforms.partitions
Modifier and TypeMethodDescriptionstatic int
ComputePartitionConfigDefinition.isValidMapping
(Configuration config, Field field, Field.ValidationOutput problems)