table of Contents
presentation zookeeper API
Import dependency
Zookeeper because more dependent jar package, it is recommended to use Maven to manage since, only need to add the following content to rely on the pom.xml:
<dependency> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> <version>3.4.14</version> <type>pom</type> </dependency>