ivankelly commented on a change in pull request #1059: Issue 1014: Rename 
"global zookeeper" to "configuration-store"(change in code, conf and cli)
URL: https://github.com/apache/incubator-pulsar/pull/1059#discussion_r173123395
 
 

 ##########
 File path: 
pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/server/DiscoveryServiceStarter.java
 ##########
 @@ -40,6 +40,15 @@
  */
 public class DiscoveryServiceStarter {
 
+    public static void checkConfig(ServiceConfig config) {
+        checkArgument(!isEmpty(config.getZookeeperServers()), 
"zookeeperServers must be provided");
+        if(!isEmpty(config.getGlobalZookeeperServers()) && 
isEmpty(config.getConfigurationStoreServers())) {
 
 Review comment:
   Why doesn't ServiceConfig handle this in the same way as 
ServiceConfiguration?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to