caofangkun created STORM-327:
--------------------------------

             Summary: command-line interface  for Storm and provide some lkind 
of Script  to assemble and install topology 
                 Key: STORM-327
                 URL: https://issues.apache.org/jira/browse/STORM-327
             Project: Apache Storm (Incubating)
          Issue Type: New Feature
            Reporter: caofangkun
            Priority: Minor


{code}
> set topology.name=test_topology;
> set storm.jar=./jstorm-example-0.9.0.jar;
> add jar jstorm-example-0.9.0.jar;
> REGISTER spout=SPOUT("storm.starter.spout.RandomSentenceSpout", 5);
> REGISTER split=BOLT("storm.starter.WordCountTopology$SplitSentence", 
> 8).SHUFFLE("spout");
> REGISTER count=BOLT("storm.starter.WordCountTopology$WordCount", 
> 12).FIELDS("split", "word");
> submit;

{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to