See https://github.com/apache/storm/pull/2139/files


On 14 February 2017 at 09:28, anshu shukla <anshushuk...@gmail.com> wrote:

> +1
>
> On Fri, Aug 26, 2016 at 4:48 PM, Nathan Trevivian <nat...@mattburns.co.uk>
> wrote:
>
>> Hi all,
>>
>> I've been using Flux to configure my topologies, but have noticed that it
>> doesn't let you specify the number of tasks against executors- only a
>> parallelism hint.
>>
>> When previously configuring topologies using code, you could set the
>> number of executors, and then specify the number of tasks per executor, eg:
>>
>> topologyBuilder.setBolt("green-bolt", new GreenBolt(), 2) .setNumTasks(4)
>> .shuffleGrouping("blue-spout");
>>
>> (as per http://www.michael-noll.com/blog/2012/10/16/understandin
>> g-the-parallelism-of-a-storm-topology/)
>>
>> In the above example, the GreenBolt is given 2 executors, which each have
>> 2 tasks (4 tasks total).
>>
>> If you just set parallelism, you get 1 task per executor as standard.
>>
>> How can I configure something like the above example using Flux?
>>
>> Thanks for any help anyone can offer!
>>
>
>
>
> --
> Thanks & Regards,
> Anshu Shukla
>



-- 

*Open Source Solutions for Text Engineering*

http://www.digitalpebble.com
http://digitalpebble.blogspot.com/
#digitalpebble <http://twitter.com/digitalpebble>

Reply via email to