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] [Comment Edited] (FLINK-4722) Consumer group concept not working properly with FlinkKafkaConsumer09
Date Mon, 03 Oct 2016 16:31:20 GMT

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

Tzu-Li (Gordon) Tai edited comment on FLINK-4722 at 10/3/16 4:30 PM:
---------------------------------------------------------------------

Is there any reason / use case why you need to have 3 FlinkKafkaConsumers, and let each read
a single partitions?

Otherwise, a single FlinkKafkaConsumer09 can read all 3 partitions exactly-once (each partition
is assigned to a source subtask, you can check out the details of how Flink assigns Kafka
topic partitions to source subtasks here: http://data-artisans.com/kafka-flink-a-practical-how-to/).


was (Author: tzulitai):
Is there any reason / use case why you need to have 3 FlinkKafkaConsumers, and let each read
particular partitions?

Otherwise, a single FlinkKafkaConsumer09 can read all 3 partitions exactly-once (each partition
is assigned to a source subtask, you can check out the details of how Flink assigns Kafka
topic partitions to source subtasks here: http://data-artisans.com/kafka-flink-a-practical-how-to/).

> Consumer group concept not working properly with FlinkKafkaConsumer09  
> -----------------------------------------------------------------------
>
>                 Key: FLINK-4722
>                 URL: https://issues.apache.org/jira/browse/FLINK-4722
>             Project: Flink
>          Issue Type: Bug
>          Components: Kafka Connector
>    Affects Versions: 1.1.2
>            Reporter: Sudhanshu Sekhar Lenka
>
> When Kafka one Topic has 3 partition and 3 FlinkKafkaConsumer09 connected to that same
topic using "group.id" ,"myGroup" property . Still flink consumer get all data which are push
to each 3   partition . While it work properly with normal java consumer. each consumer get
specific data.



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

Mime
View raw message