You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/11 21:27:00 UTC

[jira] [Commented] (KAFKA-9706) Flatten transformation fails when encountering tombstone event

    [ https://issues.apache.org/jira/browse/KAFKA-9706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17057408#comment-17057408 ] 

ASF GitHub Bot commented on KAFKA-9706:
---------------------------------------

gharris1727 commented on pull request #8279: KAFKA-9706: Handle null keys/values in Flatten transformation
URL: https://github.com/apache/kafka/pull/8279
 
 
   * Fix DataException thrown when handling tombstone events with null value
   * Passes through original record when finding a tombstone record
   * Add tests for schema and schemaless data
   
   Signed-off-by: Greg Harris <gr...@confluent.io>
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Flatten transformation fails when encountering tombstone event
> --------------------------------------------------------------
>
>                 Key: KAFKA-9706
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9706
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>            Reporter: Greg Harris
>            Assignee: Greg Harris
>            Priority: Major
>
> When applying the {{Flatten}} transformation to a tombstone event, an exception is raised:
> {code:java}
> org.apache.kafka.connect.errors.DataException: Only Map objects supported in absence of schema for [flattening], found: null
> {code}
> Instead, the transform should pass the tombstone through the transform without throwing an exception.



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