Class InProcessZookeeper

  • All Implemented Interfaces:
    AutoCloseable

    public class InProcessZookeeper
    extends Object
    implements AutoCloseable
    A local Zookeeper instance available for testing. ```java try (InProcessZookeeper zk = new InProcessZookeeper) { // Run Tests... } ```
    • Constructor Detail

    • Method Detail

      • getPort

        public long getPort()
        Get port.
        Returns:
        the port ZK is listening on (localhost)