rdhabalia opened a new pull request #2424: Support heartbeat function for worker
URL: https://github.com/apache/incubator-pulsar/pull/2424
 
 
   ### Motivation
   
   We want to setup a sanity-test for each worker by submitting a function and 
perform a heartbeat test for the worker. We have similar heartbeat namespace at 
pulsar-broker as well to check broker-state. So, introducing heartbeat function 
which can be only owned by a specific worker so, we can setup a sanity test for 
worker in the cluster.
   
   #### Heartbeat function
   1. If a function is created under tenant=`pulsar-function` and 
namespace=`heartbeat` then worker will consider it as a heartbeat function and 
function-name will be considered as a `worker-id` so, that function will be 
only assigned to that worker-id.
   2. Now, admin can submit a sanity-function to specific worker and perform 
sanity test on that worker.
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to