wangjialing218 commented on a change in pull request #10552:
URL: https://github.com/apache/pulsar/pull/10552#discussion_r630905878
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
##########
@@ -1515,6 +1515,7 @@ public static WorkerConfig
initializeWorkerConfigFromBrokerConfig(ServiceConfigu
String hostname =
ServiceConfigurationUtils.getDefaultOrConfiguredAddress(
ServiceConfigurationUtils.getAppliedAdvertisedAddress(brokerConfig));
workerConfig.setWorkerHostname(hostname);
+ workerConfig.setPulsarFunctionsCluster(brokerConfig.getClusterName());
Review comment:
If user configure another value different with
brokerConfig.getClusterName() , broker will fail to start, refer to #2328.
To avoid this to happen, we could force the value same with
brokerConfig.getClusterName().
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]