You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Itai Frenkel <It...@forter.com> on 2015/01/08 15:13:56 UTC
Join bolt that auto-magically joins declared output fields ?
Is it possible to write a join bolt that joins tuples from two different bolts, and automatically exposes the correct output fields ?
For example:
A--(x)-->Join--(x,y)
B--(y)----^
Given bolt A that declares ("x") as an output field, and bolt B that declares ("y") as an output field, how would I code a reusable Join bolt that auto-magically returns ("x","y") as the output field.
thanks,
Itai
RE: Join bolt that auto-magically joins declared output fields ?
Posted by "Brunner, Bill" <bi...@baml.com>.
Trident can do it natively using .merge or .join, depending on your use case.
From: Itai Frenkel [mailto:Itai@forter.com]
Sent: Thursday, January 08, 2015 9:14 AM
To: user@storm.apache.org
Subject: Join bolt that auto-magically joins declared output fields ?
Is it possible to write a join bolt that joins tuples from two different bolts, and automatically exposes the correct output fields ?
For example:
A--(x)-->Join--(x,y)
B--(y)----^
Given bolt A that declares ("x") as an output field, and bolt B that declares ("y") as an output field, how would I code a reusable Join bolt that auto-magically returns ("x","y") as the output field.
thanks,
Itai
----------------------------------------------------------------------
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.