[
https://issues.apache.org/jira/browse/FLINK-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045132#comment-15045132
]
ASF GitHub Bot commented on FLINK-3102:
---------------------------------------
Github user rmetzger commented on a diff in the pull request:
https://github.com/apache/flink/pull/1437#discussion_r46837656
--- 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 --
Fixed the `*`.
The java standard library is putting generic parameters first.
> 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)