|
@@ -16,9 +16,11 @@ communicates over TCP. These settings also use the common
|
|
|
<<modules-network,network settings>>.
|
|
|
|
|
|
`transport.port`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
A bind port range. Defaults to `9300-9400`.
|
|
|
|
|
|
`transport.publish_port`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
The port that other nodes in the cluster
|
|
|
should use when communicating with this node. Useful when a cluster node
|
|
|
is behind a proxy or firewall and the `transport.port` is not directly
|
|
@@ -26,25 +28,31 @@ addressable from the outside. Defaults to the actual port assigned via
|
|
|
`transport.port`.
|
|
|
|
|
|
`transport.bind_host`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
The host address to bind the transport service to. Defaults to
|
|
|
`transport.host` (if set) or `network.bind_host`.
|
|
|
|
|
|
`transport.publish_host`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
The host address to publish for nodes in the cluster to connect to.
|
|
|
Defaults to `transport.host` (if set) or `network.publish_host`.
|
|
|
|
|
|
`transport.host`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Used to set the `transport.bind_host` and the `transport.publish_host`.
|
|
|
|
|
|
`transport.connect_timeout`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
The connect timeout for initiating a new connection (in
|
|
|
time setting format). Defaults to `30s`.
|
|
|
|
|
|
`transport.compress`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Set to `true` to enable compression (`DEFLATE`) between
|
|
|
all nodes. Defaults to `false`.
|
|
|
|
|
|
`transport.ping_schedule`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Schedule a regular application-level ping message
|
|
|
to ensure that transport connections between nodes are kept alive. Defaults to
|
|
|
`5s` in the transport client and `-1` (disabled) elsewhere. It is preferable
|
|
@@ -53,15 +61,18 @@ TCP keep-alives apply to all kinds of long-lived connections and not just to
|
|
|
transport connections.
|
|
|
|
|
|
`transport.tcp.no_delay`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Enable or disable the {wikipedia}/Nagle%27s_algorithm[TCP no delay]
|
|
|
setting. Defaults to `network.tcp.no_delay`.
|
|
|
|
|
|
`transport.tcp.keep_alive`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Configures the `SO_KEEPALIVE` option for this socket, which
|
|
|
determines whether it sends TCP keepalive probes.
|
|
|
Defaults to `network.tcp.keep_alive`.
|
|
|
|
|
|
`transport.tcp.keep_idle`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Configures the `TCP_KEEPIDLE` option for this socket, which
|
|
|
determines the time in seconds that a connection must be idle before
|
|
|
starting to send TCP keepalive probes. Defaults to `network.tcp.keep_idle` if set,
|
|
@@ -71,6 +82,7 @@ is higher than `300`, the value is automatically lowered to `300`. Only applicab
|
|
|
Linux and macOS, and requires Java 11 or newer.
|
|
|
|
|
|
`transport.tcp.keep_interval`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Configures the `TCP_KEEPINTVL` option for this socket,
|
|
|
which determines the time in seconds between sending TCP keepalive probes.
|
|
|
Defaults to `network.tcp.keep_interval` if set, or the system default otherwise.
|
|
@@ -79,6 +91,7 @@ the value is automatically lowered to `300`. Only applicable on Linux and macOS,
|
|
|
and requires Java 11 or newer.
|
|
|
|
|
|
`transport.tcp.keep_count`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Configures the `TCP_KEEPCNT` option for this socket, which
|
|
|
determines the number of unacknowledged TCP keepalive probes that may be
|
|
|
sent on a connection before it is dropped. Defaults to `network.tcp.keep_count`
|
|
@@ -86,13 +99,16 @@ if set, or the system default otherwise. Only applicable on Linux and macOS, and
|
|
|
requires Java 11 or newer.
|
|
|
|
|
|
`transport.tcp.reuse_address`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
Should an address be reused or not. Defaults to `network.tcp.reuse_address`.
|
|
|
|
|
|
`transport.tcp.send_buffer_size`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
The size of the TCP send buffer (specified with <<size-units,size units>>).
|
|
|
Defaults to `network.tcp.send_buffer_size`.
|
|
|
|
|
|
`transport.tcp.receive_buffer_size`::
|
|
|
+(<<static-cluster-setting,Static>>)
|
|
|
The size of the TCP receive buffer (specified with <<size-units,size units>>).
|
|
|
Defaults to `network.tcp.receive_buffer_size`.
|
|
|
|