[
https://issues.apache.org/jira/browse/STORM-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Brailsford updated STORM-484:
-------------------------------------
Description: Currently topology validation occurs only when submitting the
topology to nimbus. Once a topology is built with
TopologyBuilder.createTopology() all relevant data to validate a topology is
correctly wired already exists. However, TopologyBuilder.createTopology()
incurs the cost of serializing the ComponentObject which isn't needed to
validate the topology is wired correctly. The operation of validating a
topology can provided in TopologyBuilder, or a helper class like
TopologyValidator, to validate a topology while it is being built by consumers
without the cost of serializing ComponentObjects or submitting to nimbus.
(was: Currently topology validation occurs only when submitting the topology to
nimbus. Once a topology is built with TopologyBuilder.createTopology() all
relevant data to validate a topology is correctly wired already exists.
However, TopologyBuilder.createTopology() incurs the cost of serializing the
ComponentObject which isn't needed to validate the topology is wired correctly.
The operation of validating a topology can provided in TopologyBuilder, or a
helper class like TopologyValidator, to validate a topology while it is being
built by consumers without the cost of serializing ComponentObjects.)
> Implement topology validation logic in TopologyBuilder
> ------------------------------------------------------
>
> Key: STORM-484
> URL: https://issues.apache.org/jira/browse/STORM-484
> Project: Apache Storm (Incubating)
> Issue Type: Improvement
> Reporter: Michael Brailsford
> Labels: features
> Fix For: 0.9.2-incubating
>
>
> Currently topology validation occurs only when submitting the topology to
> nimbus. Once a topology is built with TopologyBuilder.createTopology() all
> relevant data to validate a topology is correctly wired already exists.
> However, TopologyBuilder.createTopology() incurs the cost of serializing the
> ComponentObject which isn't needed to validate the topology is wired
> correctly. The operation of validating a topology can provided in
> TopologyBuilder, or a helper class like TopologyValidator, to validate a
> topology while it is being built by consumers without the cost of serializing
> ComponentObjects or submitting to nimbus.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)