You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2017/01/26 14:43:24 UTC
[jira] [Created] (STORM-2327) Abstract class ConfigurableTopology
Julien Nioche created STORM-2327:
------------------------------------
Summary: Abstract class ConfigurableTopology
Key: STORM-2327
URL: https://issues.apache.org/jira/browse/STORM-2327
Project: Apache Storm
Issue Type: New Feature
Components: storm-core
Affects Versions: 2.0.0
Reporter: Julien Nioche
Priority: Minor
Classes which run topologies often repeat the same code and pattern to:
* populate the configuration from a file instead of ~/.storm
* determine whether to run locally or remotely
* set a TTL for a topology
Flux provides an elegant way of dealing with these but sometimes it is simpler to define a topology in Java code.
In [StormCrawler|http://stormcrawler.net], we implemented an abstract class named ConfigurableTopology which can be extended and saves users the hassle of having to write code for the things above. I will open a PR containing this class so that we can discuss and comment whether it is of any use at all.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)