public ZKClientConfig toConfig() {
        ZKClientConfig config = new ZKClientConfig();
        Map<String, String> configProperties = toConfigProperties();
        configProperties.forEach(config::setProperty);
        return config;
    }
Builder for ZK client configuration

@author bjorncs
zookeeper-client-common/src/main/java/com/yahoo/vespa/zookeeper/client/ZkClientConfigBuilder.java