public class InProcessZookeeper extends Object implements AutoCloseable
A local Zookeeper instance available for testing. java
try (InProcessZookeeper zk = new InProcessZookeeper) {
// Run Tests...
}
Constructor and Description |
---|
InProcessZookeeper() |
public long getPort()
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2019 The Apache Software Foundation. All rights reserved.