You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chinmay Soman (JIRA)" <ji...@apache.org> on 2014/12/04 02:59:12 UTC

[jira] [Commented] (SAMZA-471) Make config easy to specify default values and validation

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

Chinmay Soman commented on SAMZA-471:
-------------------------------------

Attaching RB: https://reviews.apache.org/r/28687/

This is only meant for gathering feedback. I've tried to use Kafka's ConfigDef inside the samza-kafka module in order to make config management easier. Please take a look.

> Make config easy to specify default values and validation
> ---------------------------------------------------------
>
>                 Key: SAMZA-471
>                 URL: https://issues.apache.org/jira/browse/SAMZA-471
>             Project: Samza
>          Issue Type: Improvement
>    Affects Versions: 0.9.0
>            Reporter: Chinmay Soman
>            Assignee: Chinmay Soman
>             Fix For: 0.9.0
>
>
> This ticket addresses the first few points of SAMZA-40:
> * Want to auto-generate documentation based off of configuration.
> * Should support global defaults for a config property. Right now, we do config.getFoo.getOrElse() everywhere.
> * Should validate config up front, rather than thrown runtime exceptions randomly throughout the code.
> * Should remove implicits



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