9aman commented on code in PR #16407:
URL: https://github.com/apache/pinot/pull/16407#discussion_r2230318408


##########
pinot-server/src/main/java/org/apache/pinot/server/starter/helix/BaseServerStarter.java:
##########
@@ -685,6 +685,12 @@ public void start()
     InstanceDataManager instanceDataManager = 
_serverInstance.getInstanceDataManager();
     instanceDataManager.setSupplierOfIsServerReadyToServeQueries(() -> 
_isServerReadyToServeQueries);
 
+    // Enable Server level realtime ingestion rate limier
+    
RealtimeConsumptionRateManager.getInstance().createServerRateLimiter(_serverConf,
 serverMetrics);

Review Comment:
   I guess the idea to is instantiate this limiter before the state model 
factory is registered ?



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