You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kevin Lam (Jira)" <ji...@apache.org> on 2024/07/17 14:00:00 UTC

[jira] [Commented] (FLINK-22748) Allow dynamic target topic selection in SQL Kafka sinks

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

Kevin Lam commented on FLINK-22748:
-----------------------------------

[~nicholasjiang] are you still working on this? I am interested in this issue, and happy to help. 

> Allow dynamic target topic selection in SQL Kafka sinks
> -------------------------------------------------------
>
>                 Key: FLINK-22748
>                 URL: https://issues.apache.org/jira/browse/FLINK-22748
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Kafka, Table SQL / Ecosystem
>            Reporter: Timo Walther
>            Assignee: Nicholas Jiang
>            Priority: Major
>              Labels: pull-request-available, stale-assigned, starter
>
> We should allow to write to different Kafka topics based on some column value in SQL.
> The existing implementation can be easily adapted for that. The "target topic" would be an additional persisted metadata column in SQL terms. All one need to do is to adapt
> DynamicKafkaSerializationSchema
> KafkaDynamicSink
> We should guard this dynamic behavior via a config option and make the topic option optional in this case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)