protected static final Object mergeMetricRegistry(List<ClickHouseConfig> list) {
        if (list == null || list.isEmpty()) {
            return null;
        }

        Object metricRegistry = null;
        for (ClickHouseConfig c : list) {
            if (c != null && c.metricRegistry.isPresent()) {
                metricRegistry = c.metricRegistry.get();
                break;
            }
        }

        return metricRegistry;
    }
An immutable class holding client-specific options like
{@link ClickHouseCredentials} and {@link ClickHouseNodeSelector} etc.
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseConfig.java