What is the correct way to provide your own ThreadPool for the java
Node client to use?
I notice that NodeClient can take a ThreadPool in the constructor, but
the normal way to obtain a NodeClient is from node.client() so you
don't get the option to provide one.
Alternatively, how can I change the settings of the thread pool to
My use case is that I am setting up HBase to push new data into
ElasticSearch at quite high volumes, but I want to be able to control
how many index calls happen in parallel.
Or does a single NodeClient push all requests through a single thread
anyway, no matter how many threads it's shared between?