| Modifier and Type | Interface and Description |
|---|---|
static interface |
Configuration.ConfigBuilder<C extends Configuration,B extends Configuration.ConfigBuilder<C,B>>
The basic interface for configuration builders.
|
| Modifier and Type | Field and Description |
|---|---|
private Configuration |
CommonConnectorConfig.config |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
Configuration.Builder.build() |
static Configuration |
Configuration.empty()
Obtain an empty configuration.
|
default Configuration |
Configuration.filter(Predicate<? super String> matcher)
Return a new
Configuration that contains only the subset of keys that satisfy the given predicate. |
static Configuration |
Configuration.from(Map<String,?> properties)
Obtain a configuration instance by copying the supplied map of string keys and object values.
|
static <T> Configuration |
Configuration.from(Map<String,T> properties,
Function<T,String> conversion)
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, per
withSystemProperties(String). |
Configuration |
CommonConnectorConfig.getConfig()
Provides access to the "raw" config instance.
|
static Configuration |
Configuration.load(File file)
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 |
Configuration.load(Reader reader)
Obtain a configuration instance by loading the Properties from the supplied reader.
|
static Configuration |
Configuration.load(String path,
Class<?> clazz)
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 |
Configuration.load(URL url)
Obtain a configuration instance by loading the Properties from the supplied URL.
|
default Configuration |
Configuration.map(Function<String,String> mapper)
Return a new
Configuration 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 new
Configuration that contains the mapped values. |
default Configuration |
Configuration.subset(String prefix,
boolean removePrefix)
Return a new
Configuration that contains only the subset of keys that match the given prefix. |
default Configuration |
Configuration.withMasked(Pattern keyRegex)
Return a new
Configuration 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(String keyRegex)
Return a new
Configuration 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 new
Configuration 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 new
Configuration 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(Function<String,String> propertyNameConverter)
Return a copy of this configuration except where acceptable system properties are used to overwrite properties copied from
this configuration.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration.Builder |
Configuration.copy(Configuration config)
Create a new
configuration builder that starts with a copy of the supplied configuration. |
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.
|
(package private) static <T> T |
Instantiator.getInstance(String className,
Supplier<ClassLoader> classloaderSupplier,
Configuration configuration)
Instantiates the specified class either using the no-args constructor or the
constructor with a single parameter of type
Configuration, 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) |
boolean |
Field.validate(Configuration config,
Field.ValidationOutput problems)
Validate the supplied value for this field, and report any problems to the designated consumer.
|
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.
|
int |
Field.RangeValidator.validate(Configuration config,
Field field,
Field.ValidationOutput problems) |
int |
Field.EnumRecommender.validate(Configuration config,
Field field,
Field.ValidationOutput problems) |
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 the
ConfigValue for the field with the results. |
private static int |
CommonConnectorConfig.validateMaxQueueSize(Configuration config,
Field field,
Field.ValidationOutput problems) |
protected static int |
CommonConnectorConfig.validateServerNameIsDifferentFromHistoryTopicName(Configuration config,
Field field,
Field.ValidationOutput problems) |
List<Object> |
Field.Recommender.validValues(Field field,
Configuration config)
Return a set of recommended (and valid) values for the field given the current configuration values.
|
List<Object> |
Field.OneOfRecommender.validValues(Field field,
Configuration config) |
List<Object> |
Field.EnumRecommender.validValues(Field field,
Configuration config) |
List<Object> |
Field.InvisibleRecommender.validValues(Field field,
Configuration config) |
boolean |
Field.Recommender.visible(Field field,
Configuration config)
Set the visibility of the field given the current configuration values.
|
boolean |
Field.OneOfRecommender.visible(Field field,
Configuration config) |
boolean |
Field.EnumRecommender.visible(Field field,
Configuration config) |
boolean |
Field.InvisibleRecommender.visible(Field field,
Configuration config) |
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.
|
| Constructor and Description |
|---|
CommonConnectorConfig(Configuration config,
String logicalName,
int defaultSnapshotFetchSize) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ChangeEventSourceCoordinator |
BaseSourceTask.start(Configuration config)
Called once when starting this source task.
|
| Modifier and Type | Method and Description |
|---|---|
static Heartbeat |
Heartbeat.create(Configuration configuration,
String topicName,
String key)
Provide an instance of Heartbeat object
|
| Constructor and Description |
|---|
HeartbeatImpl(Configuration configuration,
String topicName,
String key) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JdbcConfiguration
A specialized configuration for the Debezium driver.
|
| Modifier and Type | Field and Description |
|---|---|
private Configuration |
JdbcConnection.config |
| Modifier and Type | Method and Description |
|---|---|
default Configuration |
JdbcConfiguration.withoutKnownFields()
Get a view of this configuration that does not contain the
known fields. |
| Modifier and Type | Method and Description |
|---|---|
static JdbcConfiguration |
JdbcConfiguration.adapt(Configuration config)
Obtain a
JdbcConfiguration adapter for the given Configuration. |
static JdbcConfiguration.Builder |
JdbcConfiguration.copy(Configuration config)
Create a new
configuration builder that starts with a copy of the supplied configuration. |
| Constructor and Description |
|---|
JdbcConnection(Configuration config,
JdbcConnection.ConnectionFactory connectionFactory)
Create a new instance with the given configuration and connection factory.
|
JdbcConnection(Configuration config,
JdbcConnection.ConnectionFactory connectionFactory,
JdbcConnection.Operations initialOperations)
Create a new instance with the given configuration and connection factory, and specify the operations that should be
run against each newly-established connection.
|
JdbcConnection(Configuration config,
JdbcConnection.ConnectionFactory connectionFactory,
JdbcConnection.Operations initialOperations,
Consumer<Configuration.Builder> adapter)
Create a new instance with the given configuration and connection factory, and specify the operations that should be
run against each newly-established connection.
|
| Modifier and Type | Method and Description |
|---|---|
private static int |
RelationalDatabaseConnectorConfig.validateMessageKeyColumnsField(Configuration config,
Field field,
Field.ValidationOutput problems) |
private static int |
RelationalDatabaseConnectorConfig.validateSchemaBlacklist(Configuration config,
Field field,
Field.ValidationOutput problems) |
private static int |
RelationalDatabaseConnectorConfig.validateTableBlacklist(Configuration config,
Field field,
Field.ValidationOutput problems) |
| Constructor and Description |
|---|
HistorizedRelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
boolean useCatalogBeforeSchema) |
HistorizedRelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
Selectors.TableIdToStringMapper tableIdMapper,
boolean useCatalogBeforeSchema) |
RelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
Selectors.TableIdToStringMapper tableIdMapper,
int defaultSnapshotFetchSize) |
RelationalTableFilters(Configuration config,
Tables.TableFilter systemTablesFilter,
Selectors.TableIdToStringMapper tableIdMapper) |
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
AbstractDatabaseHistory.config |
private Configuration |
KafkaDatabaseHistory.consumerConfig |
private Configuration |
KafkaDatabaseHistory.producerConfig |
| Modifier and Type | Method and Description |
|---|---|
void |
KafkaDatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema) |
void |
FileDatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema) |
void |
DatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema)
Configure this instance.
|
void |
AbstractDatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnMappers |
ColumnMappers.create(Configuration config)
Builds a new
ColumnMappers instance based on the given configuration. |
default 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 |
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 |
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.
|
| Modifier and Type | Method and Description |
|---|---|
private static int |
JsonSerdeConfig.isEnvelopeFieldName(Configuration config,
Field field,
Field.ValidationOutput problems) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
SmtManager(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
private static int |
EventRouterConfigDefinition.isListOfStringPairs(Configuration config,
Field field,
Field.ValidationOutput problems) |
(package private) static List<EventRouterConfigDefinition.AdditionalField> |
EventRouterConfigDefinition.parseAdditionalFieldsConfig(Configuration config) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.