connect abstract method
Connects to the cluster using the provided initial node(s).
This method will perform the following steps:
- Connect to one of the
initialNodesprovided in the constructor. - Call
CLUSTER SLOTSto fetch the topology. - Create connection pools for each discovered master node.
Throws ValkeyConnectionException if it fails to connect or fetch the cluster topology.
Implementation
Future<void> connect();