codelipenghui commented on issue #6347: PIP 57: Improve Zookeeper Session 
Timeout Handling
URL: https://github.com/apache/pulsar/pull/6347#issuecomment-587264238
 
 
   @sijie
   If I understand correctly, I think the zookeeper client already handles 
session re-creation. The broker uses 
https://github.com/apache/pulsar/blob/master/pulsar-zookeeper-utils/src/main/java/org/apache/pulsar/zookeeper/ZookeeperBkClientFactoryImpl.java#L53
 to create a zookeeper client.
   
   And the created zookeeper client has handled the session re-creation when 
the session expired : 
   
https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/zookeeper/ZooKeeperClient.java#L357.
   
https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/zookeeper/ZooKeeperClient.java#L123

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to