name | true | No default | Unique name for the connector. Attempting to register again with the same name will fail. (This property is required by all Kafka Connect connectors.) |
connector.class | true | No default | The name of the Java class for the connector. Always use a value of io.debezium.connector.mysql.MySqlConnector for the MySQL connector. |
database.hostname | true | No default | The address of the MySQL database server. |
database.port | true | 3306 | The port number of the MySQL database server. |
database.user | true | No default | The name of the MySQL database user to be used when connecting to the database. |
database.password | true | No default | The password to be used when connecting to the database. |
database.server.id | true | No default | A numeric ID for the database server. This ID must be unique among all database servers in the same cluster. |
topic.prefix | true | No default | A logical name for the database server. This name is used as a prefix for all Kafka topics that receive records from this connector. |
schema.history.internal.kafka.topic | true | No default | The full name of the Kafka topic where the connector stores the database schema history. |
schema.history.internal.kafka.bootstrap.servers | true | No default | A list of host/port pairs that the connector uses for establishing an initial connection to the Kafka cluster |
field.name.adjustment.mode | false | No default | Specifies how field names should be adjusted for compatibility with the message converter used by the connector. |
schema.name.adjustment.mode | false | No default | Specifies how the connector adjusts schema names for compatibility with the message converter used by the connector. |
bigint.unsigned.handling.mode | false | long | Specifies how the connector represents BIGINT UNSIGNED columns in change events. |
binary.handling.mode | false | bytes | Specifies how the connector represents values for binary columns, such as, blob, binary, varbinary, in change events. |
column.exclude.list | false | empty string | An optional, comma-separated list of regular expressions that match the fully-qualified names of columns to exclude from change event record values. Other columns in the source record are captured as usual. Fully-qualified names for columns are of the form databaseName.tableName.columnName. |
column.include.list | false | empty string | An optional, comma-separated list of regular expressions that match the fully-qualified names of columns to include in change event record values. Other columns are omitted from the event record. Fully-qualified names for columns are of the form databaseName.tableName.columnName. |
column.mask.hash.v2.hashAlgorithm.with.salt.salt | false | No default | An optional, comma-separated list of regular expressions that match the fully-qualified names of character-based columns. Fully-qualified names for columns are of the form [databaseName].[tableName].[columnName]. |
column.mask.with.length.chars | false | No default | An optional, comma-separated list of regular expressions that match the fully-qualified names of character-based columns. |
column.propagate.source.type | false | No default | An optional, comma-separated list of regular expressions that match the fully-qualified names of columns for which you want the connector to emit extra parameters that represent column metadata. |
column.truncate.to.length.chars | false | No default | An optional, comma-separated list of regular expressions that match the fully-qualified names of character-based columns. Set this property if you want to truncate the data in a set of columns when it exceeds the number of characters specified by the length in the property name. Set length to a positive integer value, for example, column.truncate.to.20.chars. |
connect.timeout.ms | false | 30 | A positive integer value that specifies the maximum time in milliseconds that the connector waits to establish a connection to the [connector-name] database server before the connection request times out. |
database.exclude.list | false | empty string | An optional comma-separated list of regular expressions that match database names to be excluded from monitoring. |
database.include.list | false | empty string | An optional comma-separated list of regular expressions that match database names to be monitored. |
decimal.handling.mode | false | precise | Specifies how the connector handles values for DECIMAL and NUMERIC columns in change events. |
gtid.source.excludes | false | No default | A comma-separated list of regular expressions that match source domain IDs in the GTID set that the connector uses to find the binlog position on the [connector-name] server. |
gtid.source.includes | false | No default | A comma-separated list of regular expressions that match source domain IDs in the GTID set used that the connector uses to find the binlog position on the [connector-name] server. |
include.query | false | false | Boolean value that specifies whether the change event that the connector emits includes the SQL query that generated the change. |
include.schema.changes | false | true | Boolean value that specifies whether the connector publishes changes in the database schema to a Kafka topic with the same name as the topic prefix. |
include.schema.comments | false | false | Boolean value that specifies whether the connector parses and publishes table and column comments on metadata objects. |
inconsistent.schema.handling.mode | false | fail | Specifies how the connector responds to binlog events that refer to tables that are not present in the internal schema representation. That is, the internal representation is not consistent with the database. |
message.key.columns | false | No default | A list of expressions that specify the columns that the connector uses to form custom message keys for change event records that it publishes to the Kafka topics for specified tables. |
skip.messages.without.change | false | false | Specifies whether the connector emits messages for records when it does not detect a change in the included columns. |
table.exclude.list | false | empty string | An optional comma-separated list of regular expressions that match fully-qualified table names to be excluded from monitoring. |
table.include.list | false | empty string | An optional comma-separated list of regular expressions that match fully-qualified table names to be monitored. |
time.precision.mode | false | adaptive_time_microseconds | Specifies the type of precision that the connector uses to represent time, date, and timestamps values. |
tombstones.on.delete | false | true | Specifies whether a delete event is followed by a tombstone event. After a source record is deleted, the connector can emit a tombstone event (the default behavior) to enable Kafka to completely delete all events that pertain to the key of the deleted row in case [link-kafka-docs]/#compaction[log compaction] is enabled for the topic. |