Reference

leafnodes

Configuration for setting up leaf node connections.

  • Default value: n/a
  • Hot reloadable: No
  • Aliases: leaf

Values

TypeDescriptionChoices
objectAn object with a set of explicit properties that can be set.-

Properties

Incoming Connections

A server that has been configured to accept connections from one or more leaf nodes. This would be the hub in a hub-and-spoke topology, for example.

NameDescriptionTypeDefault
hostHost name the server will listen on for incoming leaf node connections.string-
portPort the server will listen for incoming leaf node connections.integer7422
listenstring-
tlsTLS configuration for securing leaf node connections.object-
advertiseHostport to advertise how this sever be contacted by leaf nodes. This is useful for setups with a NAT.string-
no_advertiseIf true, the server will not be advertised to leaf nodes.booleanfalse
authorizationAuthorization scoped to accepting leaf node connections.object-
min_versionThe minimum server version required of the connecting leaf node. This must be at least version 2.8.0.string-

Outgoing Connections

A server that has been configured to connect to another server configured to accept leaf node connections. In a hub-and-spoke topology, this would be the spoke, typically in a remote location or on an edge device.

NameDescriptionTypeDefault
remotesList of entries specifiying servers where the leaf node client connection can be made.object-
reconnectInterval in seconds at which reconnect attempts to a remote server are made.integer-
Previous
pinned_certs