noob-se7en commented on code in PR #16572:
URL: https://github.com/apache/pinot/pull/16572#discussion_r2287584581
##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeConsumptionRateManager.java:
##########
@@ -258,14 +307,15 @@ private PartitionRateLimiter(double rate, ServerMetrics
serverMetrics, String me
}
@Override
- public void throttle(int numMsgs) {
+ public void throttle(MessageBatch messageBatch) {
if (InstanceHolder.INSTANCE._isThrottlingAllowed) {
+ int units = messageBatch.getMessageCount();
Review Comment:
Currently there is no requirement for having byte level rate limiting at
table/partition level. Hence we will add when its required.
--
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]