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

MySQL driver missing from MySQL connector plugin ZIP file

    • 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.

            [DBZ-71] MySQL driver missing from MySQL connector plugin ZIP file

            Bulk closing issues in state "Resolved" with resolution "Done" and with a released "Fix Version".

            Gunnar Morling added a comment - Bulk closing issues in state "Resolved" with resolution "Done" and with a released "Fix Version".

            Merged into the 0.2.x branch (to appear in the upcoming 0.2.1 release) and cherry-picked into the master branch (for the eventual 0.3 release).

            Randall Hauch (Inactive) added a comment - Merged into the 0.2.x branch (to appear in the upcoming 0.2.1 release) and cherry-picked into the master branch (for the eventual 0.3 release).

            Added a pull request based off of the 0.2.x branch. Once merged into the 0.2.x branch, it will need to be cherry-picked into master for the 0.3 release.

            Randall Hauch (Inactive) added a comment - Added a pull request based off of the 0.2.x branch. Once merged into the 0.2.x branch, it will need to be cherry-picked into master for the 0.3 release.

            The Docker images used in the tutorial (which is being updated for 0.2) can be fixed. Other users will need to use the workaround described above. However, if the workaround is too onerous, please comment here and we can release a 0.2.1 patch release.

            Randall Hauch (Inactive) added a comment - The Docker images used in the tutorial (which is being updated for 0.2) can be fixed. Other users will need to use the workaround described above. However, if the workaround is too onerous, please comment here and we can release a 0.2.1 patch release.

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

                Created:
                Updated:
                Resolved: