You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nicolas Raga (Jira)" <ji...@apache.org> on 2021/07/09 00:46:00 UTC

[jira] [Created] (FLINK-23321) Make REST Netty thread county configurable

Nicolas Raga created FLINK-23321:
------------------------------------

             Summary: Make REST Netty thread county configurable
                 Key: FLINK-23321
                 URL: https://issues.apache.org/jira/browse/FLINK-23321
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics, Runtime / REST
            Reporter: Nicolas Raga


Currently [rest.server.numThreads|https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/deployment/config/#rest-server-numthreads] works to create more DispatcherRestEndpoint threads which help in the purview of job the dispatcher functionality. However, when used for the REST server for monitoring of a running job, AbstractRestHandlers actually run on a netty thread pool we have no control over as seen [here|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java#L188-L193]. Especially when monitoring unhealthy jobs, we would want to allow creation of more netty-worker threads that can process incoming connection requests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)