[ https://issues.apache.org/jira/browse/FLINK-5128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715378#comment-15715378 ]
Tzu-Li (Gordon) Tai commented on FLINK-5128: -------------------------------------------- Resolved in {{master}} with http://git-wip-us.apache.org/repos/asf/flink/commit/45b770b. Thank you for the contribution [~RenkaiGe]! > Get Kafka partitions in FlinkKafkaProducer only if a partitioner is set > ----------------------------------------------------------------------- > > Key: FLINK-5128 > URL: https://issues.apache.org/jira/browse/FLINK-5128 > Project: Flink > Issue Type: Improvement > Components: Kafka Connector > Reporter: Tzu-Li (Gordon) Tai > Assignee: Renkai Ge > Priority: Minor > Fix For: 1.2.0 > > > The fetched partitions list is only used when calling {{open(...)}} for a > user supplied custom partitioner in {{FlinkKafkaProducer}}. > Therefore, we can actually only fetch the partition list if the user used a > partitioner (right now we always do the partition fetching). -- This message was sent by Atlassian JIRA (v6.3.4#6332)