docs: protected Mono<SocketAddress> getSocketAddressSupplier(Function<Partitions, Collection<RedisClusterNode>> sortFunction) {
  
          LettuceAssert.notNull(sortFunction, "Sort function must not be null");
  
          final RoundRobinSocketAddressSupplier socketAddressSupplier = new RoundRobinSocketAddressSupplier(partitions,
                  sortFunction, clientResources);
  
          return Mono.defer(() -> {
  
              if (partitions.isEmpty()) {
                  return Mono.fromCallable(() -> {
                      SocketAddress socketAddress = clientResources.socketAddressResolver().resolve(getFirstUri());
                      logger.debug("Resolved SocketAddress {} using {}", socketAddress, getFirstUri());
                      return socketAddress;
                  });
              }
  
              return Mono.fromCallable(socketAddressSupplier::get);
          });
      }