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

Missing dependency JARs for Debezium Storage Azure Blob

XMLWordPrintable

    • False
    • None
    • False

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Hello, I'm trying to use the SQL Server connector for Kafka Connect, with schema history being stored on Azure Blob Storage. I think the Debezium Storage Azure Blob extension is missing a couple of dependencies, as I was getting a couple of ClassNotFound errors in Kafka Connect. After manually fetching the JARs and adding them to the plugins directory, the issue was fixed. Here are the JARs I manually downloaded:

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      Debezium SQL Server 2.7.0.Final

      Debezium Storage Azure Blob 2.7.0.Final

      What is the connector configuration?

      {
          "name": "dbz",
          "config": {
              "snapshot.mode": "schema_only",
              "connector.class": "io.debezium.connector.sqlserver.SqlServerConnector",
              "database.hostname": "${env:DB_HOSTNAME}",
              "database.port": "${env:DB_PORT}",
              "database.user": "${env:DB_USER}",
              "database.password": "${env:DB_PASSWORD}",
              "database.names": "${env:DB_NAME}",
              "database.server.name": "${env:DB_SERVER_NAME}",
              "table.include.list": "dbo.test",
              "topic.prefix": "test",
              "schema.history.internal": "io.debezium.storage.azure.blob.history.AzureBlobSchemaHistory",
              "schema.history.internal.azure.storage.account.connectionstring": "${env:BLOB_STORAGE_CONNECTION_STRING}",
              "schema.history.internal.azure.storage.account.container.name": "${env:BLOB_STORAGE_CONTAINER_NAME}",
              "schema.history.internal.azure.storage.blob.name": "schema-history.json"
          }
      }
      

      What is the captured database version and mode of deployment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      Azure SQL (SQL Server)

      What behavior do you expect?

      Running the connector without error.

      What behavior do you see?

      ClassNotFound error in Kafka Connect.

      Do you see the same behaviour using the latest released Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      Yes, only tested with 2.7.0.Final

      Do you have the connector logs, ideally from start till finish?

      java.lang.NoClassDefFoundError: com/fasterxml/jackson/datatype/jsr310/PackageVersion 

      A similar ClassNotFound error occured for other classes.

      How to reproduce the issue using our [tutorial](https://github.com/debezium/debezium-examples/tree/main/tutorial) deployment?

      Use the SQL Server tutorial and try to use Blob Storage for storing schema history.

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

              Unassigned Unassigned
              bornografija Borna Katovic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: