Hello Team,
I would like to know the default size that a connection pool is having for TransportClient, and how to check the size that connection pool is holding??
Is this default setting is a good practice or else do we need to set the size????
May I know how to proceed on this???
The connection pool of TransportClient is the same as in a cluster node.
Look at org.elasticsearch.transport.netty.NettyTransport, there you can learn about thread pools for networking with Netty.
You don't need to change this. It is a bad practice to change the default settings. Note, the worker threads are more than enough, the pool has been cached, i.e. unbounded, but changed in recent time to the number of CPU * 2