No , what ever spout emits all tuples will go all bolts .but as per your requirement you consider required tuple in corresponding bolt!. I mean when bolt C receives tuple A,B what ever tuple you need either A or B in side Bolt C you can get that field only!
Thanks! Date: Fri, 22 May 2015 07:37:17 +0800 Subject: 1 spout emit 2 tuples to 2 different bolt From: [email protected] To: [email protected] Can 1 spout emit 2 tuples to 2 different bolt ? How should I do so using spout in Java? Like this: outputcollector.emit(new Values(A, B)), where A is the tuple to sent to bolt C and B is tuple to sent to bolt D?
