public String toConfigString() {
        StringBuilder builder = new StringBuilder();
        Map<String, String> properties = toConfigProperties();
        properties.forEach((key, value) -> builder.append(key).append('=').append(value).append('\n'));
        return builder.toString();
    }
Builder for ZK client configuration

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