Efrat19 commented on code in PR #305:
URL:
https://github.com/apache/flink-connector-kafka/pull/305#discussion_r4657301144
##########
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:
```suggestion
LOG.warn("Skipping discovery result because split initialization
is in flight.");
```
To alert users about slow lookups, and I'd only log this if there was an
actual partition change (see next check)
--
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]