JDBC
The standard Java interface for talking to relational databases.
In more detail
The JDBC source connector polls tables with queries to copy new rows into Kafka, and the JDBC sink connector writes topic records into tables. Polling misses deletes, which is why change data capture from the database log is often preferred.
Related terms
- Kafka Connect — The Kafka framework for running connectors that copy data between Kafka and other systems without writing custom code.
- change data capture — Reading every insert, update and delete from a database's own change log and turning them into a stream of events.
- Debezium — An open-source change data capture platform that reads database change logs and publishes each change as an event to Kafka.
Taught in
- Twelve Lines Instead Of Four Hundred — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep