[jira] [Created] (FLINK-3541) Clean up workaround in FlinkKafkaConsumer09

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3541) Clean up workaround in FlinkKafkaConsumer09

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-3541:
------------------------------------

             Summary: Clean up workaround in FlinkKafkaConsumer09
                 Key: FLINK-3541
                 URL: https://issues.apache.org/jira/browse/FLINK-3541
             Project: Flink
          Issue Type: Improvement
          Components: Kafka Connector
    Affects Versions: 1.0.0
            Reporter: Till Rohrmann
            Priority: Minor


In the current {{FlinkKafkaConsumer09}} implementation, we repeatedly start a new {{KafkaConsumer}} if the method {{KafkaConsumer.partitionsFor}} returns a NPE. This is due to a bug with the Kafka version 0.9.0.0. See https://issues.apache.org/jira/browse/KAFKA-2880.

However, the problem is marked as fixed for version 0.9.0.1, which we also use for the flink-connector-kafka. Therefore, we should be able to get rid of the workaround.



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