storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [1/2] storm git commit: Touch up parallelism doc: typo, config for hint.
Date Wed, 15 Jul 2015 21:17:57 GMT
Repository: storm
Updated Branches:
  refs/heads/master eb583bb50 -> cddd2531c


Touch up parallelism doc: typo, config for hint.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/792a88d1
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/792a88d1
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/792a88d1

Branch: refs/heads/master
Commit: 792a88d1ff636da78199146e57c4fc0c84b3a284
Parents: 9906f85
Author: Ron DuPlain <ron.duplain@gmail.com>
Authored: Sat Jul 11 08:17:28 2015 -0400
Committer: Ron DuPlain <ron.duplain@gmail.com>
Committed: Sat Jul 11 08:17:28 2015 -0400

----------------------------------------------------------------------
 .../Understanding-the-parallelism-of-a-Storm-topology.md        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/792a88d1/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
----------------------------------------------------------------------
diff --git a/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md b/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
index efa6a9b..9b1e006 100644
--- a/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
+++ b/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
@@ -37,7 +37,7 @@ The following sections give an overview of the various configuration options
and
 ### Number of executors (threads)
 
 * Description: How many executors to spawn _per component_.
-* Configuration option: ?
+* Configuration option: None (pass ``parallelism_hint`` parameter to ``setSpout`` or ``setBolt``)
 * How to set in your code (examples):
     * [TopologyBuilder#setSpout()](/javadoc/apidocs/backtype/storm/topology/TopologyBuilder.html)
     * [TopologyBuilder#setBolt()](/javadoc/apidocs/backtype/storm/topology/TopologyBuilder.html)
@@ -56,7 +56,7 @@ Here is an example code snippet to show these settings in practice:
 ```java
 topologyBuilder.setBolt("green-bolt", new GreenBolt(), 2)
                .setNumTasks(4)
-               .shuffleGrouping("blue-spout);
+               .shuffleGrouping("blue-spout");
 ```
 
 In the above code we configured Storm to run the bolt ``GreenBolt`` with an initial number
of two executors and four associated tasks. Storm will run two tasks per executor (thread).
If you do not explicitly configure the number of tasks, Storm will run by default one task
per executor.
@@ -120,4 +120,3 @@ $ storm rebalance mytopology -n 5 -e blue-spout=3 -e yellow-bolt=10
 * [Local mode](Local-mode.html)
 * [Tutorial](Tutorial.html)
 * [Storm API documentation](/javadoc/apidocs/), most notably the class ``Config``
-


Mime
View raw message