You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Viktor (JIRA)" <ji...@apache.org> on 2019/02/27 09:04:00 UTC
[jira] [Updated] (SAMZA-1935) Refactor TaskContextImpl to not
include access to objects that are only used internally
[ https://issues.apache.org/jira/browse/SAMZA-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viktor updated SAMZA-1935:
--------------------------
Comment: was deleted
(was: Patch available on https://github.com/apache/samza/pull/934)
> 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
> Assignee: Viktor
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)