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

Varun Yeligar commented on FLINK-25106:
---------------------------------------

Thanks for the inputs [~MartijnVisser]. 
{quote}I think that the feature need is actually an extension on the 
upsert-kafka connector (to support specific offsets), because the key 
difference there is between the kafka connector and the upsert-kafka connector 
is how tombstones are dealt with currently.
{quote}
Yes, I agree with this.

> Support tombstone messages in FLINK's "kafka" connector
> -------------------------------------------------------
>
>                 Key: FLINK-25106
>                 URL: https://issues.apache.org/jira/browse/FLINK-25106
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Core
>            Reporter: Varun Yeligar
>            Priority: Minor
>
> Currently, FLINK's "kafka" connector ignores all the tombstone messages, 
> whereas the "upsert-kafka" connector supports tombstone messages and sets the 
> type of the row to RowKind.DELETE ([Code 
> Link|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/table/DynamicKafkaDeserializationSchema.java#L126]).
> I wanted to know if it is feasible to support tombstone messages in "kafka" 
> connector by setting all the value fields to NULL and the RowKind to DELETE. 
> I could also raise a PR with the respective changes if required.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to