The endpoint of the node. If port is not provided, should be in the ${address}:${port} format, where address is the preferred endpoint as shown in the output of the CLUSTER SLOTS command.
OptionalportThe port to access on the node. If port is not provided, host is assumed to be in the format ${address}:${port}.
Routing configuration to send a command to a specific node by its address and port.
Remarks
This interface allows you to specify routing of a command to a node in the Valkey cluster by providing its network address and port. It's useful when you need to direct a command to a particular node.
"routeByAddress"to indicate that the routing should be based on the provided address.portis not provided,hostshould be in the format${address}:${port}, whereaddressis the preferred endpoint as shown in the output of theCLUSTER SLOTScommand.portis provided,hostshould be the address or hostname of the node without the port.portis not provided,hostis assumed to include the port number.Example