A JDBC connector connects Kafka Connect with a database, using JDBC to import table rows into Kafka or support database writes through a sink connector. A source connector uses mode to detect changes and topic.prefix to map each table to a Kafka topic. section 5.3
Configure a JDBC source connector with:
- connector.class, connection.url, username, and password for connector identity and database access. section 5.3
- mode and timestamp.column.name to select rows whose tracked timestamp is newer than the previous import. section 5.3
- A converter and serialization settings, allowing formats such as JSON or Protobuf to vary by connector. section 5.3
PostgreSQL source configuration
A REST API request starts a connector against PostgreSQL with timestamp mode, the ts column, a postgres_ topic prefix, JSON values without schemas, and one task. section 5.3
Figure 5.2 Connect converter changes the data format before the data gets into Kafka or after it leaves Kafka.
Trace where a converter changes data format before it enters Kafka or after it leaves Kafka. section 5.3

