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

Jark Wu commented on FLINK-20205:
---------------------------------

I created a pull request which can also fix this problem: 
https://github.com/apache/flink/pull/14160

> CDC source shouldn't send UPDATE_BEFORE messages if the downstream doesn't 
> need it
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-20205
>                 URL: https://issues.apache.org/jira/browse/FLINK-20205
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Jark Wu
>            Assignee: Leonard Xu
>            Priority: Major
>             Fix For: 1.12.0
>
>
> Currently, the CDC source will always generate UPDATE_BEFORE and UPDATE_AFTER 
> messages for update. However, many downstream operators don't need the 
> UDPATE_BEFORE, e.g. temporal join and upsert sink. Currently, 
> {{debezium-cdc-source => upsert-kafka}} will generate lots of tombstone 
> messages, which is quite not efficient.  



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

Reply via email to