[ https://issues.apache.org/jira/browse/FLINK-25106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451578#comment-17451578 ]
Martijn Visser commented on FLINK-25106: ---------------------------------------- [~varunyeligar] Thanks for clarifying. If I understand correctly, you want to use the Kafka messages in an upsert fashion (so that you can do both updates and deletes). 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. > 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)