That's correct, the stream will be duplicated in the above case.

Michael Rose (@Xorlev <https://twitter.com/xorlev>)
Senior Platform Engineer, FullContact <http://www.fullcontact.com/>
[email protected]


On Fri, Apr 25, 2014 at 12:44 PM, David Novogrodsky <
[email protected]> wrote:

> All,
>
> This may be a simple question.  If I have a spout and two
> bolts, printerBolt and secondPrinterBolt;if I do something like this:
>
>         builder.setBolt("secondPrinterBolt", new SecondPrinterBolt())
>                 .fieldsGrouping("criticalSeverityFilter", new
> Fields("severity"));
>         builder.setBolt("printerBolt", new PrinterBolt())
>                 .fieldsGrouping("criticalSeverityFilter", new
> Fields("severity"));
> will both printer bolts be processing the same stream?  I mean if a tuple
> is sent to one printer bolt is it also send to the other printer bolt?
>
> David Novogrodsky
> [email protected]
> http://www.linkedin.com/in/davidnovogrodsky
>

Reply via email to