val options =
WebClientOptions().setMaxPoolSize(1000)
.setKeepAlive(true)
.setKeepAliveTimeout(60 * 10)
.setTrustAll(true)
.setPoolCleanerPeriod(1000 * 60 * 10)
.setIdleTimeoutUnit(TimeUnit.MINUTES)
.setIdleTimeout(10)
.setMaxWaitQueueSize(1000)
.setConnectTimeout(1000 * 60 * 10)
webClient = WebClient.create(vertx, options)
vertx.http.clients.open-netsockets
It will return to 0 soon
as you set ConnectTimeout with huge number, you also need to increase also both these properties KeepAliveTimeout and setIdleTimeout.