Supposing that you have the following topology
spout
spout (sends tuple to )bolt1
bolt1 (sends tuple to) bolt2
and the following settings:
3 process workers
spout,parallel hint=1
bolt1, parallel hint=2
bolt2,parallel hint=3
my questions are:
Am I right with the following (possible) distribution among the workers:
Worker1 spout1 bolt 2 Worker2 bolt 1 bolt 2 Worker3 bolt1 bolt 2- In the above conditions, will the bolt1 (from worker2, worker3 ) get any tuple from spout?
- will the bolt 2 from the worker 1 get any data from bolt 1?
- Do we have to keep a proportional rate between number of workers and spouts/bolts in order that each of the worker to get a a least a spout/or bolt?