Hi.

I also suggest you to read
https://storm.apache.org/documentation/Concepts.html before reading my
comment.

<https://storm.apache.org/documentation/Concepts.html>You can define
multiple streams from Spout, and emit tuple A and B to different streams.
(But you should emit tuples with stream name.)
Then you can follow these streams from each Bolts.
Please refer OutputFieldsDeclarer.declareStream().

Hope this helps.

Regards.
Jungtaek Lim (HeartSaVioR)


2015-05-22 8:37 GMT+09:00 Chun Yuen Lim <[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?
>
>


-- 
Name : 임 정택
Blog : http://www.heartsavior.net / http://dev.heartsavior.net
Twitter : http://twitter.com/heartsavior
LinkedIn : http://www.linkedin.com/in/heartsavior

Reply via email to