MartijnVisser commented on code in PR #305:
URL: 
https://github.com/apache/flink-connector-kafka/pull/305#discussion_r4770422619


##########
flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/KafkaSourceEnumerator.java:
##########
@@ -366,6 +375,11 @@ private void checkPartitionChanges(Set<TopicPartition> 
fetchedPartitions, Throwa
                     "Failed to list subscribed topic partitions due to ", t);
         }
 
+        if (partitionInitializationInFlight) {
+            LOG.debug("Skipping discovery result because split initialization 
is in flight.");

Review Comment:
   I'd keep debug: with a short interval and a slow initialisation every cycle 
would warn, and the next cycle logs the partitions at info.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to