You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Daniel Osvath (Jira)" <ji...@apache.org> on 2021/03/22 22:28:00 UTC

[jira] [Created] (KAFKA-12522) Cast SMT should allow null values to pass through

Daniel Osvath created KAFKA-12522:
-------------------------------------

             Summary: Cast SMT should allow null values to pass through 
                 Key: KAFKA-12522
                 URL: https://issues.apache.org/jira/browse/KAFKA-12522
             Project: Kafka
          Issue Type: Bug
            Reporter: Daniel Osvath
            Assignee: Daniel Osvath


The [current Cast SMT|https://github.com/apache/kafka/blob/trunk/connect/transforms/src/main/java/org/apache/kafka/connect/transforms/Cast.java] fails on a null record value (or a null record key), which is problematic for tombstone records. Null values should instead be allowed to pass through as there is no cast transformation to be done, with the benefit of supporting tombstone records. 



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