apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Farkas <...@datatorrent.com>
Subject Proposed Changes To Apex Property Files
Date Wed, 09 Sep 2015 00:44:49 GMT
Hello all,

This JIRA https://malhar.atlassian.net/browse/APEX-28 is proposing a change
to the way attributes are declared in properties files. The proposal will
allow a short form declaration of properties, and supports the following
features:

1 - Root attribute declaration

dt.attr.MEMORY_MB is now a valid property and will set the MEMORY_MB
attribute for all operators

2 - Ambiguous property handling

dt.attr.AUTO_RECORD will set the AUTO_RECORD attribute on both operators
and ports

3 - Fully qualified attribute names

Attribute names can be prefix with the name of their Context class

dt.attr.com.datatorrent.api.Context.PortContext.AUTO_RECORD will set the
AUTO_RECORD attribute for all ports

4 - Child attributes can be specified on parent elements

dt.attr.application.*.attr.MEMORY_MB will set the MEMORY_MB attribute on
all operators

5 - Existing methods for setting properties are supported.

An implementation of this is pending review here:
https://github.com/apache/incubator-apex-core/pull/11

Please provide your feedback.

Thanks,
Tim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message