[jira] [Created] (FLINK-18705) Debezium-JSON throws NPE when tombstone message is received

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18705) Debezium-JSON throws NPE when tombstone message is received

Shang Yuanchun (Jira)
Jark Wu created FLINK-18705:
-------------------------------

             Summary: Debezium-JSON throws NPE when tombstone message is received
                 Key: FLINK-18705
                 URL: https://issues.apache.org/jira/browse/FLINK-18705
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.11.1
            Reporter: Jark Wu
             Fix For: 1.12.0, 1.11.2
         Attachments: Screen Shot 2020-07-24 at 09.35.56.png

By default, Debezium will send two messages to Kafka for DELETE operation, one for delete message, the other for tombstone message (message value is null). However, debezium-json will throw NPE when processing such tombstone message. We should just skip such messages.


As a workaround, we can diable tombstone on Debezium Connect {{tombstones.on.delete: false}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)