flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tzu-Li (Gordon) Tai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-6288) FlinkKafkaProducer's custom Partitioner is always invoked with number of partitions of default topic
Date Fri, 19 May 2017 06:46:04 GMT

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

Tzu-Li (Gordon) Tai resolved FLINK-6288.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
                   1.3.0

Fixed for master via e3fcbb087568a33aa03f58ba0dc359b1a6b02bfd.
Fixed for 1.3 via d3b587096b1fd694625429aa32557e70ed84955d.

> 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
>            Assignee: Fang Yong
>             Fix For: 1.3.0, 1.4.0
>
>
> 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)

Mime
View raw message