summaryrefslogtreecommitdiffstats
path: root/zookeeper-command-line-client/src/main/java/com/yahoo/vespa/zookeeper/cli/Main.java
blob: 1bc1a21a2378236ff1d66ec855ca322172ccdfe4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.zookeeper.cli;

import com.yahoo.vespa.zookeeper.client.ZkClientConfigBuilder;
import org.apache.zookeeper.ZooKeeperMain;

import java.io.IOException;

/**
 * @author bjorncs
 */
public class Main {
    public static void main(String[] args) throws IOException, InterruptedException {
        new ZkClientConfigBuilder()
                .toConfigProperties()
                .forEach(System::setProperty);
        ZooKeeperMain.main(args);
    }
}