walterddr commented on a change in pull request #6336: [FLINK-9630] [connector]
Kafka09PartitionDiscoverer cause connection …
URL: https://github.com/apache/flink/pull/6336#discussion_r358556104
##########
File path:
flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/Kafka09PartitionDiscoverer.java
##########
@@ -102,4 +106,13 @@ protected void closeConnections() throws Exception {
this.kafkaConsumer = null;
}
}
+
+ private void closeConnectionsQuietly() {
+ try {
+ closeConnections();
Review comment:
I think you need to invoke the based class
`AbstractPartitionDiscoverer.close()` to ensure that the state is also set to
closed
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services