[
https://issues.apache.org/jira/browse/FLINK-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740412#comment-14740412
]
ASF GitHub Bot commented on FLINK-2656:
---------------------------------------
Github user rmetzger commented on a diff in the pull request:
https://github.com/apache/flink/pull/1117#discussion_r39251890
--- Diff:
flink-staging/flink-streaming/flink-streaming-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/LegacyFetcher.java
---
@@ -356,29 +357,24 @@ public void run() {
// make sure that all partitions have some
offsets to start with
// those partitions that do not have an offset
from a checkpoint need to get
// their start offset from ZooKeeper
-
- List<FetchPartition> partitionsToGetOffsetsFor
= new ArrayList<>();
+ {
--- End diff --
I'm opening a new scope for the `partitionsToGetOffsetsFor` variable.
I'm using another list with the same name later in the code. WIth a new
scope for the operation here, I can use the same variable name later again.
> FlinkKafkaConsumer is failing with OutOfRangeException
> ------------------------------------------------------
>
> Key: FLINK-2656
> URL: https://issues.apache.org/jira/browse/FLINK-2656
> Project: Flink
> Issue Type: Bug
> Components: Kafka Connector
> Affects Versions: 0.10, 0.9.1
> Reporter: Robert Metzger
> Priority: Critical
>
> FlinkKafkaConsumer is failing with an OutOfRangeException. There is actually
> a configuration parameter for the high level kafka consumer how to handle
> these situations (the high level c) doesn't fail on that exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)