Yes, you are right

 

发件人: Alexander T [mailto:[email protected]] 
发送时间: 2016年3月15日 1:07
收件人: [email protected]
主题: 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

 

 

Reply via email to