Skip to content

[Doc] controlled-failover Optimize example code #23512

Open
@zhuhai1221

Description

@zhuhai1221

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!

Metadata

Metadata

Assignees

Labels

doc-requiredYour PR changes impact docs and you will update later.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions