becketqin commented on a change in pull request #10724: 
[FLINK-13595][connector/kafka][test] Close the KafkaAdminClient with ...
URL: https://github.com/apache/flink/pull/10724#discussion_r363127808
 
 

 ##########
 File path: 
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestEnvironment.java
 ##########
 @@ -201,4 +202,15 @@ protected NetworkFailuresProxy createProxy(String 
remoteHost, int remotePort) {
                networkFailuresProxies.add(proxy);
                return proxy;
        }
+
+       protected void maybePrintDanglingThreadStacktrace(String 
threadNameKeyword) {
 
 Review comment:
   This helps to identify where exactly internal thread of `KafkaAdminClient` 
blocks. So we can address the root cause of the long closure, though it may be 
in Kafka instead of Flink.

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

Reply via email to