Skip to main content
The Debezium MySQL Source connector is a Kafka Connect connector that captures row-level changes in a MySQL database and streams them to Kafka topics.
This connector is available as a built-in connector on StreamNative Cloud.

Prerequisites

  • A running MySQL server
  • Binlog enabled in MySQL server

Quick Start

  1. Setup the kcctl client: doc
  2. Create a JSON file like the following:
    sn.passthrough.bootstrapServer.fields and sn.passthrough.kafka.consumer|producer.field.prefixes are required to make StreamNative Cloud automatically configure the schema history Kafka client settings for the connector.
    You shouldn’t change these properties unless you want to override the default behavior.
  3. Run the following command to create the connector:

Configuration

The Debezium MySQL Source connector is configured using the following properties: For more information about the configuration properties, see the Official Debezium MySQL Connector documentation.