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

zixuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 8df377998baa Update client-libraries-cluster-level-failover.md (#968)
8df377998baa is described below

commit 8df377998baa66ea709bbc6ea26a4aa627f9bf5d
Author: VisionXu <[email protected]>
AuthorDate: Mon Oct 28 17:02:06 2024 +0800

    Update client-libraries-cluster-level-failover.md (#968)
    
    Fix issue: https://github.com/apache/pulsar/issues/23512
---
 versioned_docs/version-3.0.x/client-libraries-cluster-level-failover.md | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/versioned_docs/version-3.0.x/client-libraries-cluster-level-failover.md 
b/versioned_docs/version-3.0.x/client-libraries-cluster-level-failover.md
index 2b3a8c9f8be3..612fda771154 100644
--- a/versioned_docs/version-3.0.x/client-libraries-cluster-level-failover.md
+++ b/versioned_docs/version-3.0.x/client-libraries-cluster-level-failover.md
@@ -70,7 +70,6 @@ private PulsarClient getAutoFailoverClient() throws 
PulsarClientException {
         .tlsTrustCertsFilePath(primaryTlsTrustCertsFilePath)
         .build();
 
-    failover.initialize(pulsarClient);
     return pulsarClient;
 }
 ```
@@ -116,7 +115,6 @@ public PulsarClient getControlledFailoverClient() throws 
IOException {
                     .serviceUrlProvider(provider)
                     .build();
 
-    provider.initialize(pulsarClient);
     return pulsarClient;
 }
 ```

Reply via email to