@UriParams
public class SqlServerConnectorEmbeddedDebeziumConfiguration
extends org.apache.camel.component.debezium.configuration.EmbeddedDebeziumConfiguration
| Constructor and Description |
|---|
SqlServerConnectorEmbeddedDebeziumConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected Class |
configureConnectorClass() |
protected io.debezium.config.Configuration |
createConnectorConfiguration() |
String |
getColumnBlacklist() |
String |
getConnectorDatabaseType() |
String |
getDatabaseDbname() |
String |
getDatabaseHistory() |
String |
getDatabaseHistoryFileFilename() |
String |
getDatabaseHistoryKafkaBootstrapServers() |
int |
getDatabaseHistoryKafkaRecoveryAttempts() |
int |
getDatabaseHistoryKafkaRecoveryPollIntervalMs() |
String |
getDatabaseHistoryKafkaTopic() |
String |
getDatabaseHostname() |
String |
getDatabasePassword() |
int |
getDatabasePort() |
String |
getDatabaseServerName() |
String |
getDatabaseServerTimezone() |
String |
getDatabaseUser() |
String |
getDecimalHandlingMode() |
String |
getEventProcessingFailureHandlingMode() |
int |
getHeartbeatIntervalMs() |
String |
getHeartbeatTopicsPrefix() |
int |
getMaxBatchSize() |
int |
getMaxQueueSize() |
String |
getMessageKeyColumns() |
long |
getPollIntervalMs() |
long |
getSnapshotDelayMs() |
int |
getSnapshotFetchSize() |
long |
getSnapshotLockTimeoutMs() |
String |
getSnapshotMode() |
String |
getSnapshotSelectStatementOverrides() |
String |
getSourceStructVersion() |
String |
getTableBlacklist() |
String |
getTableWhitelist() |
String |
getTimePrecisionMode() |
boolean |
isProvideTransactionMetadata() |
boolean |
isTableIgnoreBuiltin() |
boolean |
isTombstonesOnDelete() |
void |
setColumnBlacklist(String columnBlacklist)
Description is not available here, please check Debezium website for
corresponding key 'column.blacklist' description.
|
void |
setDatabaseDbname(String databaseDbname)
The name of the database the connector should be monitoring.
|
void |
setDatabaseHistory(String databaseHistory)
The name of the DatabaseHistory class that should be used to store and
recover database schema changes.
|
void |
setDatabaseHistoryFileFilename(String databaseHistoryFileFilename)
The path to the file that will be used to record the database history
|
void |
setDatabaseHistoryKafkaBootstrapServers(String databaseHistoryKafkaBootstrapServers)
A list of host/port pairs that the connector will use for establishing
the initial connection to the Kafka cluster for retrieving database
schema history previously stored by the connector.
|
void |
setDatabaseHistoryKafkaRecoveryAttempts(int databaseHistoryKafkaRecoveryAttempts)
The number of attempts in a row that no data are returned from Kafka
before recover completes.
|
void |
setDatabaseHistoryKafkaRecoveryPollIntervalMs(int databaseHistoryKafkaRecoveryPollIntervalMs)
The number of milliseconds to wait while polling for persisted data
during recovery.
|
void |
setDatabaseHistoryKafkaTopic(String databaseHistoryKafkaTopic)
The name of the topic for the database schema history
|
void |
setDatabaseHostname(String databaseHostname)
Resolvable hostname or IP address of the SQL Server database server.
|
void |
setDatabasePassword(String databasePassword)
Password of the SQL Server database user to be used when connecting to
the database.
|
void |
setDatabasePort(int databasePort)
Port of the SQL Server database server.
|
void |
setDatabaseServerName(String databaseServerName)
Unique name that identifies the database server and all recorded offsets,
and that is used as a prefix for all schemas and topics.
|
void |
setDatabaseServerTimezone(String databaseServerTimezone)
The timezone of the server used to correctly shift the commit transaction
timestamp on the client sideOptions include: Any valid Java ZoneId
|
void |
setDatabaseUser(String databaseUser)
Name of the SQL Server database user to be used when connecting to the
database.
|
void |
setDecimalHandlingMode(String decimalHandlingMode)
Specify how DECIMAL and NUMERIC columns should be represented in change
events, including:'precise' (the default) uses java.math.BigDecimal to
represent values, which are encoded in the change events using a binary
representation and Kafka Connect's
'org.apache.kafka.connect.data.Decimal' type; 'string' uses string to
represent values; 'double' represents values using Java's 'double', which
may not offer the precision but will be far easier to use in consumers.
|
void |
setEventProcessingFailureHandlingMode(String eventProcessingFailureHandlingMode)
Specify how failures during processing of events (i.e.
|
void |
setHeartbeatIntervalMs(int heartbeatIntervalMs)
Length of an interval in milli-seconds in in which the connector
periodically sends heartbeat messages to a heartbeat topic.
|
void |
setHeartbeatTopicsPrefix(String heartbeatTopicsPrefix)
The prefix that is used to name heartbeat topics.Defaults to
__debezium-heartbeat.
|
void |
setMaxBatchSize(int maxBatchSize)
Maximum size of each batch of source records.
|
void |
setMaxQueueSize(int maxQueueSize)
Maximum size of the queue for change events read from the database log
but not yet recorded or forwarded.
|
void |
setMessageKeyColumns(String messageKeyColumns)
A semicolon-separated list of expressions that match fully-qualified
tables and column(s) to be used as message key.
|
void |
setPollIntervalMs(long pollIntervalMs)
Frequency in milliseconds to wait for new change events to appear after
receiving no events.
|
void |
setProvideTransactionMetadata(boolean provideTransactionMetadata)
Enables transaction metadata extraction together with event counting
|
void |
setSnapshotDelayMs(long snapshotDelayMs)
The number of milliseconds to delay before a snapshot will begin.
|
void |
setSnapshotFetchSize(int snapshotFetchSize)
The maximum number of records that should be loaded into memory while
performing a snapshot
|
void |
setSnapshotLockTimeoutMs(long snapshotLockTimeoutMs)
The maximum number of millis to wait for table locks at the beginning of
a snapshot.
|
void |
setSnapshotMode(String snapshotMode)
The criteria for running a snapshot upon startup of the connector.
|
void |
setSnapshotSelectStatementOverrides(String snapshotSelectStatementOverrides)
This property contains a comma-separated list of fully-qualified tables
(DB_NAME.TABLE_NAME) or (SCHEMA_NAME.TABLE_NAME), depending on
thespecific connectors .
|
void |
setSourceStructVersion(String sourceStructVersion)
A version of the format of the publicly visible source part in the
message
|
void |
setTableBlacklist(String tableBlacklist)
Description is not available here, please check Debezium website for
corresponding key 'table.blacklist' description.
|
void |
setTableIgnoreBuiltin(boolean tableIgnoreBuiltin)
Flag specifying whether built-in tables should be ignored.
|
void |
setTableWhitelist(String tableWhitelist)
The tables for which changes are to be captured
|
void |
setTimePrecisionMode(String timePrecisionMode)
Time, date, and timestamps can be represented with different kinds of
precisions, including:'adaptive' (the default) bases the precision of
time, date, and timestamp values on the database column's precision;
'adaptive_time_microseconds' like 'adaptive' mode, but TIME fields always
use microseconds precision;'connect' always represents time, date, and
timestamp values using Kafka Connect's built-in representations for Time,
Date, and Timestamp, which uses millisecond precision regardless of the
database columns' precision .
|
void |
setTombstonesOnDelete(boolean tombstonesOnDelete)
Whether delete operations should be represented by a delete event and a
subsquenttombstone event (true) or only by a delete event (false).
|
protected org.apache.camel.component.debezium.configuration.ConfigurationValidation |
validateConnectorConfiguration() |
addPropertyIfNotNull, addPropertyIfNotNull, createDebeziumConfiguration, getAdditionalProperties, getConnectorClass, getInternalKeyConverter, getInternalValueConverter, getName, getOffsetCommitPolicy, getOffsetCommitTimeoutMs, getOffsetFlushIntervalMs, getOffsetStorage, getOffsetStorageFileName, getOffsetStoragePartitions, getOffsetStorageReplicationFactor, getOffsetStorageTopic, isFieldValueNotSet, setAdditionalProperties, setConnectorClass, setInternalKeyConverter, setInternalValueConverter, setName, setOffsetCommitPolicy, setOffsetCommitTimeoutMs, setOffsetFlushIntervalMs, setOffsetStorage, setOffsetStorageFileName, setOffsetStoragePartitions, setOffsetStorageReplicationFactor, setOffsetStorageTopic, validateConfigurationpublic SqlServerConnectorEmbeddedDebeziumConfiguration()
public void setMessageKeyColumns(String messageKeyColumns)
public String getMessageKeyColumns()
public void setMaxQueueSize(int maxQueueSize)
public int getMaxQueueSize()
public void setDatabaseHistoryKafkaTopic(String databaseHistoryKafkaTopic)
public String getDatabaseHistoryKafkaTopic()
public void setColumnBlacklist(String columnBlacklist)
public String getColumnBlacklist()
public void setSnapshotDelayMs(long snapshotDelayMs)
public long getSnapshotDelayMs()
public void setDatabaseHistoryKafkaRecoveryAttempts(int databaseHistoryKafkaRecoveryAttempts)
public int getDatabaseHistoryKafkaRecoveryAttempts()
public void setTableBlacklist(String tableBlacklist)
public String getTableBlacklist()
public void setProvideTransactionMetadata(boolean provideTransactionMetadata)
public boolean isProvideTransactionMetadata()
public void setTableWhitelist(String tableWhitelist)
public String getTableWhitelist()
public void setDatabaseServerTimezone(String databaseServerTimezone)
public String getDatabaseServerTimezone()
public void setTombstonesOnDelete(boolean tombstonesOnDelete)
public boolean isTombstonesOnDelete()
public void setDecimalHandlingMode(String decimalHandlingMode)
public String getDecimalHandlingMode()
public void setDatabaseHistoryKafkaRecoveryPollIntervalMs(int databaseHistoryKafkaRecoveryPollIntervalMs)
public int getDatabaseHistoryKafkaRecoveryPollIntervalMs()
public void setPollIntervalMs(long pollIntervalMs)
public long getPollIntervalMs()
public void setHeartbeatTopicsPrefix(String heartbeatTopicsPrefix)
public String getHeartbeatTopicsPrefix()
public void setTableIgnoreBuiltin(boolean tableIgnoreBuiltin)
public boolean isTableIgnoreBuiltin()
public void setSnapshotFetchSize(int snapshotFetchSize)
public int getSnapshotFetchSize()
public void setSnapshotLockTimeoutMs(long snapshotLockTimeoutMs)
public long getSnapshotLockTimeoutMs()
public void setDatabaseHistoryFileFilename(String databaseHistoryFileFilename)
public String getDatabaseHistoryFileFilename()
public void setDatabaseDbname(String databaseDbname)
public String getDatabaseDbname()
public void setDatabaseUser(String databaseUser)
public String getDatabaseUser()
public void setSnapshotSelectStatementOverrides(String snapshotSelectStatementOverrides)
public String getSnapshotSelectStatementOverrides()
public void setDatabaseHistoryKafkaBootstrapServers(String databaseHistoryKafkaBootstrapServers)
public String getDatabaseHistoryKafkaBootstrapServers()
public void setTimePrecisionMode(String timePrecisionMode)
public String getTimePrecisionMode()
public void setDatabaseServerName(String databaseServerName)
public String getDatabaseServerName()
public void setHeartbeatIntervalMs(int heartbeatIntervalMs)
public int getHeartbeatIntervalMs()
public void setSourceStructVersion(String sourceStructVersion)
public String getSourceStructVersion()
public void setEventProcessingFailureHandlingMode(String eventProcessingFailureHandlingMode)
public String getEventProcessingFailureHandlingMode()
public void setDatabasePort(int databasePort)
public int getDatabasePort()
public void setDatabaseHostname(String databaseHostname)
public String getDatabaseHostname()
public void setDatabasePassword(String databasePassword)
public String getDatabasePassword()
public void setMaxBatchSize(int maxBatchSize)
public int getMaxBatchSize()
public void setSnapshotMode(String snapshotMode)
public String getSnapshotMode()
public void setDatabaseHistory(String databaseHistory)
public String getDatabaseHistory()
protected io.debezium.config.Configuration createConnectorConfiguration()
createConnectorConfiguration in class org.apache.camel.component.debezium.configuration.EmbeddedDebeziumConfigurationprotected Class configureConnectorClass()
configureConnectorClass in class org.apache.camel.component.debezium.configuration.EmbeddedDebeziumConfigurationprotected org.apache.camel.component.debezium.configuration.ConfigurationValidation validateConnectorConfiguration()
validateConnectorConfiguration in class org.apache.camel.component.debezium.configuration.EmbeddedDebeziumConfigurationpublic String getConnectorDatabaseType()
getConnectorDatabaseType in class org.apache.camel.component.debezium.configuration.EmbeddedDebeziumConfigurationApache Camel