Kafka Connect in Action: JDBC Sink
This is a walkthrough of configuring #ApacheKafka #KafkaConnect to stream data from #ApacheKafka to a #database such as #MySQL.
It discusses common errors, how to place the #JDBC driver JAR correctly, how to deal with deserialisation, and how to use ksqlDB to apply a schema to schema-less data.
See https://rmoff.dev/kafka-to-jdbc for code and details.
🚨 *NOTE* How ksqlDB deals with keys changed in v0.10 (this video shows 0.8). See https://www.confluent.io/blog/ksqldb-0-10-updates-key-columns for details
Table of contents:
* 00:00 Introduction
* 0:44 Populating some data into a test topic
* 2:55 Creating the JDBC Sink
* 4:47 Putting the JDBC driver in the correct place
* 7:45 JDBC Sink connector in action
* 8:52 Debugging the JDBC Sink connector
* 10:27 INSERT vs UPSERT
* 12:26 Dropping fields, adding metadata
* 14:32 Evolving the target table schema
* 16:21 JDBC Sink and schemas
* 18:18 Working with JSON data and the JDBC Sink
* 28:03 Applying a schema to JSON data with ksqlDB
* 34:01 Working with CSV data and the JDBC Sink
References:
* Confluent Hub: https://rmoff.dev/468
* JDBC Sink connector docs: https://rmoff.dev/01r
* Learn more about Kafka Connect in this talk: https://www.youtube.com/watch?v=oNK3lB8Z-ZA
* Kafka Connect docs: https://rmoff.dev/d10
--
☁️ Confluent Cloud ☁️
Confluent Cloud is a managed Apache Kafka and Confluent Platform service. It scales to zero and lets you get started with Apache Kafka at the click of a mouse. You can signup at https://confluent.cloud/signup?utm_source=youtube&utm_medium=rmoff&utm_campaign=ty.community.con.rmoff_youtube_b-3qN_tlYR4&utm_term=rmoff-devx and use code 60DEVADV for $60 towards your bill (small print: https://www.confluent.io/confluent-cloud-promo-disclaimer/)
Видео Kafka Connect in Action: JDBC Sink канала Robin Moffatt
It discusses common errors, how to place the #JDBC driver JAR correctly, how to deal with deserialisation, and how to use ksqlDB to apply a schema to schema-less data.
See https://rmoff.dev/kafka-to-jdbc for code and details.
🚨 *NOTE* How ksqlDB deals with keys changed in v0.10 (this video shows 0.8). See https://www.confluent.io/blog/ksqldb-0-10-updates-key-columns for details
Table of contents:
* 00:00 Introduction
* 0:44 Populating some data into a test topic
* 2:55 Creating the JDBC Sink
* 4:47 Putting the JDBC driver in the correct place
* 7:45 JDBC Sink connector in action
* 8:52 Debugging the JDBC Sink connector
* 10:27 INSERT vs UPSERT
* 12:26 Dropping fields, adding metadata
* 14:32 Evolving the target table schema
* 16:21 JDBC Sink and schemas
* 18:18 Working with JSON data and the JDBC Sink
* 28:03 Applying a schema to JSON data with ksqlDB
* 34:01 Working with CSV data and the JDBC Sink
References:
* Confluent Hub: https://rmoff.dev/468
* JDBC Sink connector docs: https://rmoff.dev/01r
* Learn more about Kafka Connect in this talk: https://www.youtube.com/watch?v=oNK3lB8Z-ZA
* Kafka Connect docs: https://rmoff.dev/d10
--
☁️ Confluent Cloud ☁️
Confluent Cloud is a managed Apache Kafka and Confluent Platform service. It scales to zero and lets you get started with Apache Kafka at the click of a mouse. You can signup at https://confluent.cloud/signup?utm_source=youtube&utm_medium=rmoff&utm_campaign=ty.community.con.rmoff_youtube_b-3qN_tlYR4&utm_term=rmoff-devx and use code 60DEVADV for $60 towards your bill (small print: https://www.confluent.io/confluent-cloud-promo-disclaimer/)
Видео Kafka Connect in Action: JDBC Sink канала Robin Moffatt
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Installing a JDBC driver for the Kafka Connect JDBC connectorWhat is Apache Kafka®? (A Confluent Lightboard by Tim Berglund) + ksqlDBApache Kafka and KSQL in Action : Let’s Build a Streaming Data Pipeline! by Robin MoffattHow to install Kafka Connect connector pluginsNiels Berglund Set Your Sql Server Data Free With Kafka 1ksqlDB HOWTO: Split and Merge Kafka TopicsIntegrating Oracle and KafkaApache Kafka in 5 minutesFrom Zero to Hero with Kafka Connect by Robin MoffattReal-Time ETL (ELT) with Kafka connect; change data capture from mysql to sql server.From Zero to Hero with Kafka ConnectKafka And PostgreSqlSQL Index |¦| Indexes in SQL |¦| Database IndexKafka Connect 101: Configuration, Connectors, Converters, and TransformsIntroduction to Apache Kafka by James WardKafka Connector Demo - MongoDB Developer ToolsksqlDB HOWTO: Stateful Aggregates🎄Twelve Days of SMT 🎄 - Day 11: Filter and PredicateHow to stream data from MySQL to Apache Kafka® | Kafka TutorialAn introduction to ksqlDB