case classClusterAwareHostBalancer(host: Uri, cluster: String = "cluster", manager: ActorRef, scanningInterval: FiniteDuration)(implicit system: ActorSystem, connectionRetrievalTimeout: Timeout, ec: ExecutionContext, materializer: Materializer) extends HostBalancer with Product with Serializable
Host balancer that does a round robin on all the entries found in the system.clusters table.
Host balancer that does a round robin on all the entries found in the system.clusters table.
It assumes that the service itself can access directly the clickhouse nodes and that the default port 8123 is used
for every node.
case classMultiHostBalancer(hosts: Set[Uri], manager: ActorRef)(implicit system: ActorSystem) extends HostBalancer with ClickhouseHostBuilder with Product with Serializable
Host balancer that does a round robin on all the entries found in the
system.clusters
table. It assumes that the service itself can access directly the clickhouse nodes and that the default port8123
is used for every node.