I'm curious about the circumstances that would necessitate the use of the setNumTasks function. The docs say that the default is one task for each executor.
If I have an 'expensive' db task(calls to external dbs that take time) to run in a bolt with 'fast' tasks on either side would it behoove me to add extra Tasks for this?
Or is this one of those 'try it and see what happens' sort of scenarios?
how to decide how many executors/tasks do you need?
I recommend you read this page