*Motivation* NullPointerException was thrown when function worker is running as part of broker and metrics collection kicks in before worker service completes initialization
*Changes* Only generate functions when worker service is ready [ Full content available at: https://github.com/apache/pulsar/pull/2723 ] This message was relayed via gitbox.apache.org for [email protected]
