Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,29 @@ Build
Run
- $chmod +x target/zooinspector-pkg/bin/zooinspector.sh
- $target/zooinspector-pkg/bin/zooinspector.sh

Support SASL DIGEST-MD5
- Edit $target/zooinspector-pkg/bin/zooinspector.sh, Add "java.security.auth.login.config" jvm options.

**zooinspector.sh example:**
```shell script
exec "$JAVACMD" $JAVA_OPTS \
$EXTRA_JVM_ARGUMENTS \
-classpath "$CLASSPATH" \
-Dapp.name="zooinspector" \
-Dapp.pid="$$" \
-Dapp.repo="$REPO" \
-Dbasedir="$BASEDIR" \
-Djava.security.auth.login.config={your path}/zk_client.conf \
org.apache.zookeeper.inspector.ZooInspector \
"$@"
```
**zk_client.conf example:**
```shell script
Client {
org.apache.zookeeper.server.auth.DigestLoginModule required
username=""
password="";
};
```

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zooinspector</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>
<name>zooinspector</name>
<url>http://maven.apache.org</url>

Expand Down Expand Up @@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.3.3</version>
<version>3.6.0</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
Expand Down