apache/pulsar

[Doc] controlled-failover Optimize example code

Open

#23,512 opened on Oct 24, 2024

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Java (13,697 stars) (3,485 forks)batch import
doc-requiredgood first issue

Description

Search before asking

  • I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?

https://pulsar.apache.org/docs/3.0.x/client-libraries-cluster-level-failover/#controlled-failover There is unnecessary code present image image

because org.apache.pulsar.client.impl.ClientBuilderImpl#build already initialize image

What is your suggestion?

delete provider.initialize(pulsarClient); image

Any reference?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Contributor guide