Cameron Lee created SAMZA-1935:
----------------------------------

             Summary: Refactor TaskContextImpl to not include access to objects 
that are only used internally
                 Key: SAMZA-1935
                 URL: https://issues.apache.org/jira/browse/SAMZA-1935
             Project: Samza
          Issue Type: Improvement
            Reporter: Cameron Lee


TaskContext is intended as a public API, but TaskContextImpl has been used to 
pass around objects for internal usage as well (e.g. stream metadata cache, 
object registry). Some internal components cast the TaskContext to a 
TaskContextImpl to access these objects, but that is not an ideal pattern.

One consideration is to split this internal functionality into a separate 
object which is only passed around internally and is decoupled from 
TaskContextImpl.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to