Issue #1961: Included ZooKeeper client AclId.
Descriptions of the changes in this PR:
Included ZooKeeper Acl to the builder.
### Changes
It is now possible to unbind DistributedLog namesapaces.
Master Issue: #1961
Reviewers: Ivan Kelly <ivank@apache.org>, Sijie Guo <None>
This closes #2118 from hugomiguelabreu/master, closes #1961
diff --git a/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java b/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
index 2ecd338..1776c3e 100644
--- a/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
+++ b/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
@@ -460,7 +460,7 @@
boolean force = cmdline.hasOption("f");
URI uri = URI.create(args[0]);
// resolving the uri to see if there is another bindings in this uri.
- ZooKeeperClient zkc = ZooKeeperClientBuilder.newBuilder().uri(uri)
+ ZooKeeperClient zkc = ZooKeeperClientBuilder.newBuilder().uri(uri).zkAclId(null)
.sessionTimeoutMs(10000).build();
BKDLConfig bkdlConfig;
try {