The documentation at https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/transport-client.html just briefly mentions the option to make the Client find other nodes automatically via the option "client.transport.sniff".
I am not sure about a few things
- Is this node-discovery only done upon initial connection or periodically, i.e. does it find newly added nodes as well?
- From some discussion on Elasticsearch 1.1.x it was mentioned that you still would configure multiple nodes manually to have enough nodes for discovery, because sniffed nodes are not used for further discovery of nodes, is this still the case?
- Any other known downsides of using sniffing (besides problems with inaccessible publish/bind-addresses like Amazon EC2 instances accessed from the outside)?