You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by John Fang <xi...@alibaba-inc.com> on 2016/03/15 01:37:14 UTC
答复: Javadoc in TopologyBuilder
Yes, you are right
发件人: Alexander T [mailto:mittspamkonto@gmail.com]
发送时间: 2016年3月15日 1:07
收件人: user@storm.apache.org
主题: Javadoc in TopologyBuilder
Hello!
In TopologyBuilder, parallelism_hint is documented as:
"* @param parallelism_hint the number of tasks that should be assigned to execute this bolt. Each task will run on a thread in a process somwehere around the cluster."
Is this correct? According to http://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html, parallelism_hint should control the number of executors, not the number of tasks. Tasks are according to this document set by utilizing "setNumTasks".
Best regards,
Alexander