[
https://issues.apache.org/jira/browse/FLINK-18826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210670#comment-17210670
]
xiangtao commented on FLINK-18826:
----------------------------------
can it use changelog-format to encode message ?
> Support to emit and encode upsert messages to Kafka
> ---------------------------------------------------
>
> Key: FLINK-18826
> URL: https://issues.apache.org/jira/browse/FLINK-18826
> Project: Flink
> Issue Type: Sub-task
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table
> SQL / Ecosystem
> Reporter: Jark Wu
> Assignee: Shengkai Fang
> Priority: Major
>
> Currently, it is not possible to emit the results of a group by query into
> Kafka. We can provide a format (e.g. {{upsert-json}}??) to encode changelogs
> to make it possible to write into Kafka. Another idea is provide an
> {{update-mode=upsert}} property, in this way, we can support upsert behavior
> for all the append-only formats (avro, avro-confluent, json, csv) without
> changing the implementation of the formats. The update-mode came from kafka
> connector [1] before 1.10, but was dropped after that.
> [1]:
> https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/table/connect.html#update-modes
--
This message was sent by Atlassian Jira
(v8.3.4#803005)