You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/04/16 20:32:01 UTC

[GitHub] rdhabalia opened a new pull request #1589: Start function worker service after broker is fully started

rdhabalia opened a new pull request #1589: Start function worker service after broker is fully started
URL: https://github.com/apache/incubator-pulsar/pull/1589
 
 
   ### Motivation
   
   Function-worker service depends on broker in many aspect so, it should start after broker service is fully started.
   eg: [MemberShipManager](https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/MembershipManager.java#L127) getStats call fails with connectionRefuse as web-service is not started yet.
   
   ### Modifications
   
   Start function worker-service after web-service and broker service is fully started.
   
   ### Result
   
   Prevent any failure condition at function service where function init depends on broker-web-service.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services