You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2021/11/11 21:02:06 UTC

[pulsar] branch branch-2.9 updated: [issue-12764] Revert "BookkeeperClientFactory should pass in the ZK instance (#12192)" (#12766)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new 28e3d79  [issue-12764] Revert "BookkeeperClientFactory should pass in the ZK instance (#12192)" (#12766)
28e3d79 is described below

commit 28e3d79db10f43d0b8a152e73e1daa7f5a577884
Author: Eron Wright <ew...@streamnative.io>
AuthorDate: Thu Nov 11 13:00:56 2021 -0800

    [issue-12764] Revert "BookkeeperClientFactory should pass in the ZK instance (#12192)" (#12766)
    
    This reverts commit 33580ca6c28f612d3eeb250341a0cb8883961afc.
---
 .../main/java/org/apache/pulsar/broker/BookKeeperClientFactoryImpl.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/BookKeeperClientFactoryImpl.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/BookKeeperClientFactoryImpl.java
index 996bf22..9a09deb 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/BookKeeperClientFactoryImpl.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/BookKeeperClientFactoryImpl.java
@@ -81,7 +81,6 @@ public class BookKeeperClientFactoryImpl implements BookKeeperClientFactory {
         try {
             return BookKeeper.forConfig(bkConf)
                     .allocator(PulsarByteBufAllocator.DEFAULT)
-                    .setZookeeper(zkClient)
                     .eventLoopGroup(eventLoopGroup)
                     .statsLogger(statsLogger)
                     .build();