You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2014/10/15 22:20:34 UTC

[jira] [Commented] (SAMZA-431) Separate wiring from the configuration system

    [ https://issues.apache.org/jira/browse/SAMZA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172875#comment-14172875 ] 

Chris Riccomini commented on SAMZA-431:
---------------------------------------

A relatively incremental improvement to the existing system would be to introduce a factory registry. The registry would just be a map from String to factory (e.g. "kafka" -> KafkaSystemFactory). Developers could then just specify "kafka" instead of "org.apache.samza.kafka.KafkaSystemFactory" in their config file. Samza could just walk all classes, and look for an @annotation or just factories that implement SamzaFactory (or something) to construct the registry on startup.

I believe [~martinkl] was asking for something like this a while ago.

> Separate wiring from the configuration system
> ---------------------------------------------
>
>                 Key: SAMZA-431
>                 URL: https://issues.apache.org/jira/browse/SAMZA-431
>             Project: Samza
>          Issue Type: Improvement
>          Components: container
>    Affects Versions: 0.8.0
>            Reporter: Chinmay Soman
>             Fix For: 0.8.0
>
>
> Currently, we're mixing wiring together with config. Investigate how this can be simplified. 



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