[ https://issues.apache.org/jira/browse/FLINK-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16092770#comment-16092770 ]
ASF GitHub Bot commented on FLINK-7174: --------------------------------------- Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/4321#discussion_r128179835 --- Diff: flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/KafkaConsumerThread.java --- @@ -151,6 +154,7 @@ public void run() { // including concurrent 'close()' calls. try { this.consumer = getConsumer(kafkaProperties); + this.hasAssignedPartitions = !consumer.assignment().isEmpty(); --- End diff -- Can't we just start with `false` here? We'll only ever get partitions once we enter the main fetch loop. > Bump dependency of Kafka 0.10.x to the latest one > ------------------------------------------------- > > Key: FLINK-7174 > URL: https://issues.apache.org/jira/browse/FLINK-7174 > Project: Flink > Issue Type: Improvement > Components: Kafka Connector > Reporter: Piotr Nowojski > Assignee: Piotr Nowojski > > We are using pretty old Kafka version for 0.10. Besides any bug fixes and > improvements that were made between 0.10.0.1 and 0.10.2.1, it 0.10.2.1 > version is more similar to 0.11.0. -- This message was sent by Atlassian JIRA (v6.4.14#64029)