Java transport client, which hosts to add?

The client has addTransportAddress(). So, I can add all cluster nodes. Is
it intended way? Or - what are those considerations must be taken into
account while adding hosts?

--
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/13d2a061-5418-40bd-9233-72c432aa7643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You should as many nodes as possible. If you enable client.transport.sniff,
then the transport client will ask the nodes it does connect to about the
other nodes in the cluster, which means you can potentially only need to
specific a single node (not ideal in case that node is down).

--
Ivan

On Wed, Jul 30, 2014 at 8:36 AM, Andrew Gaydenko andrew.gaydenko@gmail.com
wrote:

The client has addTransportAddress(). So, I can add all cluster nodes. Is
it intended way? Or - what are those considerations must be taken into
account while adding hosts?

--
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/13d2a061-5418-40bd-9233-72c432aa7643%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/13d2a061-5418-40bd-9233-72c432aa7643%40googlegroups.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/CALY%3DcQC7i_wT_r8kiXYSSee92S%3DJUtp3uROZ1wgO8znQ26c7Uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

On Wednesday, July 30, 2014 8:13:28 PM UTC+4, Ivan Brusic wrote:

You should as many nodes as possible. If you
enable client.transport.sniff, then the transport client will ask the nodes
it does connect to about the other nodes in the cluster, which means you
can potentially only need to specific a single node (not ideal in case that
node is down).

Ivan, I see, thanks!

--
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/83dfce66-b3a8-4222-9ca4-93cbfe064a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.