eolivelli commented on a change in pull request #8244:
URL: https://github.com/apache/pulsar/pull/8244#discussion_r506839953



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataTeardown.java
##########
@@ -72,6 +84,13 @@ public static void main(String[] args) throws 
InterruptedException {
 
         ZooKeeper localZk = initZk(arguments.zookeeper, 
arguments.zkSessionTimeoutMillis);
 
+        if (arguments.bkMetadataServiceUri != null) {
+            BookKeeper bookKeeper = new BookKeeper(new 
ClientConfiguration().setMetadataServiceUri(arguments.bkMetadataServiceUri));

Review comment:
       Can we use the org.apache.bookkeeper.client.api.Bookkeeper interface? 
   You are using the old, soon deprecated, API




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to