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

Debezium Postgres connector not working with Transformation "outbox" without tracing support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • None
    • outbox
    • None
    • False
    • False
    • Undefined

    Description

      After installing the Kafka Connect docker image debezium/connect:1.6 I installed the following debezium connector config on Kafka Connect:

      curl -s -X POST -H "Accept:application/json" -H "Content-Type:application/json" localhost:8083/connectors/ -d '{
      "name": "user-connector",
      "config":

      { "connector.class": "io.debezium.connector.postgresql.PostgresConnector", "tasks.max": "1", "database.hostname": "user-db", "database.port": "5432", "database.user": "postgresuser", "database.password": "postgrespw", "database.dbname" : "userdb", "database.server.name": "dbserver1", "table.whitelist" : "public.outboxevent", "tombstones.on.delete": "false", "transforms" : "outbox", "transforms.outbox.type" : "io.debezium.transforms.outbox.EventRouter", "transforms.outbox.route.topic.replacement" : "contactinfo.events", "transforms.outbox.table.fields.additional.placement" : "id:header"}

      }'

      After installing Kafka connect UI i was able to look at the Trace and found error:
      "io.opentracing" classes not found (Class not found exception)

      I had to download and install the missing jar files in the plugins directory for the "outbox" Eventrouter to work.

      *Please make the tracing jar files requirement as optional or have outbox router handle it gracefully.
       *

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              safandi@essextec.com Shoaib Afandi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: