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

ExtractNewRecordState transform: NPE when processing non-envelope records

XMLWordPrintable

    • Important

      What Debezium connector do you use and what version?

      Postgres 3.0.1

      What is the connector configuration?

      We use transforms with additional headers.

      What is the captured database version and mode of deployment?

      PostgreSQL 14.13 managed in GCP

      What behavior do you expect?

      The transform should skip non-envelope records.

      What behavior do you see?

      Additional headers get processed even for non-envelope records, resulting in NPE due to missing field in the schema.

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

      Yes, this is on 3.0.1

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

      No

      How to reproduce the issue using our tutorial deployment?

      N/A

      Implementation ideas (optional)

      I've created a PR, will link to this ticket.

              Unassigned Unassigned
              martinvlk Martin Vlk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: