gaozhangmin commented on a change in pull request #14450:
URL: https://github.com/apache/pulsar/pull/14450#discussion_r829703439



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
##########
@@ -780,14 +780,14 @@ public void start() throws PulsarServerException {
 
             acquireSLANamespace();
 
-            // start function worker service if necessary
-            this.startWorkerService(brokerService.getAuthenticationService(), 
brokerService.getAuthorizationService());
-
             // start packages management service if necessary
             if (config.isEnablePackagesManagement()) {
                 this.startPackagesManagementService();
             }

Review comment:
       There are two situations:
   1、Run Functions-worker with brokers. If broker enables  function worker 
without enabling packageManagement,  packageManagement service is enabled in 
worker by default. Else, worker will use packageManagement service enabled by 
broker.
   2、Run Functions-worker separately. Without broker, We enable 
packageManagement service  in worker by default




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to