You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/07/31 11:50:00 UTC

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

     [ https://issues.apache.org/jira/browse/FLINK-18705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jark Wu closed FLINK-18705.
---------------------------
    Resolution: Fixed

Fixed in
 - master (1.12.0): c22c9c1f1090bf8e0bae7c3609c678cb7532f9df
 - 1.11.2: 4927c7dc23258b88c7331d64de162ff70fbd30ae

> 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), Table SQL / Ecosystem
>    Affects Versions: 1.11.0, 1.11.1
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>            Priority: Major
>             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)