You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/06 00:16:04 UTC

[GitHub] [flink] becketqin commented on a change in pull request #10724: [FLINK-13595][connector/kafka][test] Close the KafkaAdminClient with ...

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:
users@infra.apache.org


With regards,
Apache Git Services