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

ASF GitHub Bot commented on FLINK-3102:
---------------------------------------

Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1437#discussion_r46804012
  
    --- Diff: 
flink-streaming-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/Fetcher.java
 ---
    @@ -61,15 +53,15 @@
         *     }
         * }
         * }</pre>
    -    * 
    +    *
    +    * @param <T> The type of elements produced by the fetcher and emitted 
to the source context.
         * @param sourceContext The source context to emit elements to.
         * @param valueDeserializer The deserializer to decode the raw values 
with.
    -    * @param lastOffsets The array into which to store the offsets for 
which elements are emitted (operator state)
    -    * 
    -    * @param <T> The type of elements produced by the fetcher and emitted 
to the source context.
    +    * @param lastOffsets The map into which to store the offsets for which 
elements are emitted (operator state)
    +*
    --- End diff --
    
    Strange formatting of `*`. Did you check whether the generic param should 
be before normal params or why did you move?


> 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)

Reply via email to