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



[ Full content available at: 
https://github.com/apache/incubator-pulsar/pull/2424 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to