Class SniffConnectionStrategy

java.lang.Object
org.elasticsearch.transport.RemoteConnectionStrategy
org.elasticsearch.transport.SniffConnectionStrategy
All Implemented Interfaces:
Closeable, AutoCloseable, TransportConnectionListener

public class SniffConnectionStrategy extends RemoteConnectionStrategy
  • Field Details

    • SEARCH_REMOTE_CLUSTERS_SEEDS

      public static final Setting.AffixSetting<List<String>> SEARCH_REMOTE_CLUSTERS_SEEDS
    • SEARCH_REMOTE_CLUSTER_SEEDS_UPGRADER

      public static final SettingUpgrader<List<String>> SEARCH_REMOTE_CLUSTER_SEEDS_UPGRADER
    • REMOTE_CLUSTER_SEEDS

      public static final Setting.AffixSetting<List<String>> REMOTE_CLUSTER_SEEDS
      A list of initial seed nodes to discover eligible nodes from the remote cluster
    • SEARCH_REMOTE_CLUSTERS_PROXY

      public static final Setting.AffixSetting<String> SEARCH_REMOTE_CLUSTERS_PROXY
    • REMOTE_CLUSTERS_PROXY

      public static final Setting.AffixSetting<String> REMOTE_CLUSTERS_PROXY
      A proxy address for the remote cluster. By default this is not set, meaning that Elasticsearch will connect directly to the nodes in the remote cluster using their publish addresses. If this setting is set to an IP address or hostname then Elasticsearch will connect to the nodes in the remote cluster using this address instead. Use of this setting is not recommended and it is deliberately undocumented as it does not work well with all proxies.
    • SEARCH_REMOTE_CONNECTIONS_PER_CLUSTER

      public static final Setting<Integer> SEARCH_REMOTE_CONNECTIONS_PER_CLUSTER
    • REMOTE_CONNECTIONS_PER_CLUSTER

      public static final Setting<Integer> REMOTE_CONNECTIONS_PER_CLUSTER
      The maximum number of connections that will be established to a remote cluster. For instance if there is only a single seed node, other nodes will be discovered up to the given number of nodes in this setting. The default is 3.
    • REMOTE_NODE_CONNECTIONS

      public static final Setting.AffixSetting<Integer> REMOTE_NODE_CONNECTIONS
      The maximum number of node connections that will be established to a remote cluster. For instance if there is only a single seed node, other nodes will be discovered up to the given number of nodes in this setting. The default is 3.
    • SEARCH_REMOTE_CLUSTERS_PROXY_UPGRADER

      public static final SettingUpgrader<String> SEARCH_REMOTE_CLUSTERS_PROXY_UPGRADER
  • Method Details