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

Configured primary key mode 'record_key' cannot have null schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • None
    • jdbc-connector
    • None
    • False
    • None
    • False

      What Debezium connector do you use and what version?

      debezium-connector-jdbc-2.5.3.Final

      What is the connector configuration?

      "config": {
        "connector.class": "io.debezium.connector.jdbc.JdbcSinkConnector",
        "connection.url": "jdbc:postgresql://postgres:5432/postgres?currentSchema=public",
        "connection.username": "***",
        "connection.password": "***",
        "insert.mode": "upsert",
        "delete.enabled": "true",
        "primary.key.fields": "id",
        "primary.key.mode": "record_key",
        "database.time_zone": "UTC",
        "topics": "dbz.inventory.products,dbz.inventory.customers2",
        "schema.evolution": "basic"
      }

      What is the captured database version and mode of depoyment?

      postgres:15.3, docker

      What behaviour do you expect?

      Sink connector works fine

      What behaviour do you see?

      org.apache.kafka.connect.errors.ConnectException: Configured primary key mode 'record_key' cannot have null schema

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

      Yes, attached

            Unassigned Unassigned
            andrii_fadieiev Andrii Fadieiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: