[
https://issues.apache.org/jira/browse/SAMZA-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommy Becker updated SAMZA-514:
-------------------------------
Summary: Provide a way to share objects within a container (was: Provide a
way to share class instances within a single container)
> Provide a way to share objects within a container
> -------------------------------------------------
>
> Key: SAMZA-514
> URL: https://issues.apache.org/jira/browse/SAMZA-514
> Project: Samza
> Issue Type: New Feature
> Components: container
> Affects Versions: 0.8.0
> Reporter: Tommy Becker
>
> Samza currently does not provide a way to share objects between user-provided
> components such as task instances and serde factories. Even if you use
> Singletons, there is still an issue of where to initialize them. This could
> be solved by providing a new interface, say JobListener, which would receive
> a JobContext object and the Config. The listener implementation could then
> create objects and place them into the JobContext, which would then be passed
> to things like SerdeFactorys, StreamTask instances, etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)