You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Properly document keepalive and other tcp options (#60216)
Keepalive options are not well-documented (only in transport section, although also available at http and network level).
Co-authored-by: David Turner <[email protected]>
Co-authored-by: James Rodewig <[email protected]>
|`transport.port` |A bind port range. Defaults to `9300-9400`.
25
+
`transport.port`::
26
+
A bind port range. Defaults to `9300-9400`.
28
27
29
-
|`transport.publish_port` |The port that other nodes in the cluster
28
+
`transport.publish_port`::
29
+
The port that other nodes in the cluster
30
30
should use when communicating with this node. Useful when a cluster node
31
31
is behind a proxy or firewall and the `transport.port` is not directly
32
32
addressable from the outside. Defaults to the actual port assigned via
33
33
`transport.port`.
34
34
35
-
|`transport.bind_host` |The host address to bind the transport service to. Defaults to `transport.host` (if set) or `network.bind_host`.
36
-
37
-
|`transport.publish_host` |The host address to publish for nodes in the cluster to connect to. Defaults to `transport.host` (if set) or `network.publish_host`.
35
+
`transport.bind_host`::
36
+
The host address to bind the transport service to. Defaults to
37
+
`transport.host` (if set) or `network.bind_host`.
38
38
39
-
|`transport.host` |Used to set the `transport.bind_host` and the `transport.publish_host`.
39
+
`transport.publish_host`::
40
+
The host address to publish for nodes in the cluster to connect to.
41
+
Defaults to `transport.host` (if set) or `network.publish_host`.
40
42
43
+
`transport.host`::
44
+
Used to set the `transport.bind_host` and the `transport.publish_host`.
41
45
42
-
|`transport.connect_timeout` |The connect timeout for initiating a new connection (in
46
+
`transport.connect_timeout`::
47
+
The connect timeout for initiating a new connection (in
43
48
time setting format). Defaults to `30s`.
44
49
45
-
|`transport.compress` |Set to `true` to enable compression (`DEFLATE`) between
50
+
`transport.compress`::
51
+
Set to `true` to enable compression (`DEFLATE`) between
46
52
all nodes. Defaults to `false`.
47
53
48
-
|`transport.ping_schedule` | Schedule a regular application-level ping message
54
+
`transport.ping_schedule`::
55
+
Schedule a regular application-level ping message
49
56
to ensure that transport connections between nodes are kept alive. Defaults to
50
57
`5s` in the transport client and `-1` (disabled) elsewhere. It is preferable
51
58
to correctly configure TCP keep-alives instead of using this feature, because
52
59
TCP keep-alives apply to all kinds of long-lived connections and not just to
0 commit comments