### Motivation

Right now, if broker is down when function service starts, it fails to start 
worker and keeps the process hanging in a failure state. Also, function-worker 
doesn't close resource on sigterm or while shutting down.

### Modifications

- shutdown worker if it fails to start
- gracefully shutdown worker service.



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

Reply via email to