Skip to content

Implement a remote proxy connection mode #49067

Open
@Tim-Brooks

Description

@Tim-Brooks

Summary

We are interested in implementing a proxy connection mode for remote cluster connections. Instead of sniffing the remote cluster and connecting directly to specific nodes, this connection mode will open single channel connections to the remote cluster with no regard for the identity of the remote node. This will allow an intermediate proxy to make the routing decisions.

Tasks

7.6.1/7.7

  • Update documentation for new sniff settings
  • Update documentation to expose new proxy settings

Future:

  • Deprecate generic seed node and max number of connections settings
  • Add setting upgraders for 7.x->8.0

Usage

To enable this mode the following settings must be configured:

// The mode defaults to sniff, so proxy must explicitly be configured
cluster.remote.test_remote_cluster.mode: "proxy"

// The proxy address is required
cluster.remote.test_remote_cluster.proxy_address: "localhost:9300"

// Optional, defaults to 18
cluster.remote.test_remote_cluster.proxy_socket_connections: 18

// Optional, defaults to disabled. If this is set, the Elasticsearch default 
// distribution TLS implementation will send the configured hostname in the 
// TLS SNI header.
cluster.remote.test_remote_cluster.server_name: "application.example.com"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions