lakshmi-manasa-g opened a new pull request #1585:
URL: https://github.com/apache/samza/pull/1585


   Symptom: Certain container level metrics have incorrect values when 
elasticity is enabled. Metrics affected: chose-object, num-envelopes, 
process-calls, messages-chosen.
   
   Cause: With elasticity enabled, a container may process only some of the 
messages of an SSP and not all of the messages in the SSP. the messages 
processed belong to the key buckets within the container's model. However, 
pre-elasticity container level metrics counted the messages per ssp. 
   
   Changes: Adapt SystemConsumers and RunLoop to account for key buckets. 
SystemConsumers keeps track of all the SSP(with key buckets) registered with it 
by the RunLoop and increments only the metrics only if the message belongs to 
this SSP set.
   
   Tests: added unit tests to verify correct values for metrics
   
   API changes: None
   
   Usage/Upgrade instructions: None


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


Reply via email to