You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fang Yong (JIRA)" <ji...@apache.org> on 2017/04/21 08:28:04 UTC

[jira] [Commented] (FLINK-6288) FlinkKafkaProducer's custom Partitioner is always invoked with number of partitions of default topic

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

Fang Yong commented on FLINK-6288:
----------------------------------

Hi [~tzulitai], I'll pick this issue if nobody follows it, thanks.

> FlinkKafkaProducer's custom Partitioner is always invoked with number of partitions of default topic
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-6288
>                 URL: https://issues.apache.org/jira/browse/FLINK-6288
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kafka Connector
>            Reporter: Tzu-Li (Gordon) Tai
>
> The {{FlinkKafkaProducerBase}} supports routing records to topics besides the default topic, but the custom {{Partitioner}} interface does not follow this semantic.
> The partitioner is always invoked the {{partition}} method with the number of partitions in the default topic, and not the number of partitions of the current {{targetTopic}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)