Jackie-Jiang commented on code in PR #15595:
URL: https://github.com/apache/pinot/pull/15595#discussion_r2057074045


##########
pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.java:
##########
@@ -162,10 +162,10 @@ public void init(PinotConfiguration brokerConf)
     _zkServers = 
brokerConf.getProperty(Helix.CONFIG_OF_ZOOKEEPR_SERVER).replaceAll("\\s+", "");
     _clusterName = brokerConf.getProperty(Helix.CONFIG_OF_CLUSTER_NAME);
     ServiceStartableUtils.applyClusterConfig(_brokerConf, _zkServers, 
_clusterName, ServiceRole.BROKER);
+    applyCustomConfigs(brokerConf);

Review Comment:
   We want the custom starter being able to add configs to be picked up in the 
following initialization code. If custom starter wants to add other logic after 
`init()`, right now it can override `init()` and add code after `super.init()`. 
We can also consider adding a hook called `postInit()`



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to