You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2022/02/24 18:37:11 UTC

[GitHub] [samza] rmatharu commented on a change in pull request #1585: SAMZA-2719: [Elasticity] fix container level metrics when elasticity is enabled

rmatharu commented on a change in pull request #1585:
URL: https://github.com/apache/samza/pull/1585#discussion_r814161058



##########
File path: samza-core/src/main/java/org/apache/samza/container/RunLoop.java
##########
@@ -276,6 +276,9 @@ private void runTasks(IncomingMessageEnvelope envelope) {
           consumerMultiplexer.tryUpdate(envelope.getSystemStreamPartition(elasticityFactor));

Review comment:
       In the comments above 
   "this condition happens when only a subset of keyBuckets of an SSP are being consumed at this container (but not all keyBuckets), therefore, we 
   fake the consumption of the envelope, 
   and decrement the metric, since this envelope's processing is  skipped.




-- 
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: commits-unsubscribe@samza.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org