The Aiven JDBC Kafka Connect Sink connector.
connection.url
for your database.Property | Required | Default | Description |
---|---|---|---|
connection.url | true | JDBC connection URL. | |
connection.user | true | null | JDBC connection user. |
connection.password | true | null | JDBC connection password. |
db.timezone | false | UTC | Name of the JDBC timezone that should be used in the connector when querying with time-based criteria. Defaults to UTC. |
dialect.name | false | "" | The name of the database dialect that should be used for this connector. By default this is empty, and the connector automatically determines the dialect based upon the JDBC connection URL. Use this if you want to override that behavior and use a specific dialect. All properly-packaged dialects in the JDBC connector plugin can be used. |
sql.quote.identifiers | false | true | Whether to delimit (in most databases, quote with double quotes) identifiers (e.g., table names and column names) in SQL statements. |
insert.mode | true | insert | The insertion mode to use. Supported modes are: insert , multi , upsert , update . |
batch.size | false | 3000 | Specifies how many records to attempt to batch together for insertion into the destination table, when possible. |
delete.enabled | false | false | Enable deletion of rows based on tombstone messages. |
table.name.format | false | ${topic} | A format string for the destination table name, which may contain ${topic} as a placeholder for the originating topic name. |
table.name.normalize | false | false | Whether or not to normalize destination table names for topics. |
topics.to.tables.mapping | false | null | Kafka topics to database tables mapping. |
pk.mode | true | none | The primary key mode. Supported modes are: none , kafka , record_key , record_value . |
pk.fields | false | "" | List of comma-separated primary key field names. |
fields.whitelist | false | "" | List of comma-separated record value field names. |
auto.create | false | false | Whether to automatically create the destination table based on record schema if it is found to be missing. |
auto.evolve | false | false | Whether to automatically add columns in the table schema when found to be missing relative to the record schema. |
max.retries | false | 10 | The maximum number of times to retry on errors before failing the task. |
retry.backoff.ms | false | 3000 | The time in milliseconds to wait following an error before a retry attempt is made. |