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


##########
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:
   Also can we log the skipped changed partitions?



##########
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:
   Also can we log the skipped changed partitions?



-- 
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