Configure connections using TransportClient


(Srinath C) #1

Hi,
I wasn't able to figure out how to configure the number of connections
that are opened up by a TransportClient to an ElasticSearch cluster. There
was some information in one of the discussions
https://groups.google.com/forum/#!topic/elasticsearch/7-ob2IeYnMI but
they don't seem to work with ElasticSearch 1.1.1.
I can see 14 connections established from one TransportClient instance
to one ElasticSearch instance by default.

Thanks,
Srinath.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Alexander Reelsen) #2

Hey,

those configuration parameters still exist (there are more for ping and
recovery). Wondering why exactly you want to change those? Do you have any
specific problems going on?

--Alex

On Tue, Jun 3, 2014 at 7:47 AM, Srinath C srinath.c@gmail.com wrote:

Hi,
I wasn't able to figure out how to configure the number of connections
that are opened up by a TransportClient to an ElasticSearch cluster. There
was some information in one of the discussions
https://groups.google.com/forum/#!topic/elasticsearch/7-ob2IeYnMI but
they don't seem to work with ElasticSearch 1.1.1.
I can see 14 connections established from one TransportClient instance
to one ElasticSearch instance by default.

Thanks,
Srinath.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9BF4y8tX4Dvvg0NJPCeWmX%2B2JzcGJAnS%3D9%3D-HjYmapjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Utkarsh Pyne) #3

@spinscale Is the default number of connections made by the transport client is 14? Additionally, will a transport client only connect to one node at a time the cluster or multiple?


(system) #4