You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2016/03/23 10:23:25 UTC

[jira] [Updated] (FLINK-3658) Allow the FlinkKafkaProducer to send data to multiple topics

     [ https://issues.apache.org/jira/browse/FLINK-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger updated FLINK-3658:
----------------------------------
    Description: 
Currently, the FlinkKafkaProducer is sending all events to one topic defined when creating the producer.

We could allow users to send messages to multiple topics by extending the {{KeyedSerializationSchema}} by a method {{public String getTargetTopic(T element)}} which overrides the default topic if the return value is not null.

  was:
Currently, the FlinkKafkaProducer is sending all events to one topic defined when creating the producer.

We could allow users to send messages to multiple topics by extending the {{KeyedSerializationSchema}} by a method {{public String getTargetTopic(T element)} which overrides the default topic if the return value is not null.


> Allow the FlinkKafkaProducer to send data to multiple topics
> ------------------------------------------------------------
>
>                 Key: FLINK-3658
>                 URL: https://issues.apache.org/jira/browse/FLINK-3658
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kafka Connector
>    Affects Versions: 1.0.0
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>
> Currently, the FlinkKafkaProducer is sending all events to one topic defined when creating the producer.
> We could allow users to send messages to multiple topics by extending the {{KeyedSerializationSchema}} by a method {{public String getTargetTopic(T element)}} which overrides the default topic if the return value is not null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)