You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Cameron Lee (JIRA)" <ji...@apache.org> on 2018/10/02 20:27:00 UTC

[jira] [Created] (SAMZA-1935) Refactor TaskContextImpl to not include access to objects that are only used internally

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)