Navina Ramesh created SAMZA-887:
-----------------------------------

             Summary: Use cached JobModel everywhere in the Samza AM container
                 Key: SAMZA-887
                 URL: https://issues.apache.org/jira/browse/SAMZA-887
             Project: Samza
          Issue Type: Bug
            Reporter: Navina Ramesh


Since the CoordinatorStreamConsumer is inefficient in how it stays up-to-date 
with the coordinator stream, it is not acceptable to call 
jobcoordinator.jobModel() to access the jobmodel within the AM container. This 
will trigger a "refreshJobModel" on each access. Instead, we should be using 
cached job model's reference (JobCoordinator.jobModelRef) to access the config. 

As of today, this incorrect access pattern can be seen StreamAppender.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to