Elastic Rest Client - Connection pooling

It is not clear as to whether connection pool is available for Elastic REST client - synchronous call or not ?

  1. If yes, please provide sample configuration class.
  2. If not,
    2.1 please explain why it is not provided for synchronous calls ?
    2.2 please provide sample config class for asynchronous call

Hi,
have you seen our REST client docs? You can find them here: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/index.html . There are quite some examples in there that should help.

As for your question, I do not understand what you mean by connection pool, could you clarify what you are looking for please?

Cheers
Luca