Class BalancedClickhouseDataSource

  • All Implemented Interfaces:
    Wrapper, CommonDataSource, DataSource

    public class BalancedClickhouseDataSource
    extends Object
    implements DataSource

    Database for clickhouse jdbc connections.

    It has list of database urls. For every getConnection invocation, it returns connection to random host from the list. Furthermore, this class has method scheduleActualization which test hosts for availability. By default, this option is turned off.