eolivelli commented on a change in pull request #8876:
URL: https://github.com/apache/pulsar/pull/8876#discussion_r539311538



##########
File path: 
pulsar-package-management/bookkeeper-storage/src/main/java/org/apache/pulsar/packages/management/storage/bookkeeper/BookKeeperPackagesStorageConfiguration.java
##########
@@ -35,15 +35,15 @@
     }
 
     int getNumReplicas() {

Review comment:
       what about naming this method` getPackagesReplicas() `?

##########
File path: 
pulsar-package-management/bookkeeper-storage/src/main/java/org/apache/pulsar/packages/management/storage/bookkeeper/BookKeeperPackagesStorageConfiguration.java
##########
@@ -35,15 +35,15 @@
     }
 
     int getNumReplicas() {
-        return Integer.parseInt(getProperty("numReplicas"));
+        return Integer.parseInt(getProperty("packagesReplicas"));
     }
 
     String getZkServers() {
-        return getProperty("zkServers");
+        return getProperty("zookeeperServers");

Review comment:
       what about naming this method  getZookeeperServers() `?

##########
File path: 
pulsar-package-management/bookkeeper-storage/src/main/java/org/apache/pulsar/packages/management/storage/bookkeeper/BookKeeperPackagesStorageConfiguration.java
##########
@@ -35,15 +35,15 @@
     }
 
     int getNumReplicas() {
-        return Integer.parseInt(getProperty("numReplicas"));
+        return Integer.parseInt(getProperty("packagesReplicas"));
     }
 
     String getZkServers() {
-        return getProperty("zkServers");
+        return getProperty("zookeeperServers");
     }
 
     String getLedgersRootPath() {
-        return getProperty("ledgerRootPath");
+        return getProperty("packagesManagementLedgerRootPath");

Review comment:
       what about naming this method  `getPackagesManagementLedgerRootPath()`?
   




----------------------------------------------------------------
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]


Reply via email to