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

shengjk1 commented on FLINK-11257:
----------------------------------

hi ,[~till.rohrmann],In order to ensure the compatibility of subsequent code. i 
think  should  change

FlinkKafkaConsumerBase ,such  as add one class KafkaTopicAndPartition and one

interface  KafkaDescriptor ,KafkaTopicAndPartition and KafkaTopicsDescriptor  
implements KafkaDescriptor,FlinkKafkaConsumerBase's 

topicsDescriptor change  to KafkaDescriptor,then FlinkKafkaConsumerBase add one 
Constructor,this constructor modify 

this.kafkaDescriptor = new 
KafkaTopicsAndPartitionDescriptor(topicAndPartitions, topicAndPartitionPattern);

may be have better ways ,welcome the discussion

> FlinkKafkaConsumer should support assgin partition 
> ---------------------------------------------------
>
>                 Key: FLINK-11257
>                 URL: https://issues.apache.org/jira/browse/FLINK-11257
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Kafka Connector
>    Affects Versions: 1.7.1
>            Reporter: shengjk1
>            Assignee: vinoyang
>            Priority: Major
>
> i find flink 1.7 also has  universal Kafka connector ,if the kakfa-connector  
> support assgin partition ,the the kakfa-connector should prefect.  such as a 
> kafka topci has  3 partition, i only use 1 partition,but i should read all 
> partition then filter.this method Not only waste resources but also 
> relatively low efficiency.so i suggest FlinkKafkaConsumer should support 
> assgin partition 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to