You wouldn't need streams. Bolt 1 subscribes to spout Bolt 2 subscribes to spout Bolt 3 subscribes to Bolts 1,2
However, unless your user and subscriber lists are changing frequently, why not just use one bolt and read them during initialization? On Feb 12, 2015 7:30 AM, "Brunner, Bill" <[email protected]> wrote: > Have bolt 1 and 2 output on a defined stream, and bolt 3 listens to that > stream. I don’t remember the exact terminology in storm because I’m using > trident, but that’s the gist. > > > > *From:* Rupani, Nishant [mailto:[email protected]] > *Sent:* Thursday, February 12, 2015 4:50 AM > *To:* [email protected] > *Subject:* Topology question > > > > Hi, > > > > I am trying out storm for first time so please bear with me for naive > questions. We are trying to build a topology with three bolts – > > - Spout to receive the alerts > > - Bolt #1 to fetch the subscribers list > > - Bolt #2 to fetch users we are authorized to receive the alerts > > - Bolt #3 to match bolt #1 and #2 and prepare the final list > > > > Here bolt #3 depends on tuple of #1 and #2. Now a bolt can receive Tuple > from one but I couldn’t figure out how I can build my topology to achieve > the scenario. Can someone please help me if this is doable or do I need to > process all bolts serially? > > > > Thank you in advance. > > > > Regards, > > Nishant > > > > > ------------------------------ > > > NOTICE: Morgan Stanley is not acting as a municipal advisor and the > opinions or views contained herein are not intended to be, and do not > constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall > Street Reform and Consumer Protection Act. If you have received this > communication in error, please destroy all electronic and paper copies; do > not disclose, use or act upon the information; and notify the sender > immediately. Mistransmission is not intended to waive confidentiality or > privilege. Morgan Stanley reserves the right, to the extent permitted under > applicable law, to monitor electronic communications. This message is > subject to terms available at the following link: > http://www.morganstanley.com/disclaimers If you cannot access these > links, please notify us by reply message and we will send the contents to > you. By messaging with Morgan Stanley you consent to the foregoing. > ------------------------------ > This message, and any attachments, is for the intended recipient(s) only, > may contain information that is privileged, confidential and/or proprietary > and subject to important terms and conditions available at > http://www.bankofamerica.com/emaildisclaimer. If you are not the intended > recipient, please delete this message. >
