[
https://issues.apache.org/jira/browse/FLINK-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041717#comment-15041717
]
ASF GitHub Bot commented on FLINK-3102:
---------------------------------------
GitHub user rmetzger opened a pull request:
https://github.com/apache/flink/pull/1437
[FLINK-3102] Allow reading from multiple topics with one FlinkKafkaConsumer
* I added a new constructor to the Kafka source, accepting a List<String>
of topics.
* the deserialization schema will get the topic as a String.
I'm opening the PR for review now, the tests pass locally, I'll verify the
changes on a real cluster as well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmetzger/flink flink3102
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1437.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1437
----
commit 58236653438ff003ba6026403098e0e599b5cce5
Author: Robert Metzger <[email protected]>
Date: 2015-12-03T15:32:55Z
[FLINK-3102] Allow reading from multiple topics with one FlinkKafkaConsumer
instance
----
> Allow reading from multiple topics with one FlinkKafkaConsumer
> --------------------------------------------------------------
>
> Key: FLINK-3102
> URL: https://issues.apache.org/jira/browse/FLINK-3102
> Project: Flink
> Issue Type: New Feature
> Components: Kafka Connector
> Reporter: Robert Metzger
> Assignee: Robert Metzger
>
> Currently, a Kafka consumer allows to read from only one topic.
> For cases where multiple topics contain messages with the same schema, it is
> useful to allow to subscribe to many topics using one FlinkKafkaConsumer
> instance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)