Question with RestClientBuilder's default setting

Recently I ran into a problem. When accessing cluster at 2000qps, the service caused the local connection timeout due to the index warm-up. However, these connections created by the AsynHttpClient of RestHighLevelClient cannot be released as i wish. I think this requires setting RequestConfig.socketTimeout, maxConnPerRoute. But these parameters have been set to fixed values ​​(RestClientBuilder.DEFAULT_SOCKET_TIMEOUT_MILLIS,RestClientBuilder.DEFAULT_MAX_CONN_PER_ROUTE) in RestClientBuilder and cannot be modified. What is the original intention of this, or do I have other ways to solve the problem?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.