merlimat commented on issue #6123: Improve recover time from SPOF
URL: https://github.com/apache/pulsar/issues/6123#issuecomment-577307171
 
 
   > I have done some testing of SPOF by kill a broker which dealing a topic 
pub/sub on it, my pulsar is deployed on k8s.
   
   In case of an ungraceful shutdown (eg: the IP of broker stops responding) 
there are 2 settings that controls how quickly the failure is detected/fixed: 
   
    1. ZooKeeper session timeout. default 30s. Before the session expires, the 
ownership of topics still belongs to the failed broker.
    2. Client keep-alive probes. The client sends periodic probes in the 
connection to detect stale TCP connections. The default time is 1min. In Java 
client it's possible to configure the interval: 
https://pulsar.apache.org/api/client/org/apache/pulsar/client/api/ClientBuilder.html#keepAliveInterval-int-java.util.concurrent.TimeUnit-
   
    

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