Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-71

MySQL driver missing from MySQL connector plugin ZIP file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.2.1, 0.3
    • 0.2
    • mysql-connector
    • None
    • Hide

      Deploying the MySQL connector into a Kafka Connect installation, the contents of the MySQL connector plugin archive and the MySQL driver must be added to the classpath.

      Show
      Deploying the MySQL connector into a Kafka Connect installation, the contents of the MySQL connector plugin archive and the MySQL driver must be added to the classpath.

      The Debezium 0.2 artifacts uploaded into Maven Central include two archives that are supposed to contain all of the JARs necessary to run the connector:

      • debezium-connector-mysql-0.2.0-plugin.zip
      • debezium-connector-mysql-0.2.0-plugin.tar.gz

      Both of these files are missing the MySQL driver, which was not needed in 0.1 but is now used in the snapshot feature added in 0.2 via DBZ-31. The reason it was not included is because the MySQL driver is still test scope in the POM file.

      Therefore, when using the 0.2 release one simply cannot unzip the MySQL connector archive into a Kafka Connect deployment. To solve this problem, the MySQL driver also needs to be added to the deployment.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: