Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/4742#discussion_r143158921
--- Diff:
flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java
---
@@ -216,4 +219,25 @@ protected void finalizeCluster() {
public int getMaxSlots() {
return 0;
}
+
+ private static final class RestClusterClientThreadFactory implements
ThreadFactory {
--- End diff --
I think you could also use the `ExecutorThreadFactory` for this purpose.
---