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

Debezium throws CNFE for Avro converter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 1.9.0.Beta1
    • 1.9.0.CR1
    • dependencies
    • None

    Description

      I tried to register a new Postgres connector that uses io.confluent.connect.avro.AvroConverter has value converter and this error message has been thrown:

      022-03-18 17:06:49,824 ERROR  ||  Failed to start task test-outbox-connector-0   [org.apache.kafka.connect.runtime.Worker]
      java.lang.NoClassDefFoundError: com/google/common/base/Ticker
          at io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.<init>(CachedSchemaRegistryClient.java:170)
          at io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.<init>(CachedSchemaRegistryClient.java:153)
          at io.confluent.connect.avro.AvroConverter.configure(AvroConverter.java:73)
          at org.apache.kafka.connect.runtime.isolation.Plugins.newConverter(Plugins.java:277)
          at org.apache.kafka.connect.runtime.Worker.startTask(Worker.java:522)
          at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startTask(DistributedHerder.java:1421)
          at org.apache.kafka.connect.runtime.distributed.DistributedHerder.lambda$getTaskStartingCallable$22(DistributedHerder.java:1434)
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:829) 

      I get this error using the official Debezium docker image `debezium/connect:1.9`.

      Attachments

        Activity

          People

            vjuranek@redhat.com Vojtech Juranek
            lmancini.dev Luca Mancini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: