You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "zhuhai1221 (via GitHub)" <gi...@apache.org> on 2024/10/24 07:19:23 UTC

[I] [Doc] controlled-failover Optimize example code [pulsar]

zhuhai1221 opened a new issue, #23512:
URL: https://github.com/apache/pulsar/issues/23512

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/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](https://github.com/user-attachments/assets/33ce2f8d-8bfa-44e4-9f97-558a71ea32ff)
   
   because org.apache.pulsar.client.impl.ClientBuilderImpl#build already initialize
   ![image](https://github.com/user-attachments/assets/355f274f-c8cb-4d38-a175-b6d4e61a6b2c)
   
   
   ### What is your suggestion?
   
   delete <code>provider.initialize(pulsarClient);<code/>
   ![image](https://github.com/user-attachments/assets/79976742-1f7c-4070-8106-80b349801bc5)
   
   
   ### Any reference?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #23512: [Doc] controlled-failover Optimize example code
URL: https://github.com/apache/pulsar/issues/23512


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "david-streamlio (via GitHub)" <gi...@apache.org>.
david-streamlio commented on issue #23512:
URL: https://github.com/apache/pulsar/issues/23512#issuecomment-5470247201

   @Ganny-lp This issue is still relevant, and  would appreciate you picking it up.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "Ganny-lp (via GitHub)" <gi...@apache.org>.
Ganny-lp commented on issue #23512:
URL: https://github.com/apache/pulsar/issues/23512#issuecomment-5469995355

   Hello, @david-streamlio , is this issue still relevant? If so, I'd like to work on it.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #23512:
URL: https://github.com/apache/pulsar/issues/23512#issuecomment-6164118962

   Fixed by #25899


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "Ganny-lp (via GitHub)" <gi...@apache.org>.
Ganny-lp commented on issue #23512:
URL: https://github.com/apache/pulsar/issues/23512#issuecomment-5552801128

   > [@Ganny-lp](https://github.com/Ganny-lp) This issue is still relevant, and would appreciate you picking it up.
   
   Taking a look at it, it seems that 'provider.initialize' is not present anymore. Therefore, I suggest closing this issue.
   
   <img width="788" height="470" alt="Image" src="https://github.com/user-attachments/assets/24b6ff75-68f9-4455-a889-4bbc5f968b84" />


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "visxu (via GitHub)" <gi...@apache.org>.
visxu commented on issue #23512:
URL: https://github.com/apache/pulsar/issues/23512#issuecomment-2437193319

   Yes, I checked the doc and source code, I agree the suggestion. 
   Please assign the issue to me.
   @crossoverJie 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] controlled-failover Optimize example code [pulsar]

Posted by "zhuhai1221 (via GitHub)" <gi...@apache.org>.
zhuhai1221 commented on issue #23512:
URL: https://github.com/apache/pulsar/issues/23512#issuecomment-2434513919

   https://pulsar.apache.org/docs/3.0.x/client-libraries-cluster-level-failover/#automatic-failover
   The same problem also exists here
   ![image](https://github.com/user-attachments/assets/7ec92e1d-4cc7-478f-b2df-719b5d05453d)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org