Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Marc Vaillant <vaill...@animetrics.com> |
Subject | Can a topology be configured to force a maximum of 1 executor per worker? |
Date | Wed, 05 Feb 2014 16:06:33 GMT |
Suppose that you have a bolt whose tasks are not thread safe but you still want parallelism. It seems that this could be achieved via multiprocessing by forcing a maximium of 1 executor per worker. With this constraint, if you chose a parallelism hint of 4 (with default executors) you would get 4 tasks in 4 executors each running in a separate worker. Can this constraint be configured? Thanks, Marc | |
Mime |
|
View raw message |